AWS Global Accelerator (GA) & Route 53 Integration Documentation

1. Purpose of This Document

This document describes the end-to-end setup of AWS Global Accelerator (GA) integrated with multi-region Application Load Balancers (ALBs) and Amazon Route 53. It explains the architecture, configuration steps, routing behavior, traffic flow, and best practices from a Cloud Engineer perspective.


2. What is AWS Global Accelerator?

AWS Global Accelerator is a global networking service that improves application availability and performance by directing user traffic to the nearest healthy AWS Region using Anycast static IPs.

Key Characteristics

  • ๐ŸŒ Global service (not region-specific)

  • ๐Ÿ“Œ Provides two static Anycast IP addresses

  • ๐Ÿš€ Routes traffic at AWS Edge locations

  • ๐ŸŒ Supports multi-region endpoints (ALB, NLB, EC2, Elastic IP)

  • ๐Ÿ” Offers near-instant regional failover

โ„น️ Important: Global Accelerator is managed from US West (Oregon). This is only the control plane location and does not mean that application traffic flows through Oregon.


3. Architecture Overview

๐Ÿ‘ค User
→ ๐ŸŒ Route 53 (DNS)
→ ⚡ Global Accelerator (Anycast IP)
→ ๐Ÿงญ Nearest AWS Edge Location
→ ๐Ÿ“ Closest Healthy Region
→ ๐ŸŽฏ Regional ALB
→ ๐Ÿงฉ ECS Services


4. Why Use a Single Global Accelerator for Multiple Regions

✅ Recommended Design

  • One Global Accelerator per application

  • ๐Ÿ—‚ Multiple endpoint groups (one per AWS Region)

  • ๐ŸŽฏ Each endpoint group contains the regional ALB

⭐ Benefits

  • ⚡ Automatic latency-based routing

  • ๐Ÿ”„ Fast and seamless regional failover

  • ๐Ÿงฉ Simple and clean DNS configuration

  • ๐Ÿ’ฐ Lower operational overhead and cost

❌ What NOT to Do

  • ❌ Do not create multiple Global Accelerators for the same application

  • ❌ Do not use Route 53 latency routing with Global Accelerator


5. Global Accelerator Configuration Steps

Step 1: Create the Global Accelerator

  • ➕ Create a new Global Accelerator

  • ๐Ÿ”Œ Listener protocol: TCP

  • ๐Ÿ” Listener ports: 80 / 443 (based on ALB configuration)

  • ๐Ÿ’พ Save and note the GA DNS name and static IP addresses


Step 2: Create Endpoint Groups (One Per Region)

Example Regions:

  • ๐Ÿ‡ฎ๐Ÿ‡ณ ap-south-1 (Mumbai)

  • ๐Ÿ‡ธ๐Ÿ‡ฌ ap-southeast-1 (Singapore)

  • ๐Ÿ‡บ๐Ÿ‡ธ us-east-1 (Virginia)

For each endpoint group:

  • ๐ŸŽš Set traffic dial to 100%

  • ❤️ Use default health check settings


Step 3: Add ALBs to Endpoint Groups

For each region:

  • ๐ŸŽฏ Endpoint type: Application Load Balancer

  • ๐Ÿ“ Select the ALB from the same region

  • ⚖ Keep default weight unless traffic tuning is required


6. Security Group Considerations

  • ๐Ÿ”’ Global Accelerator itself does not have a Security Group

  • ๐ŸŒ Traffic reaches the ALB from AWS Edge locations

ALB Security Group Must Allow:

  • ๐Ÿ”“ Inbound HTTP/HTTPS traffic from either:

    • ๐ŸŒ 0.0.0.0/0 (simple but less restrictive)

    OR

    • ๐Ÿ“„ AWS-managed Global Accelerator prefix list (recommended for tighter security)


7. Route 53 Configuration (DNS Setup)

✅ Correct Route 53 Record Setup

  • ๐Ÿท Record name: api

  • ๐Ÿงพ Record type: A (IPv4)

  • ๐Ÿ”— Alias: Yes

  • Route traffic to: Alias to Global Accelerator

  • ๐Ÿ“› Target: Global Accelerator DNS name

  • ๐Ÿงญ Routing policy: Simple routing

  • Evaluate target health: Yes

  • ๐Ÿšซ Health check: Not required

โ„น️ Important Notes

  • Route 53 always shows US West (Oregon) for Global Accelerator

  • ✅ This is expected and correct behavior

  • ❌ Do not select Latency, Geo, or Weighted routing


8. Why Simple Routing is Mandatory with Global Accelerator

LayerResponsibility
๐ŸŒ Route 53DNS resolution only
⚡ Global AcceleratorLatency routing & failover
๐ŸŽฏ ALBApplication load balancing

Using Route 53 latency routing together with Global Accelerator duplicates routing logic and is not recommended.


9. Traffic Flow Explanation

  1. ๐Ÿ‘ค User resolves api.domain.com

  2. ๐ŸŒ Route 53 returns the Global Accelerator IP address

  3. ๐Ÿงญ User connects to the nearest AWS Edge location

  4. ⚡ Global Accelerator selects the closest healthy region

  5. ๐ŸŽฏ Traffic is forwarded to the regional ALB

  6. ๐Ÿงฉ ALB routes traffic to ECS service tasks


10. High Availability & Failover

  • ❤️ Endpoint health is continuously monitored

  • ๐Ÿšจ If a region becomes unhealthy:

    • ๐Ÿ”€ Traffic is instantly routed to the next healthy region

  • ⏱ No DNS TTL or propagation delay


11. AWS Global Accelerator – Traffic Capacity

⚡ Global Accelerator Capacity

  • ๐Ÿš€ Designed to handle millions of requests per second

  • ๐ŸŒ Built on the AWS global edge network using Anycast IPs

  • ๐Ÿ“ˆ Scales automatically with traffic spikes

๐ŸŽฏ Application Load Balancer (Per Region – Approximate Soft Limits)

  • ๐Ÿ” ~100,000+ requests per second

  • ๐Ÿ”— ~3,000 new connections per second

  • ๐Ÿ“ก ~100,000 active connections

โ„น️ Actual capacity depends on instance size, target type, and request patterns.


12. Conclusion

This architecture provides:

  • ๐ŸŒ Global performance optimization

  • ๐Ÿ›ก High availability and fast failover

  • ๐Ÿงฉ Simple and reliable DNS management

  • ๐Ÿ“ˆ Highly scalable multi-region design

End of Document

Comments

Popular posts from this blog

Staging Deployment & CI/CD Pipeline Documentation

End-To-End-Documentation