How do you centralize internet egress?
AdvancedProductionVPC and Network Design
Answer
Spoke VPCs have no NAT or IGW; their default route points to the Transit Gateway, which sends it to an egress VPC containing NAT gateways (optionally behind AWS Network Firewall for domain allow-listing). Benefits: fewer NAT gateways, one place to enforce egress policy and log it. Costs: TGW data processing per GB on top of NAT, and the egress VPC becomes critical infrastructure that needs multi-AZ design. Run the numbers; for small estates distributed NAT is cheaper.
More on VPC and Network Design
Walk through a production VPC layout for a multi-tier app.BeginnerHow do you size VPC CIDRs to avoid painting yourself into a corner?IntermediateOne NAT gateway or one per AZ?BeginnerWhat are the biggest levers to reduce NAT gateway cost?IntermediateWhich VPC endpoints do you create by default in a private EKS or ECS VPC?IntermediateHow do you lock down what can go through a VPC endpoint?Advanced