A financial services company needs to establish secure, scalable, and resilient network connectivity between its on-premises database environment and three VPCs (Production, Testing, and Shared Services) distributed across two AWS accounts in the us-east-1 Region. The on-premises database must communicate with all three VPCs. Additionally, the Shared Services VPC hosts centralized monitoring tools that must communicate with the Production and Testing VPCs. The solution must minimize routing table maintenance and administrative overhead as the company expands its AWS footprint. Which network architecture best meets these requirements?
- AEstablish an AWS Direct Connect Gateway and associate it directly with the Virtual Private Gateways in each of the three VPCs. Set up a mesh of VPC peering connections between the Shared Services VPC, the Production VPC, and the Testing VPC to allow the centralized monitoring tools to communicate with the other VPCs.
- Deploy an AWS Transit Gateway in the primary account and share it with the secondary account using AWS Resource Access Manager. Attach all three VPCs to the Transit Gateway, and use an AWS Direct Connect Gateway associated with the Transit Gateway using a Transit Virtual Interface to connect to the on-premises environment.Answer
- CCreate a Route 53 Private Hosted Zone in the Shared Services account and associate it with all three VPCs. For hybrid connectivity, establish a Public Virtual Interface on the Direct Connect connection and configure individual IPSec VPN connections over the Direct Connect link to Virtual Private Gateways attached to each VPC.
- DDeploy an AWS Transit Gateway and attach all three VPCs. Deploy a single NAT Gateway in the Shared Services VPC and route all outbound internet traffic from the Production and Testing VPCs through the Transit Gateway to this NAT Gateway. Establish a Private Virtual Interface on the Direct Connect connection and associate it with a Direct Connect Gateway connected directly to each VPC's Virtual Private Gateway.
Answer
Deploying an AWS Transit Gateway shared via AWS Resource Access Manager (RAM), attaching all VPCs, and connecting them to on-premises via a Direct Connect Gateway using a Transit Virtual Interface (Transit VIF).
The correct architecture utilizes AWS Transit Gateway shared via AWS Resource Access Manager (RAM) to connect all VPCs across both accounts in a hub-and-spoke model. To connect the Transit Gateway to the on-premises environment using AWS Direct Connect, a Transit Virtual Interface (Transit VIF) must be established and connected to a Direct Connect Gateway. The Direct Connect Gateway is then associated with the Transit Gateway, enabling scalable, transitive routing between the on-premises database and all attached VPCs without complex configuration.
Step-by-Step Solution
Key Concept
AWS Transit Gateway with Direct Connect Gateway and Transit VIF for multi-account hybrid routing