Interview Prep/AWS/VPC and Network Design

One NAT gateway or one per AZ?

BeginnerProductionVPC and Network Design
Answer

In production, one per AZ, with each private route table pointing at the NAT in its own AZ. A single NAT is a cross-AZ single point of failure: if its AZ fails, every AZ loses egress, and you also pay cross-AZ data transfer for traffic from other AZs. In dev and test, one NAT (or none, using endpoints and IPv6) is a reasonable cost cut. Each NAT gateway costs an hourly fee plus a per-GB processing fee, which is why the next questions matter.

aws All AWS questions Roadmap: AWS core services

More on VPC and Network Design