Question

Difficulty: MediumHybrid and Multi-Account Network Connectivity Design

A logistics company is designing a hybrid network connectivity solution for its AWS environment. The environment consists of 2525 spoke VPCs across two AWS accounts in the `us-east-1` region. The company has a 10 Gbps10\text{ Gbps} AWS Direct Connect connection at a co-location facility and needs to establish connectivity between the spoke VPCs and their on-premises data center. The solution must provide a backup path using an IPsec VPN over the internet with automated failover, and it must minimize administrative overhead for routing. Which TWO configurations should the Solutions Architect implement to meet these requirements? (Select TWO.)

  1. Create an AWS Transit Gateway, attach the 2525 spoke VPCs to the Transit Gateway, and associate the Transit Gateway with a Direct Connect Gateway that connects to on-premises via a Transit Virtual Interface.Answer
  2. Configure an IPsec Site-to-Site VPN connection directly to the Transit Gateway, establishing a backup path that propagates routes via BGP.Answer
  3. C
    Associate all 2525 spoke VPCs directly with the Direct Connect Gateway using Virtual Private Gateways to establish the primary path, and configure a Site-to-Site VPN to each VPC for backup.
  4. D
    Deploy a single NAT Gateway in a central services VPC to route all hybrid traffic, and configure routing tables in all spoke VPCs to point to this NAT Gateway for backup paths.
  5. E
    Create a private hosted zone in one account and rely on the Direct Connect Gateway to automatically bridge DNS queries from the on-premises data center to the spoke VPCs.

Answer

Establish the hybrid connectivity by deploying an AWS Transit Gateway to attach all spoke VPCs and associate the Transit Gateway with a Direct Connect Gateway using a Transit Virtual Interface for the primary path. For the backup path, configure an IPsec Site-to-Site VPN terminating directly on the Transit Gateway, enabling BGP to manage failover preference.
The correct solution involves deploying an AWS Transit Gateway to aggregate the 25 spoke VPCs and linking it to the on-premises network via a Direct Connect Gateway (using a Transit VIF) and a Site-to-Site VPN attachment. Transit Gateway supports up to 5000 VPC attachments and handles dynamic routing failover. For identical prefix advertisements, Transit Gateway naturally prefers the Direct Connect Gateway attachment path over the VPN attachment path, achieving automated failover with minimal routing overhead.

Step-by-Step Solution

1
Deploy AWS Transit Gateway to act as the centralized router for the multi-account spoke VPCs.
All 25 spoke VPCs are attached to the Transit Gateway, enabling hub-and-spoke connectivity.
Transit Gateway simplifies VPC-to-VPC and VPC-to-on-premises routing, eliminating the scale limitations of Direct Connect Gateway associations.
2
Configure a Direct Connect Gateway, associate it with the Transit Gateway, and connect it to the on-premises network using a Transit Virtual Interface.
A dedicated, high-bandwidth primary hybrid path is created that can scale to service all VPCs.
Transit Virtual Interfaces are required to connect AWS Direct Connect to a Transit Gateway through a Direct Connect Gateway.
3
Configure an IPsec Site-to-Site VPN connection from the customer gateway to the Transit Gateway, using BGP for route advertisements.
A secure backup connection is established over the public internet.
When both Direct Connect and VPN paths advertise the same BGP prefixes, Transit Gateway automatically prefers the Direct Connect Gateway path for inbound traffic, ensuring automatic failover if the Direct Connect link fails.

Key Concept

AWS Transit Gateway serves as a scalable hub for multi-account networking, routing traffic over both Direct Connect (via Direct Connect Gateway and Transit VIF) and Site-to-Site VPN, while natively prioritizing Direct Connect paths over VPN paths when identical prefixes are advertised.
Rate this question