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
| Layer | Responsibility |
|---|---|
| ๐ Route 53 | DNS resolution only |
| ⚡ Global Accelerator | Latency routing & failover |
| ๐ฏ ALB | Application load balancing |
Using Route 53 latency routing together with Global Accelerator duplicates routing logic and is not recommended.
9. Traffic Flow Explanation
๐ค User resolves
api.domain.com๐ Route 53 returns the Global Accelerator IP address
๐งญ User connects to the nearest AWS Edge location
⚡ Global Accelerator selects the closest healthy region
๐ฏ Traffic is forwarded to the regional ALB
๐งฉ 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
Post a Comment