Question

Difficulty: Very hardHybrid and Multi-Account Network Connectivity Design

A global pharmaceutical corporation has a multi-account AWS environment spread across two AWS Regions: ap-southeast-1 and ap-northeast-1. The corporation connects its regional on-premises research facilities in Singapore and Tokyo to AWS. In each AWS Region, a Transit Gateway (TGW) connects regional VPCs. The two TGWs are peered. For hybrid connectivity, a global Direct Connect Gateway (DXGW) is associated with both TGWs. A Singapore Direct Connect Transit Virtual Interface (VIF) connects the Singapore data center to the DXGW, and a Tokyo Direct Connect Transit VIF connects the Tokyo data center to the DXGW. To ensure high availability, the solutions architect deploys AWS Site-to-Site VPN connections from each data center to its local regional TGW as a backup. The Singapore data center uses the IP prefix 10.100.0.0/1610.100.0.0/16, and the Tokyo data center uses the IP prefix 10.200.0.0/1610.200.0.0/16. The architecture must satisfy the following routing requirements: (1) Under normal operating conditions, all traffic between the Singapore data center and AWS resources in ap-southeast-1 must use the Singapore Direct Connect connection; (2) If the Singapore Direct Connect connection fails, traffic between the Singapore data center and ap-southeast-1 must fail over to the Singapore Site-to-Site VPN; (3) Transitive routing between the Singapore data center and the Tokyo data center through the AWS network must be prevented; (4) Symmetrical routing must be maintained to prevent stateful firewalls on-premises from dropping packets due to asymmetric routing. Which TWO configurations should the solutions architect implement to meet these requirements? (Select TWO.)

  1. On the customer gateway devices in both Singapore and Tokyo, configure a higher BGP Local Preference for routes received over the Direct Connect Transit VIFs compared to routes received over the Site-to-Site VPN connections.Answer
  2. In each Transit Gateway, create separate route tables for the VPC attachments, the peering attachment, and the hybrid (Direct Connect and VPN) attachments. In the peering route table, associate the peering attachment and propagate routes only from the VPC attachments. In the hybrid route table, associate the Direct Connect Gateway and VPN attachments and propagate routes only from the VPC attachments.Answer
  3. C
    On the customer gateway devices, prepend the on-premises Autonomous System (AS) path multiple times when advertising the local data center prefixes over the Direct Connect Transit VIFs, while advertising the prefixes without prepending over the Site-to-Site VPN connections.
  4. D
    On the customer gateway devices, configure BGP communities to tag all prefixes advertised over the Site-to-Site VPN as 7224:93007224:9300 (high preference) and routes advertised over the Direct Connect Transit VIFs as 7224:91007224:9100 (low preference).
  5. E
    Enable route propagation from the peered Transit Gateway attachment to the default Transit Gateway route table, and configure a NAT Gateway in a shared services VPC in each region to translate and drop traffic destined for the other region's data center CIDR.

Answer

Configure a higher BGP Local Preference on the customer gateway devices for routes received over the Direct Connect Transit VIFs, and create separate Transit Gateway route tables for the VPC, peering, and hybrid attachments to restrict route propagation between the peered region and hybrid connections.
To establish symmetric routing under normal conditions, the outbound path from on-premises to AWS must align with the inbound path from AWS to on-premises. AWS Transit Gateway automatically prefers the Direct Connect Gateway attachment over the Site-to-Site VPN attachment for identical prefixes. Configuring a higher BGP Local Preference on the customer gateway devices for routes received via Direct Connect ensures that the on-premises routers also prefer the Direct Connect path, preventing asymmetric routing. To prevent transitive routing between the Singapore and Tokyo data centers, separate Transit Gateway route tables must be created for the peering and hybrid attachments. By only propagating VPC attachment routes into the peering and hybrid route tables, on-premises prefixes are never advertised to the peered region, and traffic from the local data center is restricted from reaching the peering connection.

Step-by-Step Solution

1
Analyze path selection criteria for traffic from AWS to on-premises.
Identify that AWS Transit Gateway path selection prioritizes Direct Connect Gateway attachments over Site-to-Site VPN attachments when identical prefixes are advertised. This means traffic from AWS to on-premises will naturally use the Direct Connect connection under normal conditions, and fail over to VPN if Direct Connect is unavailable.
Establishes the default inbound routing behavior of AWS Transit Gateway.
2
Analyze path selection for traffic from on-premises to AWS to prevent asymmetric routing.
Configure the customer gateway (CGW) to prefer the Direct Connect path over the VPN path. This is achieved by setting a higher BGP Local Preference on the CGW for routes received via the Direct Connect Transit Virtual Interfaces (VIFs) compared to those received via the Site-to-Site VPN.
Ensures symmetric routing by making the outbound path from the data centers to AWS match the inbound path.
3
Design the Transit Gateway routing structure to isolate the Singapore and Tokyo data centers and prevent transitive routing.
Implement multiple Transit Gateway route tables (VPC, Peering, and Hybrid). Associate the hybrid attachments (DXGW and VPN) with a Hybrid Route Table that only propagates routes from VPC attachments, and associate the peering attachment with a Peering Route Table that also only propagates routes from VPC attachments.
By limiting propagations in the peering and hybrid route tables, on-premises prefixes are not advertised across the peered Transit Gateways, preventing the on-premises networks from communicating with each other through the AWS network.

Key Concept

AWS Transit Gateway hardcoded path selection rules, BGP routing configuration on customer gateways to prevent asymmetric routing, and Transit Gateway route table segregation to block transitive routing.
Estimated Time:4m 0s
Rate this question