An enterprise has a multi-account AWS environment with spoke VPCs distributed across regions: `us-east-1` ( VPCs) and `us-west-2` ( VPCs). The enterprise needs to connect these VPCs to two on-premises locations: a primary data center in New York and a backup data center in San Francisco.
The primary data center in New York has a AWS Direct Connect connection. The backup data center in San Francisco has an internet connection capable of establishing IPsec VPN tunnels. The network architecture must ensure:
- High availability: If the primary New York Direct Connect connection or New York data center fails, hybrid traffic must automatically fail over to the San Francisco VPN connection.
- Symmetric routing: Traffic from AWS to the on-premises network must prefer the New York Direct Connect path under normal operations.
- Scalability: The solution must minimize administrative overhead and avoid configuring individual connections to every spoke VPC.
Which TWO configuration steps must be implemented to meet these requirements?
- Configure a Direct Connect Gateway (DXGW) and associate it with the Transit Gateways (TGWs) deployed in both `us-east-1` and `us-west-2`. Create a transit virtual interface (transit VIF) on the New York Direct Connect connection and terminate it on the DXGW.Cevap
- Establish AWS Site-to-Site VPN connections from the San Francisco customer gateway to the Transit Gateways in both `us-east-1` and `us-west-2`. Configure the San Francisco customer gateway to advertise the on-premises IP ranges via BGP with multiple AS-Path prepends.Cevap
- CAssociate the Direct Connect Gateway (DXGW) directly with the Virtual Private Gateways (VGWs) of all spoke VPCs. Terminate the New York Direct Connect connection on the DXGW using a private virtual interface (private VIF).
- DCreate a Route 53 Private Hosted Zone (PHZ) in the primary network account to resolve on-premises hostnames, and rely on Transit Gateway routing and BGP propagation to automatically share and resolve DNS queries in all spoke VPCs.
- EDeploy a single centralized NAT Gateway in a shared services subnet within a single Availability Zone in `us-east-1`. Point all Transit Gateway route tables to this NAT Gateway to handle hybrid traffic failover and outbound internet connectivity.