Networking · AWS SERVICE CHEATSHEET

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.

Open Interactive TRANSIT-GATEWAY Sandbox → Simulate in Architecture Studio

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 ServiceProtocolPortArchitectural Rationale
VPCIP / BGPALLVPC attachment ENIs routing inter-VPC traffic
DIRECTCONNECTBGP / IPsecALLDirect Connect Gateway hybrid physical fiber links
VPNIPsec500, 4500 UDPAWS Site-to-Site VPN encrypted tunnels

Allowed Egress Targets & Ports

Target ServiceProtocolPortData Flow Rationale
VPCIPALLRoute table propagation forwarding to target spoke VPC
NATHTTPS / TCPALLCentralized egress hub NAT routing to public internet
NETWORK-FIREWALLGENEVE / IPALLInspection VPC firewall filtering

Key Configuration Parameters & AWS Best Practices

ParameterFormat / ExamplePurpose & Rationale
Amazon Side ASN (amazonSideAsn) (Required)64512Private 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)enableControls 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 SupportenableForces 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)enableEnables 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

SAA-15

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-16

Enterprise 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-01

Enterprise 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-02

Global 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-03

M&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-05

Centralized 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.

More Networking Cheatsheets

App Load Balancer → Network Load Balancer → Virtual Private Cloud → VPC Subnet → VPC Route Table → Internet Gateway →