An enterprise is designing a new multi-VPC application environment in the `ap-southeast-2` region. The environment consists of three VPCs: `vpc-shared-services`, `vpc-payments-prod`, and `vpc-orders-prod`. The payments and orders workloads must communicate with a shared PostgreSQL database cluster in `vpc-shared-services` and resolve its database endpoint using a Route 53 Private Hosted Zone (PHZ) named `db.prod.internal`. All three VPCs require outbound internet access to download software patches, but the enterprise wants to minimize ongoing NAT Gateway hourly charges and Transit Gateway data transfer fees while ensuring high availability. Which network architecture design meets these requirements?
- Deploy an AWS Transit Gateway named `tgw-regional` and attach all three VPCs. Associate the Route 53 PHZ `db.prod.internal` directly with `vpc-shared-services`, `vpc-payments-prod`, and `vpc-orders-prod` to enable local DNS resolution within each VPC. Centralize outbound internet traffic by deploying redundant NAT Gateways (one per Availability Zone) in the public subnets of `vpc-shared-services`, and route all outbound internet traffic from the private subnets of `vpc-payments-prod` and `vpc-orders-prod` through `tgw-regional` to the centralized NAT Gateways.Cevap
- BDeploy an AWS Transit Gateway named `tgw-regional` and attach all three VPCs. Associate the Route 53 PHZ `db.prod.internal` directly with all three VPCs. Centralize outbound internet traffic by deploying a single NAT Gateway in one Availability Zone in the public subnets of `vpc-shared-services`, and configure route tables in `vpc-payments-prod` and `vpc-orders-prod` to route all internet-bound traffic through `tgw-regional` to this single NAT Gateway.
- CDeploy an AWS Transit Gateway named `tgw-regional` and attach all three VPCs. Associate the Route 53 PHZ `db.prod.internal` only with `vpc-shared-services`. Deploy Route 53 Inbound Resolver Endpoints in `vpc-shared-services` and Route 53 Outbound Resolver Endpoints in both `vpc-payments-prod` and `vpc-orders-prod` to forward DNS queries for `db.prod.internal` to `vpc-shared-services` via `tgw-regional`. Centralize outbound internet traffic by deploying redundant NAT Gateways (one per Availability Zone) in `vpc-shared-services`.
- DDeploy an AWS Direct Connect Gateway and associate it directly with the virtual private gateways of `vpc-shared-services`, `vpc-payments-prod`, and `vpc-orders-prod`. Route all inter-VPC traffic and DNS resolution queries transitively through the Direct Connect Gateway to enable communication and DNS resolution. Deploy redundant NAT Gateways in each of the three VPCs to handle outbound internet traffic locally.
Cevap
Deploy an AWS Transit Gateway to interconnect the VPCs, associate the Route 53 Private Hosted Zone directly with all three VPCs to enable free, local DNS resolution, and centralize outbound internet egress via redundant NAT Gateways in the shared services VPC.
The correct design uses AWS Transit Gateway to enable VPC communication and associates the Route 53 Private Hosted Zone with all three VPCs. Direct association allows local Route 53 resolvers to resolve DNS queries at no additional cost and with minimal latency. Centralizing internet egress through redundant NAT Gateways in the shared services VPC balances cost and reliability, avoiding the charges of six NAT Gateways while preventing a single-AZ failure from disrupting internet access.
Adım Adım Çözüm
Anahtar Kavram
Multi-VPC DNS resolution via Private Hosted Zone association and centralized internet egress routing with high availability.