☁︎SAA-C03

Global Accelerator

Global Accelerator — Concept

What it is

AWS Global Accelerator = a network service that gives your app two static anycast IPs at the AWS edge and routes traffic to the optimal AWS region over the AWS global backbone — for any TCP or UDP traffic.

Why it exists

  • CloudFront is for HTTP/HTTPS caching at edge.
  • Route 53 latency policy depends on DNS TTL and resolver behavior → slow failover.

Global Accelerator solves: multi-region active-active or active-passive for non-HTTP workloads (gaming, VoIP, IoT, Multiplayer, financial apps) with fast failover and stable IPs.

How it works

  • Create an Accelerator → AWS assigns 2 static anycast IPv4 addresses (or bring your own IP, BYOIP).
  • Add Listeners for ports/protocols (TCP, UDP).
  • Add Endpoint Groups per region.
  • Add Endpoints in each group (ALB, NLB, EC2, EIP).
  • Users hit the nearest edge POP → traffic enters the AWS backbone → routed to the healthiest, closest endpoint.

Traffic controls

  • Traffic Dial per endpoint group (% weight, e.g. shift 0 → drain a region).
  • Endpoint Weight within a group.
  • Health checks per endpoint; unhealthy region pulled within seconds.
  • Client affinity = stick a client to one endpoint by source IP (source IP + port option also).

CloudFront vs Global Accelerator (exam favorite)

CloudFrontGlobal Accelerator
ProtocolHTTP / HTTPS onlyTCP / UDP (any)
CachingYesNo
IPsDNS-based2 static anycast IPs
UseWeb, static assetsGaming, real-time, non-HTTP, IP whitelist required
FailoverDNS-drivenSeconds via health checks
Integrates withS3, ALB, EC2ALB, NLB, EC2, EIP

When to use vs alternatives

NeedUse
Web app, static + dynamic, cachingCloudFront
TCP/UDP game / VoIP / IoT, multi-regionGlobal Accelerator
Static IP needed for partner whitelistingGlobal Accelerator
Fast failover between regions, < DNS TTLGlobal Accelerator
Pure DNS routingRoute 53 latency / failover

Common exam scenarios

  1. "Mobile game with UDP traffic, players worldwide, low latency" → Global Accelerator.
  2. "Two static IPs partners can whitelist, backed by ALBs in 3 regions" → Global Accelerator.
  3. "Active-passive multi-region failover in seconds for a TCP API" → Global Accelerator (Route 53 failover relies on DNS TTL).
  4. "Static site with caching for global users" → CloudFront (not Global Accelerator).
  5. "VoIP traffic with consistent latency" → Global Accelerator uses AWS backbone end-to-end.

Exam tip

HTTP only / caching → CloudFront. TCP/UDP, static IPs, fast failover, multi-region for non-web → Global Accelerator. They are not substitutes; sometimes you use both.

References