An enterprise is designing a hybrid network connectivity solution to connect its 25 spoke VPCs in a single AWS Region with its on-premises corporate network. The design requires a highly available, transit hub architecture where spoke VPCs can communicate with each other and with the on-premises network. The primary hybrid connection must use an AWS Direct Connect (DX) connection, and a Site-to-Site VPN connection must serve as a backup path. The system must automatically fail over to the backup VPN path if the DX connection becomes unavailable, without adding unnecessary routing tables or manual intervention.
Which TWO actions should the solutions architect take to implement this architecture?
- Deploy an AWS Transit Gateway, attach all spoke VPCs to it, and associate the Transit Gateway with a Direct Connect Gateway using a transit virtual interface (transit VIF) on the DX connection.Cevap
- Propagate the on-premises network routes into the Transit Gateway route table from both the Direct Connect Gateway and the Site-to-Site VPN attachments, allowing the Transit Gateway to prefer the Direct Connect path.Cevap
- CAttach a Virtual Private Gateway (VGW) to each spoke VPC, associate them with the Direct Connect Gateway, and configure VPC peering between all spoke VPCs to allow VPC-to-VPC routing.
- DConfigure static routes for the on-premises IP ranges in the Transit Gateway route table pointing to the Site-to-Site VPN attachment, and propagate the same ranges from the Direct Connect Gateway attachment.
- EAssociate the Route 53 Private Hosted Zone for on-premises DNS resolution directly with the Transit Gateway to automatically enable DNS resolution for all attached VPCs.
Cevap
The solutions architect should deploy an AWS Transit Gateway, attach all spoke VPCs to it, and associate the Transit Gateway with a Direct Connect Gateway using a transit virtual interface. Additionally, they should propagate the on-premises network routes into the Transit Gateway route table from both the Direct Connect Gateway and the Site-to-Site VPN attachments, relying on the Transit Gateway's default route selection logic to prefer the Direct Connect path.
Deploying a Transit Gateway and associating it with a Direct Connect Gateway using a transit VIF establishes a scalable, centralized hub for the spoke VPCs. When the same on-premises prefixes are propagated via BGP from both the Direct Connect Gateway and Site-to-Site VPN attachments, Transit Gateway automatically prefers the Direct Connect Gateway path due to its default route evaluation order (Direct Connect Gateway prefix is preferred over VPN prefix for matching paths). This achieves automatic failover to the VPN if the Direct Connect link fails.
Adım Adım Çözüm
Anahtar Kavram
AWS Transit Gateway routing evaluation order and hybrid connectivity failover design.