An enterprise is implementing a multi-account AWS architecture with a hub-and-spoke transit network design using AWS Transit Gateway in the us-east-1 Region. The network consists of 80 spoke VPCs (aggregating under the 10.128.0.0/9 CIDR block) and a centralized Inspection VPC (10.0.0.0/16) containing a cluster of next-generation firewalls behind an AWS Gateway Load Balancer (GWLB). The security policy requires that all traffic between the spoke VPCs (east-west traffic) and all traffic from the spoke VPCs to the internet (north-south traffic) must be inspected by the firewall cluster. Outbound internet egress must occur via NAT Gateways deployed inside the Inspection VPC. The spoke VPCs must not have direct paths to the internet or to each other. Which routing configuration on the AWS Transit Gateway and within the Inspection VPC correctly implements this architecture while preventing routing loops and ensuring all spoke-to-spoke and egress traffic is inspected?
- On the Transit Gateway, create two route tables: Spoke-RT and Inspection-RT. Associate all spoke VPC attachments with Spoke-RT, disable route propagation from the spoke VPCs, and add a static route for 0.0.0.0/0 pointing to the Inspection VPC attachment. Associate the Inspection VPC attachment with Inspection-RT and enable route propagation from all spoke VPC attachments. Within the Inspection VPC, configure the Transit Gateway subnet route table to route 0.0.0.0/0 to the Gateway Load Balancer endpoint (GWLBe) in the same Availability Zone. Configure the GWLBe subnet route table to route 10.128.0.0/9 to the Transit Gateway and 0.0.0.0/0 to the NAT Gateway.Answer
- BOn the Transit Gateway, create a single route table: Main-RT. Associate and enable route propagation for all spoke VPC attachments and the Inspection VPC attachment. Add a static route for 0.0.0.0/0 pointing to the Inspection VPC attachment. Within the Inspection VPC, route all incoming traffic from the Transit Gateway subnet to the GWLBe. Configure the GWLBe subnet route table to route all traffic (0.0.0.0/0) back to the Transit Gateway.
- COn the Transit Gateway, create two route tables: Spoke-RT and Inspection-RT. Associate all spoke VPC attachments with Spoke-RT, enable route propagation from all spoke VPCs, and add a static route for 0.0.0.0/0 pointing to the Inspection VPC attachment. Associate the Inspection VPC attachment with Inspection-RT, disable route propagation, and add static routes for each spoke VPC CIDR pointing to the respective spoke attachments. Within the Inspection VPC, configure the Transit Gateway subnet route table to route 10.128.0.0/9 to the GWLBe and 0.0.0.0/0 to the Transit Gateway.
- DOn the Transit Gateway, create two route tables: Spoke-RT and Inspection-RT. Associate all spoke VPC attachments with Spoke-RT, disable route propagation from the spoke VPCs, and add a static route for 0.0.0.0/0 pointing to the Inspection VPC attachment. Associate the Inspection VPC attachment with Inspection-RT and enable route propagation from all spoke VPC attachments. Within the Inspection VPC, configure a single route table shared by both the Transit Gateway subnet and the GWLBe subnet that routes 0.0.0.0/0 to the GWLBe and 10.128.0.0/9 to the NAT Gateway.