Skill 4.4.1

Configuring appropriate NAT gateway types for a network (for example, a single shared NAT gateway compared with NAT gateways for each Availability Zone)

Key Concepts

A NAT gateway charges per hour and per GB processed. One zonal NAT gateway per AZ (each private subnet routes to the NAT gateway in its own AZ), or a Regional NAT gateway that spans the AZs automatically, is the resilient design and avoids cross-AZ data transfer charges. A single shared NAT gateway saves the hourly cost of the others, but it is a single point of failure and traffic from other AZs pays inter-AZ charges, so it fits non-production environments.

NAT instances (self-managed EC2) can be cheaper for low traffic but require patching, scaling and failover handling, and are limited by instance bandwidth.

Cut NAT processing costs by sending AWS service traffic through VPC endpoints (free gateway endpoints for S3 and DynamoDB) and by using IPv6 with an egress-only internet gateway (no processing charge) where possible.