CloudGuild · Blog · Cheat sheets · Lessons · Certifications

Elastic Load Balancing — Traffic Distribution Options: When to Use What (and How the Exam Tests It)

Explore Elastic Load Balancing options. Learn when to choose Application, Network, or Gateway Load Balancers and how the exam tests your knowledge.

Elastic Load Balancing (ELB) is essential for distributing incoming traffic across multiple targets. This includes EC2 instances, containers, and IP addresses. The three types of ELB—Application Load Balancer (ALB), Network Load Balancer (NLB), and Gateway Load Balancer (GWLB)—each serve distinct purposes. Making the right choice can significantly impact your application’s performance and reliability.

When to Choose What

Application Load Balancer (ALB)

Network Load Balancer (NLB)

Gateway Load Balancer (GWLB)

Comparison Table

Load Balancer Type Protocol Use Cases Key Features
ALB HTTP/HTTPS Web applications Path-based routing, SSL termination
NLB TCP Latency-sensitive applications Static IP, millions of requests/sec
GWLB Transparent Security and monitoring with appliances VPC integration, scalable architecture

Key Architectural Decisions

When selecting a load balancer, consider the following:

Gotchas & Exam Traps

Understanding the differences is critical. Here are common pitfalls:

How the Exam Tests This

The exam will often present scenarios requiring you to choose the appropriate load balancer based on traffic type and application needs. Here are some patterns to watch for:

The Rule to Remember

Choose ALB for web applications needing Layer 7 features, NLB for latency-sensitive Layer 4 applications, and GWLB for integrating virtual appliances.

For more practice, Take the free SAA-C03 mock exam.

Take a free mock exam →