What happens when a load balancer node or AZ fails?
AdvancedConceptLoad Balancers, Proxies & CDNs
Answer
Cloud LBs run multiple nodes, one or more per enabled AZ, each with a DNS entry. Failed nodes are removed from DNS (short TTL, 60s for ALB). Cross-zone load balancing spreads traffic evenly to all registered targets across AZs; without it, each node only uses targets in its own AZ.
Consequences: keep capacity balanced across AZs, avoid enabling only one subnet, and know that ALB cross-zone is always on while NLB's is off by default and incurs inter-AZ charges.
More on Load Balancers, Proxies & CDNs
What is a load balancer and why do we use one?BeginnerWhat is the difference between L4 and L7 load balancing?IntermediateCompare ALB, NLB, GWLB and Classic Load Balancer in AWS.IntermediateWhat load-balancing algorithms are common?BeginnerWhat are health checks and how should they be designed?AdvancedWhat is connection draining (deregistration delay)?Intermediate