Transit Gateway vs VPC peering?
IntermediateConceptVPC and Networking
Answer
Transit Gateway is a regional hub-and-spoke router: attach VPCs, VPNs, Direct Connect gateways and peer TGWs in other Regions, with transitive routing and multiple route tables for segmentation. It charges per attachment-hour plus per GB processed.
Peering is cheaper and lower latency for a couple of VPCs. Past roughly 4–5 VPCs, or whenever on-prem connectivity or segmentation is needed, TGW is easier to operate.
More on VPC and Networking
What is a VPC and what are the CIDR constraints?BeginnerWhat makes a subnet public or private?BeginnerHow do route tables work, including the local route and longest-prefix match?IntermediateInternet Gateway vs NAT Gateway: what does each do?BeginnerNAT Gateway vs NAT instance?IntermediateSecurity group vs network ACL: compare them.Beginner