AWS Transit Gateway
Networking and Content Delivery · Common, learn when you need it
A central hub that connects all your networks so you stop wiring each pair together.
An airport hub. Instead of a direct flight between every pair of towns, everything routes through one airport.
What it actually does
You attach VPCs, VPN tunnels and Direct Connect links to one gateway, and it routes between them using route tables you control. It replaces the mess of peering connections that grows unmanageable past about five VPCs. Every packet passing through is charged, so it is a real line on the bill, not a free convenience.
Reach for it when
- More than a handful of VPCs that need to talk
- Sharing one VPN or Direct Connect across many VPCs
- You want route tables that separate environments, like prod and test
Do not reach for it when
- Two VPCs only, VPC peering is free and simpler
- Just calling a service in another VPC, use AWS PrivateLink
- Many regions and physical sites, look at AWS Cloud WAN
One small example
Twelve team VPCs and the office VPN all attach to one Transit Gateway, and only some route tables let teams reach the shared services VPC.
How you pay
An hourly fee per attachment plus a per GB charge on all traffic crossing it. Cross zone and cross region traffic is charged again on top, so a chatty app between two VPCs can cost more than the servers.
Usually sits next to
The real source
This is a simplified summary written for people learning AWS. The official AWS documentation is the authoritative word and it wins wherever this page disagrees with it.