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.
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?IntermediateWhat 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?AdvancedHub-and-spoke with Transit Gateway: how do you design route tables?Advanced