An enterprise is designing a hybrid network connectivity and DNS resolution solution for its multi-account AWS environment. The environment consists of 12 spoke VPCs in the us-east-1 Region, each containing workloads that need to communicate with an on-premises datacenter.
The network design must meet the following requirements:
- The primary connection to the datacenter must use a 10 Gbps AWS Direct Connect connection.
- A backup connection must be established using an AWS Site-to-Site VPN over the internet.
- Failover from the Direct Connect connection to the VPN connection must happen automatically.
- On-premises servers must be able to resolve domain names for resources hosted in a Route 53 Private Hosted Zone (PHZ) associated with the AWS VPCs.
- Administrative overhead for routing and DNS configuration must be minimized.
Which of the following architectures meets these requirements?
- AAttach the spoke VPCs to an AWS Transit Gateway. Create a Direct Connect Gateway, and connect it to the datacenter using a Private Virtual Interface (Private VIF). Associate the Direct Connect Gateway with the Transit Gateway. Establish a Site-to-Site VPN connection and attach it to the Transit Gateway. Configure BGP routing to manage path preference. Create a Route 53 Resolver inbound endpoint in a shared services VPC, associate the PHZ with all spoke VPCs, and configure the on-premises DNS servers to forward queries to the inbound endpoint.
- BAttach the spoke VPCs to an AWS Transit Gateway. Create a Direct Connect Gateway, and connect it to the datacenter using a Transit Virtual Interface (Transit VIF). Associate the Direct Connect Gateway with the Transit Gateway. Establish a Site-to-Site VPN connection and attach it to the Transit Gateway. Configure BGP routing to manage path preference. Create a Route 53 Resolver inbound endpoint in a shared services VPC, associate the PHZ only with the shared services VPC, and configure the on-premises DNS servers to forward queries to the inbound endpoint.
- Attach the spoke VPCs to an AWS Transit Gateway. Create a Direct Connect Gateway, and connect it to the datacenter using a Transit Virtual Interface (Transit VIF). Associate the Direct Connect Gateway with the Transit Gateway. Establish a Site-to-Site VPN connection and attach it to the Transit Gateway. Configure Border Gateway Protocol (BGP) to advertise the VPC CIDRs and manage path preference. Create a Route 53 Resolver inbound endpoint in a shared services VPC, associate the PHZ with the shared services VPC and all spoke VPCs, and configure the on-premises DNS servers to forward queries to the inbound endpoint.Answer
- DAttach the spoke VPCs to an AWS Transit Gateway. Create a Direct Connect Gateway, and connect it to the datacenter using a Transit Virtual Interface (Transit VIF). Associate the Direct Connect Gateway with the Transit Gateway. Establish a Site-to-Site VPN connection and attach it to the Transit Gateway. Route all internet-bound traffic from the spoke VPCs through a single NAT Gateway located in a single Availability Zone in a shared services VPC to minimize costs. Create a Route 53 Resolver inbound endpoint in the shared services VPC, associate the PHZ with all VPCs, and configure the on-premises DNS servers to forward queries to the inbound endpoint.