AWS: Elastic Load Balancing
"Alone we can do so little; together we can do so much." – Helen Keller
A load balancer takes incoming traffic from clients and routes requests to one or more Availability Zones' registered targets (such as EC2 instances). The load balancer also keeps track of the health of its registered targets, ensuring that only healthy targets receive traffic. When the load balancer detects an unhealthy target, traffic is diverted away from it. When it determines that the target is healthy again, it resumes directing traffic to it.
One or more listeners are used to setup your load balancer to receive incoming traffic. A connection request listener is a process that monitors for connection requests. For connections from clients to the load balancer, it is configured with a protocol and port number. For connections from the load balancer to the targets, it is also configured with a protocol and port number.
You can use any of the following interfaces to create, access, and administer your load balancers:
The following load balancers are supported by Elastic Load Balancing:
The configuration of the load balancer types differs significantly. You register targets in target groups and route traffic to them using Application Load Balancers, Network Load Balancers, and Gateway Load Balancers. You register instances with the load balancer with Classic Load Balancers.
Recommended by LinkedIn
Routing algorithm
The load balancer node that receives the request while using Application Load Balancers goes through the following steps:
The load balancer node that receives the connection uses the following process when using Network Load Balancers:
When using Classic Load Balancers, the load balancer node that receives the request chooses a registered instance in the following manner: