An enterprise is designing a multi-account, multi-VPC architecture in the us-east-1 Region. The design includes vpc-app-prod (10.100.0.0/16) in Account A, containing business-critical application instances in private subnets across two Availability Zones (us-east-1a and us-east-1b). Account B hosts vpc-shared-dns (10.200.0.0/16) containing a Route 53 Private Hosted Zone (PHZ) app.corp.internal. Account B also contains vpc-egress-inspect (10.250.0.0/16), which handles outbound traffic via a cluster of firewalls. All VPCs are interconnected using an AWS Transit Gateway (tgw-east-hub). The application instances must resolve domain names hosted in app.corp.internal, and all outbound internet traffic must be inspected by the firewalls in vpc-egress-inspect. The network architecture must be highly resilient, cost-effective, and avoid any single points of failure. Which two configurations should the solutions architect implement to establish connectivity and name resolution while meeting these requirements?
- Deploy one NAT Gateway in a public subnet in us-east-1a and another NAT Gateway in a public subnet in us-east-1b within vpc-egress-inspect. Configure the subnet route tables in vpc-app-prod to route 0.0.0.0/0 traffic to tgw-east-hub, and configure the Transit Gateway route tables to route all outbound traffic to the vpc-egress-inspect attachment.Answer
- BDeploy a single NAT Gateway in a public subnet within us-east-1a in vpc-egress-inspect to minimize running costs. Configure the private subnets in both Availability Zones of vpc-app-prod to route egress traffic through tgw-east-hub to this single NAT Gateway.
- Associate the Route 53 Private Hosted Zone app.corp.internal directly with both vpc-shared-dns and vpc-app-prod by creating VPC associations, enabling direct internal DNS resolution within both VPCs.Answer
- DEstablish an AWS Direct Connect Gateway (DXGW) and associate it with the Virtual Private Gateways of both vpc-app-prod and vpc-egress-inspect. Configure the routing tables to route inter-VPC traffic and egress traffic transitively through the DXGW.
- EDeploy Route 53 Resolver inbound endpoints in vpc-shared-dns and outbound endpoints in vpc-app-prod. Create a Route 53 Resolver forwarding rule for app.corp.internal that targets the inbound endpoints to resolve DNS queries across the VPCs.