Service comparisons / Amazon CloudFront vs AWS Global Accelerator

CloudFront vs Global Accelerator

Amazon CloudFront caches HTTP content at edge locations; AWS Global Accelerator gives two static anycast IPs and routes TCP and UDP traffic over the AWS network to the healthiest Regional endpoint. When to use each.

Last checked against AWS documentation · How we write our content

QuestionAmazon CloudFrontAWS Global Accelerator
Use it whenWeb content and APIs over HTTP(S) should be served and cached close to usersNon-HTTP traffic, static IPs, or fast multi-Region failover is needed
CachingYes, at hundreds of edge locationsNo caching; every request reaches your endpoint
ProtocolsHTTP, HTTPS and WebSocketsAny TCP or UDP
IP addressesChanging edge IPs behind a DNS nameTwo static anycast IP addresses
FailoverOrigin failover to a secondary originHealth-checked routing across Regions, usually within seconds
ExtrasAWS WAF, signed URLs and cookies, CloudFront Functions and Lambda@EdgeClient affinity, traffic dials and weights per endpoint

Both use the AWS edge network to speed up global users, so they’re easy to confuse. CloudFront is a content delivery network that caches content. Global Accelerator is a network-layer service that gets traffic onto the AWS backbone sooner and keeps the IP addresses fixed.

How to choose

Exam traps