ALB vs NLB vs AWS Global Accelerator
10-Second Exam Rule:
HTTP path/host routing + WAF = ALB. Regional Layer 4 TCP/UDP + static EIP per AZ = NLB. Global static Anycast IPs + instant multi-Region failover immune to DNS caching = Global Accelerator.
Side-by-Side Decision Matrix
| Feature | ALB (L7) / NLB (L4) | AWS Global Accelerator |
|---|---|---|
| Scope | Single AWS Region | Global (routes to endpoints in multiple Regions) |
| Static IPs | ALB: No (dynamic) · NLB: 1 EIP per AZ | 2 global static Anycast IPv4 addresses |
| Failover Speed | AZ-level health checks within 1 Region | Instant edge failover (no DNS TTL delay) |
| AWS WAF Integration | ALB: Yes · NLB: No | Attach WAF on downstream ALB endpoints |
Pick ALB vs NLB when…
- ALB: Layer 7 HTTP/HTTPS routing by URL path, host header, query string, or native Cognito/OIDC auth + AWS WAF.
- NLB: Ultra-low latency TCP/UDP/TLS, millions of requests/sec, static Elastic IP per AZ, preserves client source IP.
Pick AWS Global Accelerator when…
- Clients must whitelist exactly 2 global static IPv4 addresses across multiple AWS Regions.
- Fast sub-minute multi-Region failover without DNS TTL caching delays.
- Non-HTTP gaming, VoIP, or IoT traffic needing AWS global backbone acceleration.
Primary exam distractor trap
NLBs are strictly Regional—they CANNOT load-balance across two AWS Regions. And Route 53 latency routing suffers from client DNS TTL caching, whereas Global Accelerator fails over at the Anycast edge.
Test if you can spot the rule under pressure
Enterprise partners must whitelist 2 fixed IPv4 addresses to reach active-passive ALBs in us-east-1 and eu-west-1 with instant failover that ignores DNS TTL caching. What sits in front?
Practice this exact scenario inside the Pass Workspace
Drill full 4-option CBT scenarios with inline blueprint citations, Distractor X-Ray, and FSRS auto-review.