Networking & Content Delivery
    Networking & Content Delivery

    AWS Transit Gateway

    Cloud router connecting VPCs and on-premises networks through a central hub

    Imagine you live in a city with 50 neighborhoods, and each one has its own little road system. If you want to visit a friend across town, you could build a direct road from your neighborhood to theirs. But now think about it: if every neighborhood needs to connect to every other neighborhood, you'd need 50 ร— 49 รท 2 = 1,225 roads. That's unmanageable. So instead, the city builds one massive hub, a train station right in the center. Every neighborhood builds just one connection to that hub. Now, to get anywhere, you just go to the hub and transfer. You've gone from 1,225 connections to 50. That's Transit Gateway. In AWS, each VPC is like a neighborhood. Without Transit Gateway, you'd need VPC peering connections between every pair; a full mesh that gets unwieldy fast. Transit Gateway is your central hub that connects VPCs, on-premises networks via Direct Connect or VPN, and even other Transit Gateways in different regions.

    Official AWS Documentation