An enterprise is designing a new multi-VPC environment in the `us-west-2` region. The design includes a central egress VPC (`vpc-egress`) and two spoke VPCs (`vpc-workload-a` and `vpc-workload-b`). The workloads must route all internet-bound traffic through the central egress VPC. The architecture must be highly available across two Availability Zones (`us-west-2a` and `us-west-2b`) without any single points of failure. Additionally, the workloads in the spoke VPCs must resolve private DNS names hosted in a Route 53 Private Hosted Zone (PHZ) `corp.internal` that is managed in a separate shared services AWS account.
Which two configurations should a solutions architect implement to meet these requirements? (Select TWO.)
- Deploy a NAT Gateway in the public subnet of each Availability Zone in the egress VPC. Configure the private subnet route tables to direct outbound traffic to the NAT Gateway in the corresponding Availability Zone.Answer
- Create VPC association authorizations for the spoke VPCs from the shared services AWS account where the private hosted zone is hosted, and associate the private hosted zone with the spoke VPCs using the AWS CLI or SDK.Answer
- CDeploy a single NAT Gateway in one Availability Zone within the egress VPC, and configure the route tables of all other subnets in the egress VPC to route internet-bound traffic through this NAT Gateway to minimize costs.
- DAssociate the private hosted zone with the shared services VPC and rely on Transit Gateway route propagation to transitively resolve private DNS records from the spoke VPCs.
- EUse an AWS Direct Connect Gateway associated with all three VPCs to enable transitive VPC-to-VPC routing for outbound internet-bound traffic.
Answer
Deploy a NAT Gateway in each Availability Zone in the egress VPC, and create VPC association authorizations in the shared services account to associate the Private Hosted Zone with the spoke VPCs.
The correct configurations deploy a NAT Gateway in the public subnet of each Availability Zone in the egress VPC, and route private subnet traffic to the local NAT Gateway. This ensures high availability and avoids cross-AZ traffic charges. Additionally, cross-account association of the Route 53 Private Hosted Zone must be authorized by the shared services account and associated with each spoke VPC so they can resolve the `corp.internal` domains.
Step-by-Step Solution
Key Concept
High availability configuration of NAT Gateways for centralized egress and cross-account Route 53 Private Hosted Zone association.