AWS Cloud Elastic Load Balancing
Elastic Load Balancing (ELB)
Elastic Load Balancing (ELB) distributes incoming traffic across multiple EC2 instances. It acts as a single point of contact, spreading requests evenly so no single instance gets overloaded.
ELB works seamlessly with EC2 Auto Scaling to enhance performance and ensure high availability. It scales automatically with traffic at no additional hourly cost.
Directing Traffic with Elastic Load Balancing Video
W3schools.com collaborates with Amazon Web Services to deliver digital training content to our learners.
ELB Features
Key Benefits
- Efficient distribution: Evenly spreads traffic, preventing overload on any single instance
- Automatic scaling: Adjusts to traffic changes automatically
- Simplified management: Handles maintenance, updates, and failover
Routing Methods (how we distribute traffic between instances)
- Round Robin: Distributes traffic evenly in a cyclic manner
- Least Connections: Routes to the server with fewest active connections
- IP Hash: Uses client IP to consistently route to the same server
- Least Response Time: Directs to the server with fastest response