A company has deployed 15 VPCs in the us-east-1 Region to connect different microservices for an application. Currently, the VPCs are connected using a full mesh of VPC Peering connections. The company plans to add 20 more VPCs and requires centralized traffic monitoring and security filtering through a dedicated inspection VPC. The current design is becoming difficult to manage and scale. Which solution should a solutions architect recommend to simplify the network architecture while maintaining high performance and scalability?
- Deploy AWS Transit Gateway, attach all VPCs to the Transit Gateway, and configure routing tables to route inter-VPC traffic through the dedicated inspection VPC.Answer
- BImplement stateless Network Access Control Lists (NACLs) at the subnet level in each VPC to peer the networks and route inter-VPC traffic dynamically.
- CSet up AWS Site-to-Site VPN connections between all VPCs to secure inter-VPC traffic, relying on a single VPN tunnel per connection to scale throughput dynamically for the microservices.
- DConfigure Amazon Route 53 with latency-based routing policies to resolve service endpoints directly between VPCs, allowing DNS resolution to bypass VPC routing tables.
Answer
Deploy AWS Transit Gateway, attach all VPCs to the Transit Gateway, and configure routing tables to route inter-VPC traffic through the dedicated inspection VPC.
The correct solution involves deploying AWS Transit Gateway to act as a centralized hub. Transit Gateway simplifies the network architecture by replacing a complex web of VPC Peering connections with a hub-and-spoke model. Because Transit Gateway supports transitive routing, it allows the organization to route all traffic between spoke VPCs through a dedicated inspection VPC, satisfying both the scalability and centralized security monitoring requirements.
Step-by-Step Solution
Key Concept
AWS Transit Gateway acts as a network transit hub, enabling transitive routing to simplify multi-VPC architectures and centralize traffic inspection while maintaining high performance.