AWS Global Accelerator, Under the Hood

AWS Global Accelerator, Under the Hood

An expert-level walkthrough of how Global Accelerator actually routes traffic onto the AWS backbone at the nearest edge location — for engineers who already understand Anycast, TCP/UDP load balancing, and multi-region failover, and want to know precisely why this service outperforms the public internet path and where it fits against Route 53 and CloudFront.

AWS Global Accelerator is easy to mischaracterize as “another load balancer” or “a CDN for non-HTTP traffic,” and both descriptions miss what actually makes it distinct: it is a service built around two static Anycast IP addresses that route incoming traffic onto the AWS global backbone network at the nearest edge location, rather than letting that traffic traverse the unpredictable public internet all the way to a region. This guide skips the “point traffic at an accelerator” surface-level tour and goes straight into the advanced mechanics: how Anycast routing and the AWS backbone actually reduce latency and jitter, how traffic dials and endpoint weights give fine-grained control over multi-region traffic shifting, how health-check-driven failover actually behaves under the hood, and where teams misunderstand the service’s relationship to Route 53 and CloudFront badly enough to duplicate functionality or leave performance on the table.

1Internal Working: Anycast IPs and the AWS Global Backbone

Global Accelerator’s entire value proposition rests on one architectural decision: getting client traffic onto AWS’s own private global network as early in its journey as possible, rather than letting it ride the unpredictable public internet all the way to a region.

When you create an accelerator, AWS assigns it two static Anycast IP addresses — the same two IP addresses are announced simultaneously from many AWS edge locations around the world, and standard internet BGP routing automatically directs a given client’s traffic to whichever announcing edge location is topologically nearest to that client. This is fundamentally different from DNS-based geographic routing (as used by many CDN and traffic-management approaches): there is no DNS resolution step selecting a region-specific IP, because the same two IP addresses are valid, and optimally routed, from anywhere in the world.

Analogy

Think of the AWS backbone as a private, dedicated highway system running underneath the congested public roads (the internet) connecting cities worldwide. Anycast IPs are like a single well-known address that, no matter which city you start driving from, always guides you to the nearest on-ramp for that private highway — from there, your entire journey to the destination city happens on AWS’s own well-maintained road, not the public streets.

Once traffic enters an edge location via Anycast, it travels the rest of its journey to the actual application endpoint — an Application Load Balancer, Network Load Balancer, EC2 instance, or Elastic IP — over the AWS global backbone network, the same low-latency, high-throughput private network AWS uses for inter-region and inter-AZ traffic internally. This is the concrete mechanism behind Global Accelerator’s latency and consistency improvements: less of the total network path is subject to public internet congestion, peering disputes, and unpredictable routing changes, and more of it runs over AWS-controlled infrastructure.

!
Advanced Gotcha

Because the entire benefit depends on getting onto the AWS backbone as early as possible, the performance improvement Global Accelerator delivers is proportional to how much of the total network path was previously traversing congested or distant public internet segments — clients already very close to the target region, or already well-peered with AWS, see a smaller relative improvement than clients on the opposite side of the world from a single-region deployment.

2Data Flow: From Client Request to Endpoint Delivery

A single client connection to a Global Accelerator involves a precise sequence of routing decisions — nearest-edge selection, listener matching, endpoint-group traffic-dial weighting, and individual endpoint weighting — each of which is a distinct, independently configurable control point.

flowchart TD
    A["Client initiates connection to Anycast IP"] --> B["BGP routes to nearest AWS edge location"]
    B --> C["Listener matches on protocol and port"]
    C --> D["Traffic Dial selects among Endpoint Groups by Region"]
    D --> E{"Endpoint Group Health"}
    E -- Healthy --> F["Endpoint weight selects specific endpoint within group"]
    E -- Unhealthy --> G["Traffic automatically routed to next healthy Endpoint Group"]
    F --> H["Traffic travels AWS backbone to endpoint's region"]
    G --> H
    H --> I["Delivered to ALB / NLB / EC2 / Elastic IP endpoint"]
    
Fig. 1 — The full routing decision chain from client Anycast connection to final endpoint delivery

A listener defines the protocol (TCP or UDP) and port range the accelerator accepts traffic on. Beneath each listener sit one or more endpoint groups, each tied to a specific AWS Region, and a traffic dial per endpoint group controls what percentage of eligible traffic that region receives — a value that can be set anywhere from 0 to 100 percent, making it the primary lever for gradual multi-region traffic shifting. Within a healthy endpoint group, individual endpoint weights further distribute traffic among the specific resources (multiple ALBs, for example) registered in that group.

Health checking operates continuously at the endpoint level, and when an endpoint or an entire endpoint group becomes unhealthy, Global Accelerator automatically reroutes traffic to the next-healthiest available endpoint group — a failover mechanism that operates at the network layer, redirecting traffic to a healthy region typically within seconds, without requiring a DNS change or DNS TTL expiration to propagate the way a Route 53-based failover approach would.

Layer

Listener

Defines accepted protocol and port range at the accelerator level.

Layer

Endpoint Group

Region-scoped grouping of endpoints, controlled by a traffic dial percentage.

Layer

Endpoint

Individual ALB, NLB, EC2 instance, or Elastic IP with its own weight within a group.

Layer

Health Check

Continuous monitoring driving automatic, DNS-independent failover between endpoint groups.

3Traffic Dials, Endpoint Weights & Client Affinity

The combination of traffic dials, endpoint weights, and client affinity settings gives Global Accelerator a genuinely fine-grained traffic-shaping toolkit that goes well beyond simple nearest-region routing — and misunderstanding how they interact is a common source of unexpected traffic distribution in production.

Traffic dials operate at the endpoint-group (regional) level and are the mechanism for controlled rollouts and regional capacity management: setting a new region’s traffic dial to 10 percent, verifying healthy behavior, then progressively increasing it to 100 percent is the standard pattern for safely bringing a new region online without an abrupt full cutover. Endpoint weights, by contrast, operate within a single endpoint group to distribute traffic among individual resources in that region — useful for gradually shifting load between two ALBs in the same region during a blue/green deployment, independent of any cross-region traffic-dial decision happening simultaneously.

Client affinity controls whether a given client’s traffic is consistently routed to the same endpoint across multiple connections. The default, “none,” lets Global Accelerator’s flow-hash-based load balancing distribute even repeated connections from the same client IP across different endpoints for optimal load distribution. Setting affinity to “source IP” instead ensures all traffic from a given client IP is consistently routed to the same specific endpoint — essential for UDP-based stateful protocols (many gaming and real-time communication protocols) where a client’s session state lives on one specific backend instance and must not be split across multiple endpoints mid-session.

Production Example — Gradual Multi-Region Rollout

A financial services platform launching a new region incrementally sets that region’s endpoint-group traffic dial to a small initial percentage, monitors latency and error metrics under real production load for that slice of traffic, and only ramps the dial toward 100 percent once the new region has demonstrated stability — a controlled rollout pattern the traffic dial mechanism was specifically designed to support.

i
Advanced Tip

UDP-based multiplayer game servers and VoIP applications should almost always set client affinity to “source IP” — without it, a single client’s packets for one logical session could be flow-hashed to different backend instances, breaking session state that depends on a persistent connection to one specific server process.

4Advanced Configuration: Custom Routing and Endpoint Diversity

Beyond standard TCP/UDP accelerators, Global Accelerator’s custom routing accelerator type and its support for a genuinely diverse set of endpoint types open up architectural patterns that a simple “point at a load balancer” mental model doesn’t capture.

A custom routing accelerator maps incoming connections deterministically to specific private IP addresses and ports on EC2 instances within a VPC subnet, rather than distributing traffic across a load-balanced pool — a distinctly different model designed for use cases like large-scale multiplayer gaming backends, where a specific client needs to be deterministically routed to a specific game-session instance rather than load-balanced across an undifferentiated pool of servers.

Standard accelerators support multiple endpoint types simultaneously across regions — Application Load Balancers, Network Load Balancers, EC2 instances, and Elastic IP addresses — giving architects flexibility to accelerate genuinely heterogeneous multi-region deployments (an ALB-fronted web tier in one region, a directly-addressed EC2 fleet in another) under a single set of static Anycast IPs, without forcing every region onto an identical infrastructure pattern.

ADR-GA-04Anti-Pattern
Anti-Pattern

Using a standard (load-balanced) accelerator for a stateful, session-pinned multiplayer gaming backend that needs deterministic client-to-instance mapping.

Why It Fails

Standard accelerators are designed for load-balanced distribution across a pool, not deterministic one-to-one client-to-instance mapping, forcing awkward application-layer workarounds to maintain session affinity to a specific game-server process.

Better Approach

Use a custom routing accelerator specifically when a client genuinely needs to reach one deterministic, pre-assigned private IP and port, reserving standard accelerators for workloads that benefit from actual load distribution.

5High Availability & Reliability

Global Accelerator’s own infrastructure is highly available by design across its edge locations, and the failover speed it provides for the endpoints behind it is precisely the property that makes it a common choice for multi-region disaster-recovery architectures.

Because health-check-driven failover between endpoint groups operates at the network routing layer rather than through DNS record updates, failover away from an unhealthy region typically completes within seconds of a health check failing — dramatically faster than DNS-based failover approaches, which remain bound by client-side and resolver-side DNS caching and TTL expiration, regardless of how low the TTL is configured. This is the single most cited reason organizations choose Global Accelerator specifically for active-active or active-passive multi-region architectures over a purely Route 53-based failover approach.

The two static Anycast IP addresses themselves also provide a reliability benefit independent of failover speed: because client-facing IP addresses never change even as endpoint groups, regions, or traffic dials are reconfigured behind the scenes, firewall allowlists, mobile app hardcoded endpoints, and other systems that depend on a stable IP address are never disrupted by backend architectural changes.

Seconds
Typical failover time between endpoint groups, network-layer driven
2
Static Anycast IPs, unchanged regardless of backend reconfiguration
No DNS TTL
Failover is not gated by DNS caching or TTL expiration

6Performance & Scalability

Global Accelerator’s performance benefit is most pronounced for latency-sensitive, geographically distributed client bases, and its scaling characteristics inherit directly from the AWS backbone’s own capacity rather than from any accelerator-specific throughput ceiling.

The measurable performance improvement Global Accelerator provides — reduced latency, reduced jitter, and improved TCP/UDP throughput consistency — comes specifically from replacing an unpredictable multi-hop public internet path with a consistent, AWS-controlled backbone path for the majority of a connection’s geographic distance. This benefit scales with client-to-endpoint distance and the public internet’s congestion along that specific path; workloads with a globally distributed client base and centralized (or few-region) backend infrastructure see the largest improvements, since those are exactly the connections with the most public internet distance to potentially replace.

Because Global Accelerator sits in front of standard AWS compute and load-balancing resources rather than replacing them, the actual application-layer scalability of the backend (Auto Scaling group sizing, ALB/NLB capacity) remains entirely the responsibility of standard AWS scaling configuration — Global Accelerator improves how traffic reaches those resources, not how much traffic those resources themselves can absorb.

i
Advanced Tip

Before adopting Global Accelerator purely for a performance improvement, benchmark actual client-perceived latency from representative geographic locations with and without it — for a client base concentrated near the application’s existing region, the improvement may be marginal, while for a genuinely global client base fronting a single-region deployment, the improvement is typically substantial and easy to demonstrate.

7Security: Fixed IP Allowlisting and Built-In DDoS Protection

Global Accelerator’s security value comes from two distinct properties: the operational simplicity of static IP addresses for allowlisting, and automatic inclusion in AWS Shield Standard’s DDoS protection at the edge, before traffic ever reaches the application backend.

Because the accelerator’s two Anycast IP addresses never change, downstream firewall rules, partner allowlists, and corporate network egress policies that need to permit traffic to a specific known set of IP addresses only need to be configured once, regardless of how many regions, endpoint groups, or backend resources change behind the accelerator over time — a meaningful operational simplification for enterprise integrations that otherwise require re-negotiating allowlist entries with every infrastructure change.

All Global Accelerator traffic benefits automatically from AWS Shield Standard, providing baseline protection against common network and transport layer DDoS attacks at the edge location itself — absorbing and mitigating attack traffic before it ever reaches the backend region, rather than requiring the backend infrastructure to absorb and survive the attack itself. Organizations with more stringent DDoS protection requirements can layer AWS Shield Advanced on top for enhanced protection and dedicated support during active attacks.

Allowlisting Benefit

  • Two static IPs regardless of backend region or endpoint changes
  • No re-negotiation of partner or firewall allowlists as infrastructure evolves

DDoS Protection

  • AWS Shield Standard automatically applied at the edge
  • Attack traffic absorbed before reaching the backend region
  • AWS Shield Advanced available for elevated protection needs

8Monitoring, Logging & Metrics

CloudWatch metrics for Global Accelerator, combined with optional flow logs, give visibility into both the edge-routing behavior and the actual client-to-endpoint traffic pattern — two distinct layers advanced operators need to monitor independently.

CloudWatch metrics track processed bytes, new flow counts, and health status per endpoint group, giving a real-time view of traffic distribution across regions and immediate visibility into a failover event as it happens. Flow logs, when enabled, provide detailed per-connection records — source IP, destination endpoint, edge location used, bytes transferred — essential for understanding actual client geographic distribution and validating that traffic is indeed being routed to the nearest edge location as expected, rather than taking a suboptimal path due to an unusual client network configuration.

1

Health Status

CloudWatch endpoint-group health metrics provide immediate visibility into failover events as they occur.

2

Traffic Distribution

Processed-bytes and flow-count metrics per endpoint group validate that traffic dials are producing the intended regional split.

3

Flow-Level Detail

Flow logs reveal actual client-to-edge routing and per-connection detail for deeper investigation.

4

Correlate

Cross-reference accelerator-level metrics with backend ALB/NLB and Auto Scaling metrics to distinguish a routing issue from a backend capacity issue.

9Design Patterns & Anti-Patterns

The durable Global Accelerator architectures use it specifically for what it’s uniquely good at — fast, network-layer, non-DNS failover and consistent global performance — rather than as a default front door for every workload regardless of its actual traffic profile.

Pattern

Active-Active Multi-Region

Traffic dials split load across multiple healthy regions simultaneously, with automatic network-layer failover if any region degrades.

Pattern

Blue/Green Regional Cutover

A new region’s traffic dial is ramped gradually from 0 to 100 percent, validating stability at each increment before proceeding.

Anti-Pattern

Using It Purely as a CDN Substitute

Global Accelerator does not cache content the way CloudFront does — using it in place of a CDN for cacheable HTTP content misses CloudFront’s actual value proposition entirely.

Anti-Pattern

Ignoring Client Affinity for Stateful UDP

Leaving client affinity at its default for session-pinned, stateful UDP workloads risks splitting a client’s session traffic across multiple backend instances mid-session.

10Advantages, Disadvantages & Trade-offs

Global Accelerator trades an additional monthly cost and a genuinely different mental model (network-layer routing rather than DNS or content caching) for latency consistency and failover speed that neither Route 53 nor CloudFront can fully replicate on their own.

Advantages

  • Sub-second-to-seconds network-layer failover, independent of DNS TTL and caching behavior
  • Two permanently static Anycast IPs simplify firewall and partner allowlisting indefinitely
  • Measurable latency and jitter improvement for globally distributed clients via the AWS backbone
  • Native support for both TCP and UDP, unlike HTTP-focused CDN and DNS-based traffic tools

Disadvantages

  • No content caching — not a substitute for CloudFront on cacheable HTTP workloads
  • Additional recurring cost and data-transfer pricing on top of underlying compute and load-balancing costs
  • Performance benefit is smaller for clients already close to, or well-peered with, a single-region deployment
  • Requires genuinely understanding traffic dials, endpoint weights, and affinity settings to configure correctly for stateful workloads

11Best Practices & Common Mistakes

Nearly every advanced Global Accelerator misconfiguration traces back to confusing it with a CDN, forgetting to set client affinity for stateful UDP traffic, or skipping a gradual traffic-dial ramp during a regional rollout.

Ramp new regions in gradually via the traffic dial rather than an abrupt full cutover to 100 percent.
Set client affinity to source IP for any stateful UDP workload where session state lives on a specific backend instance.
Pair Global Accelerator with CloudFront, not in place of it, when a workload has both cacheable HTTP content and latency-sensitive dynamic or non-HTTP traffic.
Benchmark actual client-perceived latency before and after adoption to validate the performance case for your specific client geography.
Use flow logs to validate that traffic is actually routing to the nearest edge location as expected for key client geographies.
!
Most Common Mistake

Deploying Global Accelerator expecting CDN-style content caching behavior — it accelerates and routes traffic at the network layer but caches nothing, so cacheable content workloads still need CloudFront alongside it, not instead of it.

12Real-World & Industry Examples

Global Accelerator adoption consistently clusters around latency-sensitive, non-HTTP, or failover-critical workloads with a genuinely global client base — gaming, VoIP, and financial trading platforms chief among them.

Multiplayer Gaming Backends

Online gaming platforms use custom routing accelerators to deterministically route players to specific game-session server instances, combined with source-IP client affinity on standard accelerators for matchmaking and lobby services, minimizing latency for a genuinely globally distributed player base.

VoIP and Real-Time Communication

VoIP and video-conferencing platforms rely on Global Accelerator’s UDP support and backbone routing specifically to reduce jitter and packet loss for real-time media streams, where even modest latency variance is immediately perceptible to end users in a way it wouldn’t be for typical web traffic.

Financial Trading and Market Data Platforms

Trading platforms serving a globally distributed client base adopt Global Accelerator specifically for its network-layer failover speed and latency consistency, where even brief DNS-propagation-gated failover delays or inconsistent public-internet routing translate directly into measurable business impact.

“Global Accelerator’s real advantage isn’t making a slow application fast — it’s making the network path to that application as consistent and predictable as the AWS backbone itself, for clients anywhere in the world.”

13Frequently Asked Questions

Q1How is Global Accelerator different from Amazon CloudFront?
CloudFront is a content delivery network that caches content at edge locations to reduce latency for cacheable HTTP/HTTPS content; Global Accelerator routes traffic onto the AWS backbone at the network layer for both TCP and UDP, with no content caching involved — the two are frequently used together, each solving a different part of the performance problem.
Q2Can Global Accelerator route traffic to on-premises endpoints?
No — Global Accelerator’s endpoints must be AWS resources (ALB, NLB, EC2 instances, or Elastic IPs); it is not a general-purpose traffic manager for arbitrary non-AWS infrastructure.
Q3Do the Anycast IP addresses ever change?
No — the two static IP addresses assigned to an accelerator remain fixed for the lifetime of that accelerator regardless of how endpoint groups, regions, or traffic dials are reconfigured, which is precisely what makes them suitable for long-term firewall and partner allowlisting.
Q4How quickly does failover actually occur when a region becomes unhealthy?
Failover is driven by continuous health checks and typically completes within seconds of a health check detecting an unhealthy endpoint group, since rerouting happens at the network layer rather than depending on DNS record propagation or client-side DNS caching.
Q5What is the difference between a standard accelerator and a custom routing accelerator?
A standard accelerator load-balances traffic across a pool of endpoints using weights and health checks; a custom routing accelerator deterministically maps incoming connections to specific pre-assigned private IP addresses and ports on EC2 instances, suited to workloads needing precise, non-load-balanced client-to-instance routing.

14Summary and Key Takeaways

Key Takeaways

  • Global Accelerator’s core mechanism is Anycast IPs plus the AWS backbone — getting client traffic onto AWS-controlled network infrastructure as early as possible.
  • Traffic dials, endpoint weights, and client affinity are three distinct, composable controls — regional traffic splitting, intra-region distribution, and session pinning respectively.
  • Network-layer failover is dramatically faster than DNS-based failover, since it isn’t gated by DNS TTL or resolver caching behavior.
  • Static Anycast IPs never change, making them ideal for long-term firewall and partner allowlisting independent of backend architecture changes.
  • Custom routing accelerators solve a genuinely different problem than standard accelerators — deterministic client-to-instance mapping versus load-balanced distribution.
  • It is not a CDN and caches nothing — pair it with CloudFront rather than substituting it for cacheable HTTP content delivery.
  • The performance benefit scales with client-to-endpoint distance — genuinely global client bases fronting few-region deployments see the largest, most easily demonstrated improvement.