Elastic Load Balancing

5 minutes 5 Questions

Elastic Load Balancing (ELB) is an AWS service that automatically distributes incoming application traffic across multiple Amazon EC2 instances to balance the workload. This helps ensure high availability and fault tolerance by distributing the traffic to healthy instances and routing it away from failed instances, improving overall performance. ELB provides health checks on instances and scales automatically based on incoming traffic. With integration of AWS Auto Scaling, desired count of instances can be maintained to handle the incoming traffic.

Guide on Elastic Load Balancing

Elastic Load Balancing (ELB) is a crucial AWS service that automatically distributes incoming application traffic across multiple Amazon EC2 instances.

Why it is important: ELB improves the distribution of workloads, thus ensuring that your application remains available to users even if one or several EC2 instances fail. ELB can handle fluctuating load patterns and scales up or down as traffic changes to ensure application responsiveness.

What it is: ELB is a load balancer service for AWS deployments. It is part of Amazon's compute service, EC2 (Elastic Compute Cloud).

How it works: ELB accepts incoming traffic from clients and distributes it to EC2 instances based on configurations like Round Robin, Least Connections, or IP Hash. It regularly checks the health of registered EC2 instances and does not route traffic to unhealthy instances.

Exam Tips: Answering Questions on Elastic Load Balancing
1. Understand the different types of load balancers offered by AWS (Classic, Network, and Application Load Balancer).
2. Be familiar with ELB metrics like Request Count, Surge Queue Length, or Latency.
3. Understand the concept of sticky sessions, health checks, and connection draining.
4. Remember that ELB itself is not a single point of failure as AWS guarantees ELB to be highly available within a region.
5. Know how to set up and configure an ELB as well as security aspects like SSL termination.
Test mode:

AWS Certified Solutions Architect - Elastic Load Balancing Example Questions

Test your knowledge of Elastic Load Balancing

Question 1

An e-commerce website is experiencing a sudden increase in traffic during a promotional event. The developers need to maintain high availability for the application while ensuring the system uses resources efficiently. Which Elastic Load Balancer configuration meets these requirements?

Question 2

An application running on EC2 instances behind an Application Load Balancer (ALB) now uses WebSocket (ws/wss) for real-time communication. WebSocket connections are disconnecting after a short period. What change should you make on the ALB to ensure stable WebSocket connections?

Question 3

A company has an application running on EC2 instances behind a Network Load Balancer (NLB). The instances need to be updated, but the company wants to avoid downtime. What is the recommended approach?

More Elastic Load Balancing questions
91 questions (total)