A retail company is designing a new cloud infrastructure on AWS. The design requires two VPCs in the us-west-2 region: vpc-app-prod, which hosts application servers across two Availability Zones (us-west-2a and us-west-2b), and vpc-egress-shared, which is dedicated to centralized outbound internet traffic. An AWS Transit Gateway (tgw-main) is deployed to interconnect the VPCs. Additionally, a Route 53 Private Hosted Zone (PHZ) named prod.corp.internal is hosted in the AWS account managing vpc-egress-shared. The company requires a highly available network design that prevents single points of failure for outbound traffic, supports private DNS resolution of prod.corp.internal from the application servers, and minimizes operational complexity. Which of the following designs best meets these requirements?
- Deploy a NAT Gateway in both us-west-2a and us-west-2b within vpc-egress-shared. Configure the private subnet route tables of vpc-app-prod to route 0.0.0.0/0 to tgw-main. Configure Transit Gateway route tables to route internet-bound traffic to vpc-egress-shared and return traffic back to vpc-app-prod. Associate the prod.corp.internal Private Hosted Zone directly with vpc-app-prod using the Route 53 console or AWS CLI.Cevap
- BDeploy a single NAT Gateway in us-west-2a within vpc-egress-shared to minimize cost. Configure the private subnet route tables of vpc-app-prod to route 0.0.0.0/0 to tgw-main, directing all egress traffic to the single NAT Gateway. Associate the prod.corp.internal Private Hosted Zone directly with vpc-app-prod using the Route 53 console or AWS CLI.
- CDeploy a NAT Gateway in both us-west-2a and us-west-2b within vpc-egress-shared. Configure the private subnet route tables of vpc-app-prod to route 0.0.0.0/0 to tgw-main. Configure Transit Gateway route tables to route internet-bound traffic to vpc-egress-shared. Rely on Transit Gateway’s built-in DNS support to automatically propagate and resolve records from prod.corp.internal across all attached VPCs.
- DDeploy a NAT Gateway in both us-west-2a and us-west-2b within vpc-egress-shared. Establish a VPC Peering connection between vpc-app-prod and vpc-egress-shared. Configure the private subnet route tables of vpc-app-prod to route 0.0.0.0/0 through the VPC Peering connection to the NAT Gateways in vpc-egress-shared. Associate the prod.corp.internal Private Hosted Zone directly with vpc-app-prod using the Route 53 console or AWS CLI.