All guides
Practice now
D3 · High performance

High-performance networking: Global Accelerator and Route 53

For global applications, AWS offers services that reduce by routing traffic over its private backbone network. CloudFront, Global Accelerator and Route 53 are the most heavily tested services in the exam — especially in comparisons of when to use each one.

Icon-Architecture/48/Arch_Amazon-CloudFront_48

Amazon

CloudFront is a with over 400 Edge Locations and Regional Edge Caches worldwide. It caches content close to users, reducing latency and transfer cost from the origin.

Supported origins

  • •S3 Bucket (+ OAC for private access)
  • •ALB / EC2 (HTTP origin)
  • •API Gateway
  • •Any custom HTTP server

Key features

  • •Configurable TTL (default 24h)
  • •Cache invalidation (cost: $0.005/1000 paths)
  • •Geo restriction (whitelist/blacklist by country)
  • •CloudFront Functions and Lambda@Edge

OAC — Origin Access Control

Lets accept requests only from your CloudFront distribution (private bucket). Replaces the older OAI. The bucket doesn't need to be public. CloudFront signs requests to S3 with SigV4.

Lambda@Edge vs CloudFront Functions

CF Functions

Lightweight JavaScript. Viewer request/response. Sub-ms latency. Millions of req/s.

Lambda@Edge

Node.js / Python. Origin request/response. More powerful, higher latency.

Icon-Architecture/48/Arch_AWS-Global-Accelerator_48

AWS Global Accelerator

Global Accelerator uses AWS's private backbone network to route traffic globally. It provides 2 static global Anycast IPs. It is not a CDN — it does not cache content.

Key features

  • •2 static Anycast IPs (never change)
  • •Routing over the AWS backbone (avoids the public internet)
  • •Automatic health checks + failover in under 30 seconds
  • •Traffic weighting per endpoint (weighted routing)
  • •Supports TCP, UDP and non-HTTP protocols

Supported targets

ALB

NLB

EC2 instances

Elastic IPs

Unlike CloudFront, the targets are AWS resources (not S3 buckets or custom HTTP endpoints).

Icon-Architecture/48/Arch_Amazon-CloudFront_48

CloudFront vs Global Accelerator

AspectCloudFrontGlobal Accelerator
ProtocolHTTP/S onlyTCP, UDP (any protocol)
CachingYes — caches at Edge LocationsNo — transparent proxy
IPsVariable Anycast IPs (not static)2 static Anycast IPs
OSI layerL7 (Application)L4 (Transport)
WAFYes — native integrationNo (Shield only)
OriginsS3, ALB, custom HTTP, API GWALB, NLB, EC2, EIP

Choose CloudFront when:

  • →HTTP/S content to cache
  • →You need for L7 protection
  • →Origin is S3 or API Gateway
  • →Global websites / REST APIs

Choose Global Accelerator when:

  • →You need static IPs (client-side firewall)
  • →Non-HTTP protocol (UDP, TCP gaming/VoIP)
  • →Ultra-fast failover between regions
  • →Applications that can't be cached
Icon-Architecture/48/Arch_Amazon-Route-53_48

— routing policies

Simple

Responds with a single resource (or multiple IPs round-robin). No health checks.

When: A single resource, no failover. Default.

Weighted

Distributes traffic based on weights (e.g.: 80% to us-east-1, 20% to eu-west-1).

When: A/B testing, gradual migration, canary deployments.

Latency-based

Routes to the resource with the lowest latency from the user's location.

When: Multi-region applications where latency matters.

Failover

Primary receives traffic. If the primary fails its health check, traffic routes to Secondary.

When: Active/passive DR. Always paired with health checks.

Geolocation

Routes based on the user's geographic location (country/continent).

When: Regional legal restrictions, localized content.

Geoproximity

Routes based on geographic proximity, with a configurable bias.

When: Fine-tuning regional boundaries with more control than geolocation.

Multi-value

Returns up to 8 records with health checks. The client picks one.

When: Simple distribution with health checks. Not a real load balancer.

Diagram: CloudFront vs Global Accelerator

A detailed comparison and guide for choosing the right service.

Did you get this topic?

Test what you just learned

A company has a live video streaming application (RTMP/UDP protocol) with users around the world. They need to reduce latency and have 2 static IPs so users can configure their firewall. Which service is most appropriate?

Ready to test "High-performance networking: Global Accelerator and Route 53"?

Put what you learned to the test with original SAA-C03 exam questions.

Start SAA-C03 mock exam

Unlimited mock exams with the Pro plan

Log in to track your progress.