Elastic load balancing supports the following types of load balancers.
Aws elastic container service load balancer.
The task definition for the service the container name and container port that were specified when the service was created must.
With enhanced container support for elastic load balancing you can now load balance across multiple ports on the same amazon ec2 instance.
You can now use a network load balancer nlb to distribute udp traffic to container based applications running on aws fargate orchestrated by amazon elastic container service ecs.
Amazon ecs services can use either type of load balancer.
You can also take advantage of deep integration with the amazon ec2 container service ecs which provides a fully managed container offering.
For services using the code deploy deployment controller you are required to define two target groups for the load balancer.
For more information see registering multiple target groups with a service in the amazon elastic container service developer guide.
Elastic load balancing supports three types of load balancers.
When the load balancer sends an http get request to the health check path the application in your ecs container should return the default 200 ok response code.
Amazon elastic container service amazon ecs can select an unused port when scheduling a task and register the task with a target group using this port.
Application load balancers are used to route http https or layer 7 traffic.
Your load balancer should be configured to use all of the availability zones in a region or at least all of the availability zones in which your container instances reside.
Confirm that the application in your ecs container returns the correct response code.
Network load balancers are fully managed load balancers that operate at the connection level layer 4 and are capable of handling millions of requests at ultra low latency.
Associated with an elastic network interface not an amazon ec2.
Load balancing grpc services in the elastic container service with traefik feb 4 2019 despite the popularity of kubernetes aws s elastic container service ecs offering is fantastic for many containerised workloads and avoids a lot of the complexity that comes from using and operating a full blown container orchestration platform.
Your amazon ecs service can optionally be configured to use elastic load balancing to distribute traffic evenly across the tasks in your service.
Elastic load balancing load balancer not configured for all availability zones.
If you are deploying docker containers and using a load balancer to send network traffic to them ec2 container service provides a tight integration with alb and nlb so you can keep your load.
If you use an application load balancer you can update the matcher setting to a response code other than 200.
Application load balancers network load balancers and classic load balancers.