Comparison lab
Amazon CloudFront vs AWS Global Accelerator
CloudFront brings content closer; Global Accelerator brings connections onto the AWS network sooner.
Picture the difference
HTTP viewer → CloudFront edge cache → origin; TCP or UDP client → Global Accelerator static IPs → healthy Regional endpoint
| Option | What it does | Exam clue | When not to use it |
|---|---|---|---|
| Amazon CloudFront | Content delivery network that serves HTTP and HTTPS traffic through a global edge network. | CDN, edge locations, cache, distribution, origin | Choose a network accelerator for static global IPs and TCP or UDP routing when edge content caching is not the requirement. |
| AWS Global Accelerator | Network service that improves availability and performance for TCP and UDP traffic using the AWS global network. | anycast IPs, TCP, UDP, global network, endpoint health | If the requirement is to cache web assets near viewers, select a CDN rather than an accelerator that forwards traffic. |
Decision tree
- Deliver HTTP or HTTPS content and cache eligible responses at edge locations Amazon CloudFront
- Expose static anycast IPs and route TCP or UDP to healthy supported endpoints AWS Global Accelerator
If none of these clues fit, check the exact requirement before choosing.