AWS Transit Gateway (TRANSIT-GATEWAY)
Acts as a high-bandwidth Layer 3 cloud router that eliminates complex N*(N-1)/2 VPC peering meshes, centralizes shared egress/inspection, and supports inter-region peering.
AWS Container Placement
Regional / Global Managed Scope (Outside VPC Subnets)
Summary
Regional network transit hub interconnecting hundreds of Amazon VPCs, AWS accounts, and on-premises networks in a simplified hub-and-spoke architecture.
When to Use (SAA-C03)
Use when connecting 3+ VPCs, bridging Direct Connect/VPN to multiple VPCs, or centralizing egress/firewall inspection.
Allowed Ingress Connections & Ports
| Source Service | Protocol | Port | Architectural Rationale |
|---|---|---|---|
| VPC | IP / BGP | ALL | VPC attachment ENIs routing inter-VPC traffic |
| DIRECTCONNECT | BGP / IPsec | ALL | Direct Connect Gateway hybrid physical fiber links |
| VPN | IPsec | 500, 4500 UDP | AWS Site-to-Site VPN encrypted tunnels |
Allowed Egress Targets & Ports
| Target Service | Protocol | Port | Data Flow Rationale |
|---|---|---|---|
| VPC | IP | ALL | Route table propagation forwarding to target spoke VPC |
| NAT | HTTPS / TCP | ALL | Centralized egress hub NAT routing to public internet |
| NETWORK-FIREWALL | GENEVE / IP | ALL | Inspection VPC firewall filtering |
Key Configuration Parameters & AWS Best Practices
| Parameter | Format / Example | Purpose & Rationale |
|---|---|---|
| Amazon Side ASN (amazonSideAsn) (Required) | 64512 | Private Autonomous System Number (ASN) for the Transit Gateway BGP peering sessions. Why: Required for BGP route advertisement when peering with on-premises routers or Direct Connect Gateways. |
| Default Route Table Association (autoAcceptSharedAttachments) (Required) | enable | Controls whether attachment requests from shared accounts via AWS RAM are automatically accepted. Why: Enables zero-touch multi-account network provisioning across enterprise organizational units. |
| Appliance Mode Support | enable | Forces Transit Gateway to use the same Availability Zone for bidirectional traffic through stateful virtual appliances. Why: Prevents asymmetric routing drops when routing through third-party firewalls and IDS/IPS instances. |
| DNS Support (dnsSupport) | enable | Enables DNS resolution across VPC attachments for Amazon Route 53 Resolver. Why: Allows instances in one VPC to resolve private DNS names of endpoints hosted in another attached VPC. |
Practice Labs Using AWS Transit Gateway
Hybrid Cloud Failover: Direct Connect Route Priority & Dual-Tunnel IKEv2 VPN Redundancy
Configure dual-tunnel active/standby status on the Site-to-Site VPN (vpnTunnelCount: 2, vpnTunnel1Status: "UP"…
SAA-16Enterprise Multi-VPC Peering: Non-Transitive Routing & Route 53 Private Hosted Zone Fallacy
Establish a direct VPC Peering connection between VPC A and VPC C, update route tables with non-overlapping ro…
SAP-01Enterprise Multi-VPC Transit Hub: Asymmetric Return Blackhole
Add the missing return route in Spoke VPC B route table for 10.10.0.0/16 targeting the Transit Gateway.…
SAP-02Global Supply Chain: Non-Transitive Peering Fallacy
Establish a direct VPC Peering connection between VPC A and VPC C (or deploy an AWS Transit Gateway hub).…
SAP-03M&A Enterprise Merger: Overlapping CIDR Network Collision
Re-architect with distinct, non-overlapping VPC CIDR blocks (e.g., set Corp B VPC to 10.100.0.0/16).…
SAP-05Centralized Egress Inspection: TGW Default Route Blackhole
Add the default route 0.0.0.0/0 in the Transit Gateway route table pointing to the Central Egress VPC.…
Frequently Asked Questions
Where does AWS Transit Gateway live inside an AWS VPC architecture?
Valid container placement: Regional / Global Managed Scope (Outside VPC Subnets). Acts as a high-bandwidth Layer 3 cloud router that eliminates complex N*(N-1)/2 VPC peering meshes, centralizes shared egress/inspection, and supports inter-region peering.
When should I use AWS Transit Gateway on the AWS SAA-C03 exam?
Use when connecting 3+ VPCs, bridging Direct Connect/VPN to multiple VPCs, or centralizing egress/firewall inspection.
Can I simulate AWS Transit Gateway packet routing without an AWS account?
Yes. CloudTracer simulates AWS Transit Gateway along with 53 AWS services directly in your browser and exports production Terraform HCL.