Interview Prep/Networking/VPC & Network Architecture

How do you design connectivity for 50+ VPCs across accounts and regions?

AdvancedProductionVPC & Network Architecture
Answer

Use Transit Gateway per region with route tables per environment (prod, nonprod, shared services, inspection), peer TGWs across regions, and share through AWS RAM. Use centralized egress and inspection VPCs with appliance mode, and AWS IPAM for non-overlapping CIDRs.

flowchart TD
  P[Prod VPCs] --> TGW[Transit Gateway]
  N[Nonprod VPCs] --> TGW
  S[Shared services] --> TGW
  TGW --> INS[Inspection VPC firewall]
  TGW --> ONP[On-prem via DX and VPN]

Segmentation lives in TGW route tables: nonprod must have no route to prod.

All Networking questions Roadmap: Networking for DevOps

More on VPC & Network Architecture