An enterprise is designing a highly resilient hybrid network architecture to connect their on-premises data center (network range ) to AWS resources across two regions: `us-east-1` and `us-west-2`. In each region, they have deployed an AWS Transit Gateway (TGW), and the two TGWs are connected via inter-region peering. A AWS Direct Connect (DX) connection is established to a Direct Connect Gateway (DXGW) that is associated with both TGWs. For redundancy, Site-to-Site VPN connections are established from the on-premises customer gateway (CGW) to both TGWs.
The enterprise has the following routing requirements:
1. Outbound traffic from AWS VPCs to on-premises must always prefer the local region's DX connection.
2. If the local DX connection fails, traffic must fail over to the local region's VPN connection.
3. Traffic must only traverse the inter-region TGW peering link to use the remote region's DX or VPN connection as a last resort if both local paths fail.
Which of the following routing configurations meets these requirements while preventing routing loops?
- AConfigure the CGW to advertise the summary range over both DX and VPN connections. Enable route propagation from the DXGW and VPN attachments in both TGW route tables. In each TGW route table, configure a static route for the summary range pointing to the inter-region TGW peering attachment.
- Configure the CGW to advertise specific subnets (for example, and ) over both DX and VPN connections. Enable route propagation from the DXGW and VPN attachments in both TGW route tables. In each TGW route table, configure a static route for the summary range pointing to the inter-region TGW peering attachment.Answer
- CConfigure the CGW to advertise the summary range over the DX connection and specific subnets (for example, and ) over the VPN connection. Enable route propagation from the DXGW and VPN attachments in both TGW route tables. In each TGW route table, configure a static route for the summary range pointing to the inter-region TGW peering attachment.
- DConfigure the CGW to advertise the summary range over both DX and VPN connections. Associate a Route 53 Private Hosted Zone for the on-premises domain with all VPCs in both regions. Configure a TGW route table static route for pointing to a Route 53 Resolver outbound endpoint in the remote region to route all on-premises traffic when local DX fails.