What Is a Global Load Balancer? Distributing Traffic Across Regions
A global load balancer is the layer that decides where to send user traffic among service endpoints in multiple cloud regions or locations. Not every product directly relays the connection between user and server, however. Some choose a destination by returning a DNS answer, while others accept the connection at a global edge and proxy it to a healthy regional backend. First decide which traffic to distribute and what failover must accomplish.
What does a global load balancer distribute?
A regional load balancer typically distributes requests among virtual machines, containers, or service instances within one region. A global load balancer operates one level above that: it selects among application deployments, or “stamps,” hosted in different regions. Even if each region has many servers, choosing the region is a different problem from balancing requests among individual servers.
“Global” does not mean that application data and state are replicated. A global entry point can direct a connection to a selected region or influence DNS answers, but it does not replicate databases, session state, files, authentication keys, configuration, or images. If those dependencies are not ready, routing traffic to another region may not restore the application. Global load balancing is one part of multi-region recovery, not a disaster recovery plan by itself.
How do the traffic-selection models differ?
The two common patterns are DNS-based selection and an edge proxy. Both can distribute traffic across regions, but DNS tells the client which destination to use next, while a proxy accepts the client connection at a global entry point.
| Aspect | DNS-based global selection | Global edge proxy |
|---|---|---|
| What the user receives | DNS returns the name or address of a selected regional endpoint | The connection goes to a global anycast address or edge location |
| Connection after selection | The client connects directly to the selected region | The edge service opens a separate connection to a regional backend and relays traffic |
| Main controls | DNS response policy, health checks, and answer TTL | Proxy connections, backend health, routing rules, and traffic shares |
| Strengths | Can work with many protocols and connect clients directly to endpoints | Can provide a fixed entry point and combine Layer 7 routing, TLS handling, or caching |
| Caveats | Cached DNS answers and clients that ignore TTL can delay failover | The proxy remains in the path; origin access, TLS, and origin connections need management |
Azure Traffic Manager is an example of DNS-based routing. It returns a DNS answer that points to an appropriate endpoint; it does not relay the user request itself. The client resolves the answer and connects directly to that origin. If a DNS cache retains an old answer, some clients can keep using the previous destination after an endpoint failure is detected. TTL affects how quickly answers change, but not all clients honor it.
With an edge proxy, the global service first accepts the connection and then forwards it to a regional backend. For example, Google Cloud’s global external Application Load Balancer provides a global external IP and frontend and can serve HTTP(S) traffic using backends in multiple regions. AWS Global Accelerator advertises fixed anycast IP addresses at global edge locations and sends traffic to regional endpoints over the AWS global network. Azure Front Door terminates client TCP/TLS connections at nearby points of presence and creates separate connections to origins. Check each product’s current documentation for supported protocols, origin types, IP preservation, and regional scope.
Why are health checks not enough to guarantee failover?
Global services commonly use health checks or backend signals to decide where to send new connections. A check should represent the application’s ability to handle real user requests. A simple response from a web process’s port can miss a failed database, required external API, or authentication layer. Conversely, an overly complex single check can mark a healthy region as failed because of a transient dependency delay.
Check which component owns the health check and how it applies to each endpoint type. For AWS Global Accelerator, the check options configured in Global Accelerator apply to EC2 instance or Elastic IP endpoints, but Application Load Balancer and Network Load Balancer endpoints use Elastic Load Balancing health-check settings. Also, do not assume that a standard Accelerator blocks all traffic when no endpoint is healthy. Read the service-specific fallback behavior and minimum healthy endpoint requirements, then verify the expected route during failure.
Failover often changes the destination for new connections first. Existing long-lived connections can remain on the old backend until the service closes them or they become idle. DNS failover cannot immediately move every client while cached answers remain in use. Therefore, do not treat the time a health check fails, the time new connections begin using another region, and the time all clients use the new region as the same event.
How do you choose an approach?
Start with the protocols you need to route. For a browser-facing HTTP(S) application that needs URL path or hostname routing, TLS termination, a web application firewall (WAF), or caching, a global Layer 7 proxy may fit. For arbitrary TCP/UDP protocols or clients that must connect directly to endpoints, consider DNS routing or a global Layer 4 service. A product’s “global” mode does not necessarily support every region, protocol, backend type, or private network path.
Compare these criteria as well:
**Recovery objective:** Decide whether you need automatic failover for a region outage or traffic-share changes for maintenance and rollout. Automatic failover only helps when health checks, data readiness, capacity, and new-connection handling are prepared.
**Performance and user location:** A nearby region can reduce latency, but the geographically closest region is not always the fastest or least loaded. Consider actual route latency, backend capacity, and data-location requirements.
**Connections and state:** Check how sticky sessions, long TCP connections, client IP logging, and the TLS termination point affect the application. With a proxy, you might also need to prevent users from reaching the origin through a path that bypasses it.
**Cost and operations:** Include the global service charge, inter-region data transfer, replication, logs and health checks, certificates, and origin firewall operations. Review limits based on service count, backend type, and network layer.
Example: Asia as primary, Europe as secondary
The following is a hypothetical example for explaining the flow. Suppose an online service runs in Asia and Europe, uses Asia as its primary region, and has application capacity and replicated data ready in Europe for an outage.
With DNS-based failover, DNS can return the Asia endpoint while health checks and routing policy consider it healthy. If Asia is marked unhealthy, DNS can return the Europe endpoint, but some users may continue using a cached DNS answer. Check not only the DNS TTL but also how clients re-query, the addresses and certificates in both regions, and replication lag.
With an edge proxy, users connect to the global entry point, and the service routes new connections to Asia or Europe according to health and routing policy. Confirm that Europe can handle the load from all of Asia, that sessions can move between regions, and that replicated data supports the required reads and writes. Detecting an outage at the edge does not recover an application if the secondary region lacks data or spare capacity.
Before launch, verify the normal route to each region. In a planned exercise, make one region unhealthy and observe how new connections fail over and what happens to existing connections. After the switch, check error rate, latency, throughput, and data consistency, and document the conditions and order for returning. Checking only the DNS or global proxy configuration does not prove that the application can recover.
A global load balancer is the entry and routing layer that distributes user requests among regions. First distinguish whether DNS tells clients where to connect or a global proxy relays the connection. Then design health checks together with DNS caching and connection behavior, data readiness, secondary capacity, security, and operating cost. Validate the final choice against protocol requirements, acceptable failover time, application state, and actual service constraints.