AWS Elastic Load Balancing Operations: Difference between revisions
Line 58: | Line 58: | ||
<font color=darkgray>If the load balancer is created before the ECS deployments, how do I select those?</font> | <font color=darkgray>If the load balancer is created before the ECS deployments, how do I select those?</font> | ||
==Network Load Balancers and ECS FARGATE Instances== | |||
=Test a Network Load Balancer= | =Test a Network Load Balancer= | ||
=Create an Application Load Balancer= | =Create an Application Load Balancer= |
Revision as of 20:24, 11 February 2019
External
Internal
Create a Network Load Balancer
Go to Amazon EC2 console -> Load Balancers -> Create Load Balancer -> Network Load Balancer.
Basic Configuration
Name: playground-internal-lb (it should not start with "internal-...").
Scheme: internal/internet-facing: internet-facing.
Listeners
The default istener uses TCP over port 80.
Availability Zones
Specify the VPC in which the targets exist.
Specify at least one, possible more availability zones and one subnet per availability zone.
For more details:
Security Settings
Return here.
Configure Routing
If this load balancer is created to service ECS FARGATE containers that have not been defined yet, that is fine, the target groups will be created during the ECS Service creation process.
Target Group
Target Group: New target group
Name: something
Target type: Instance
Protocol: TCP
Port: 10001
Health Checks
Return here.
Register Targets
Registered Targets
Instances
If the load balancer is created before the ECS deployments, how do I select those?