Direct Connect Gateway
What you'll learn: How to use Direct Connect Gateway to connect a single dedicated network link to multiple VPCs across different AWS regions.
The Connection Challenge
Imagine you have an on-premises data center with an AWS Direct Connect line, but you need to reach VPCs in multiple AWS regions (us-east-1, eu-west-1, etc.). Without a Direct Connect Gateway, you'd need a separate Direct Connect connection for each region—expensive and complex.
What is Direct Connect Gateway?
A Direct Connect Gateway is a globally available resource that acts as a central hub for your Direct Connect connection. It lets you connect your on-premises network to multiple VPCs across different AWS regions using just one Direct Connect connection.
Think of it like an airport hub: instead of flying direct from your city to each destination (multiple connections), you fly to a central hub once, then connect to many destinations from there.
How It Works
- You create a Direct Connect Gateway (a global AWS object)
- You associate multiple Virtual Private Gateways (VGWs) from different regions with this gateway
- Your single Direct Connect connection routes traffic to the gateway
- The gateway forwards traffic to the appropriate VPC based on destination IP ranges
Key Benefits
- Cost efficiency: One Direct Connect connection serves multiple regions
- Simplified management: Central routing configuration
- Cross-region reach: Access VPCs in any AWS region from one connection
- No overlapping CIDR blocks: VPCs must have unique IP ranges to avoid conflicts
Key Takeaway: Direct Connect Gateway extends a single Direct Connect connection to multiple VPCs across regions, eliminating the need for dedicated connections per region and dramatically simplifying hybrid network architecture.