This CloudFormation template creates a VPC with public and private subnets across multiple availability zones. It also provisions NAT gateways for private subnets to enable outbound internet access.

CloudFormation Template