A multinational logistics enterprise is designing a hybrid network architecture for its multi-account environment on AWS. The setup consists of spoke VPCs in the `us-east-1` Region, all connected via an AWS Transit Gateway (TGW). The primary hybrid connection is a AWS Direct Connect (DX) connection terminating at an on-premises data center, routed via a Direct Connect Gateway (DXGW) associated with the TGW. A backup AWS Site-to-Site VPN is established between the on-premises data center and the TGW. The spoke VPCs also require highly available outbound internet access routed through a centralized Shared Services VPC. During initial testing, the operations team observes that outbound traffic from AWS to the on-premises network correctly prefers the Direct Connect path. However, inbound traffic from the on-premises network to the spoke VPCs is routed over the backup VPN connection, causing asymmetric routing and firewall packet drops. Additionally, all internet-bound traffic from the spoke VPCs is currently routed through a single NAT Gateway in the Shared Services VPC. Which combination of actions should the Solutions Architect take to resolve the routing asymmetry and ensure a highly available egress architecture?
- ADeassociate the spoke VPCs from the Transit Gateway and connect them directly to the Direct Connect Gateway using Private Virtual Interfaces (VIFs) to establish hybrid routing. In the Shared Services VPC, route all internet-bound traffic to a single NAT Gateway located in a single Availability Zone to centralize egress routing and minimize NAT Gateway hourly charges.
- Configure the on-premises edge routers to assign a higher BGP local preference attribute to the prefixes received from AWS over the Direct Connect connection compared to the Site-to-Site VPN. In the Shared Services VPC, deploy a NAT Gateway in each Availability Zone where Transit Gateway attachments are present. Configure the subnet route tables containing the Transit Gateway attachments in the Shared Services VPC to route outbound traffic to the NAT Gateway in the same Availability Zone.Answer
- CConfigure the on-premises edge routers to advertise more specific subnet prefixes to AWS over the Site-to-Site VPN connection than over the Direct Connect connection. In the Shared Services VPC, deploy a single NAT Gateway in one Availability Zone, and update the Transit Gateway route table to direct all spoke VPC egress traffic to that single NAT Gateway.
- DConfigure AS Path prepending on the Direct Connect Gateway association on AWS to make the Direct Connect path appear longer to the on-premises network. Create a Route 53 Private Hosted Zone for local DNS resolution in a centralized account without associating it with the spoke VPCs. Route all egress traffic to a single NAT Gateway in the Shared Services VPC.