An enterprise is designing a new multi-VPC architecture in the eu-west-1 Region. The design includes two application VPCs (vpc-hr-prod and vpc-finance-prod) and a central egress VPC (vpc-central-egress). The application VPCs do not have direct internet access. All VPCs are connected via a central AWS Transit Gateway. The application workloads are distributed across two Availability Zones for high availability.
The enterprise has the following requirements:
1. All outbound internet traffic from the application VPCs must route through the central egress VPC.
2. The egress configuration must remain highly available and resilient to Availability Zone outages.
3. Applications must resolve domain names within a private hosted zone named internal.globalcorp that is hosted in a centralized AWS Shared Services account.
Which networking architecture meets these requirements?
- ADeploy a single NAT Gateway in one Availability Zone in the central egress VPC to minimize idle costs. Route all outbound internet traffic from the application VPCs through this NAT Gateway via the Transit Gateway. Associate the central private hosted zone only with the central egress VPC.
- Deploy a NAT Gateway in each of the two Availability Zones within the central egress VPC. Configure Transit Gateway route tables to route outbound internet traffic from the application VPCs to the egress VPC, distributing the traffic across the NAT Gateways in each zone. Authorize and associate the central private hosted zone with all three VPCs.Answer
- CDeploy a NAT Gateway in each of the two Availability Zones within the central egress VPC. Connect the application VPCs to the egress VPC using a Direct Connect Gateway to enable transitive routing and resolve DNS queries. Create separate, identical private hosted zones in each VPC's account.
- DDeploy a NAT Gateway in each of the two Availability Zones within the central egress VPC. Configure Transit Gateway route tables to route outbound internet traffic from the application VPCs to the egress VPC. Create a Route 53 Resolver rule to forward DNS queries for internal.globalcorp to the egress VPC Transit Gateway interface, without associating the private hosted zone.