AWS Elastic Load Balancing Operations: Difference between revisions
Line 41: | Line 41: | ||
==Security Settings== | ==Security Settings== | ||
<font color=darkgray>Return here.</font> | <font color=darkgray>Refers to TLS configuration, which should be mandatory for public facing load balancers. Return here.</font> | ||
==Configure Routing== | ==Configure Routing== |
Revision as of 21:38, 11 February 2019
External
Internal
Create a Network Load Balancer
This network load balancer was created to service ECS FARGATE containers. It must be created before the corresponding FARGATE service is defined.
Go to Amazon EC2 console -> Load Balancers -> Create Load Balancer -> Network Load Balancer.
Basic Configuration
Name. For more details about load balancer names, see:
It should not start with "internal-...".
Example: "playground-nlb"
Scheme. For more details about load balancer scheme, see:
I have used "internet-facing", because this is what I was able to make work. Return here and experiment with "internal", so the service endpoints exposed through load balancer are not publicly available, but only through an API Gateway that will be subsequently configured..
Listeners
For more details about listeners, see:
Use TCP over port 80.
Availability Zones
For more details see:
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
Refers to TLS configuration, which should be mandatory for public facing load balancers. 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?