Course contentsShow
← Cloud and Infrastructure
Lesson 280 of 2,9895. Load Balancing and Traffic ManagementFree lesson

Cross-Zone and Cross-Region Load Balancing

Distribute traffic across availability zones and regions to maximize availability and fault tolerance.

Cross-Zone and Cross-Region Load Balancing

What you'll learn: How to distribute traffic across multiple availability zones and regions to maximize availability and eliminate single points of failure.

The Core Idea

When you deploy applications in the cloud, placing all your resources in one location creates risk. Cross-zone and cross-region load balancing spread traffic across multiple physical locations, ensuring your application stays available even if an entire data center or geographic region experiences problems.

Think of it like a restaurant chain: if you only have one location and it closes for renovations, customers have nowhere to go. But with multiple locations (zones) across different cities (regions), customers can always find an open restaurant nearby.

Cross-Zone Load Balancing

Cross-zone distribution spreads traffic evenly across targets in all availability zones within a single region. Without this enabled, a load balancer only distributes traffic to targets in its own zone, which can create imbalances.

For ALBs, cross-zone is always enabled. For NLBs, you enable it manually to ensure even distribution regardless of where targets are registered.

Cross-Region Load Balancing

Cross-region strategies use DNS-based routing to direct users to the nearest or healthiest region. This protects against entire regional outages and reduces latency by serving users from geographically closer locations.

You typically implement this with global load balancing patterns, combining regional load balancers with DNS failover.

Why It Matters

  • Fault tolerance: Survive zone or region failures
  • Even distribution: Prevent hot spots and overloaded targets
  • Lower latency: Serve users from nearby regions
  • Higher availability: Multiple independent failure domains

Key Takeaway: Cross-zone load balancing ensures even traffic distribution within a region, while cross-region strategies protect against regional failures and optimize global user experience.