Soru

Zorluk: ZorHybrid and Multi-Account Network Connectivity Design

A logistics corporation is designing a hybrid network connectivity solution for its multi-account AWS environment. The infrastructure consists of 6060 spoke VPCs evenly distributed across the `us-east-1` and `eu-west-1` regions. The company must connect this infrastructure to two on-premises data centers: a primary site in Frankfurt and a secondary site in Munich. The design must use two 10 Gbps10\text{ Gbps} AWS Direct Connect connections—one terminating in Frankfurt and another in Munich—to achieve high availability and active-standby failover. The architecture must minimize BGP routing complexity and administrative overhead, prevent inter-VPC traffic from crossing regions unless explicitly configured, and scale to accommodate new spoke VPCs without manual BGP updates. Which TWO network configurations should a solutions architect implement to meet these requirements?

  1. Deploy an AWS Transit Gateway in `us-east-1` and another in `eu-west-1`, then associate both Transit Gateways with a single global AWS Direct Connect Gateway.Cevap
  2. On the Direct Connect Gateway association for each Transit Gateway, configure the allowed prefixes to advertise only the specific IP CIDR blocks of the VPCs located within that Transit Gateway's respective region.Cevap
  3. C
    Establish a Transit Gateway peering connection between the two regions, and configure the route tables to dynamically route on-premises destined traffic through the peered Transit Gateway if the local Direct Connect connection fails.
  4. D
    Create a separate AWS Direct Connect Gateway in each region, and peer the two Direct Connect Gateways to enable cross-region transitive routing between the data centers and the spoke VPCs.
  5. E
    Utilize AWS Resource Access Manager to share the Direct Connect private virtual interfaces (VIFs) across all AWS accounts, and configure BGP sessions directly from the on-premises routers to each spoke VPC Virtual Private Gateway.

Cevap

Deploy an AWS Transit Gateway in each region, associate both with a single global AWS Direct Connect Gateway, and configure regional allowed prefixes on each Transit Gateway association to restrict advertised routes to their respective regions.
To implement a scalable hybrid networking architecture across multiple regions and accounts, a solutions architect should deploy a regional AWS Transit Gateway in each region and attach all regional spoke VPCs to them. Associating both Transit Gateways with a single global AWS Direct Connect Gateway enables transit routing to the on-premises data centers over the shared Direct Connect connections while minimizing BGP configurations. By configuring the allowed prefixes on each Transit Gateway association to include only the local regional CIDR blocks, the architect ensures that on-premises routers only receive optimal paths for each region and prevents cross-region traffic from hair-pinning through the data centers.

Adım Adım Çözüm

1
Consolidate regional spoke VPCs into regional hubs.
Create one Transit Gateway in `us-east-1` and another in `eu-west-1`, attaching local spoke VPCs to their respective regional Transit Gateway.
This establishes a hub-and-spoke pattern in each region, eliminating the need to manage individual VPN or Direct Connect connections for each VPC.
2
Connect regional hubs to the hybrid network.
Create a single global Direct Connect Gateway and associate both Transit Gateways with it.
Direct Connect Gateways support multi-region Transit Gateway associations, allowing a single hybrid network interface to serve both regions and reducing BGP peering complexity.
3
Filter route advertisements for optimal path selection.
Specify only the regional VPC CIDRs in the allowed prefixes list of the Transit Gateway associations.
This prevents cross-region traffic from being routed unnecessarily through the on-premises data centers (hair-pinning) and ensures proper routing boundaries.

Anahtar Kavram

AWS Transit Gateway and Direct Connect Gateway integration for scalable, multi-region hybrid connectivity.
Bu soruyu puanla