Transit Gateway

AWS Transit Gateway is a core AWS networking service that connects multiple VPCs and on-premises networks through a central hub.

It supports both inbound and outbound traffic between connected networks..

alt text

1. Common Use Case

  1. You need a scalable, fully managed solution to connect many VPCs and on-premises networks.
  2. Your architecture requires transitive routing between VPCs and hybrid environments.
  3. Simplicity and centralized control without the overhead of managing third-party appliances are desired.

Example: Centralized hub for an organization with multiple VPCs across different accounts and regions.

2. Transit Gateway vs Transit VPC

  1. Transit Gateway:
    • AWS-managed, highly scalable, and simplifies connecting multiple VPCs and on-premises networks.
    • Preferred for modern cloud architectures due to lower operational overhead.
  2. Transit VPC:
    • Uses a VPC with VPN connections or routers to connect multiple VPCs and remote networks.
    • Provides a global network hub but requires more maintenance and is more complex to manage.

3. Advantages of AWS Transit Gateway over Transit VPC

  1. Simplified Management: Eliminates the complexity of managing VPN connections for hundreds of VPCs.
  2. No EC2 Dependency: Removes the need for EC2-based VPN appliances, as AWS manages the routing infrastructure.
  3. High Availability: Provides built-in Multi-AZ redundancy and high availability without user intervention.
  4. High Performance: Offers inter-VPC communication with burst speeds of up to 50 Gbps per Availability Zone.
  5. Cost-Efficient Pricing: Streamlines costs with a straightforward per hour and per GB transferred pricing model.
  6. Reduced Latency: Avoids EC2 proxies and VPN encapsulation, reducing overhead and latency.

4. List of Gateways in AWS

  1. Internet Gateway (IGW)
  2. NAT Gateway (NGW)
  3. VPC Endpoint Gateway
  4. Transit Gateway
  5. Customer Gateway
  6. Virtual Private Gateway (VGW)
  7. AWS Storage Gateway
  8. Amazon API Gateway
  9. Direct Connect Gateway