A SysOps Administrator is migrating hybrid connectivity for a company's AWS environment. Currently, an on-premises data center is connected to a single VPC via an AWS Site-to-Site VPN attached to a Virtual Private Gateway (VGW). To support connectivity to multiple new VPCs, the administrator deploys an AWS Transit Gateway, attaches the existing VPC to the Transit Gateway, and establishes a new Site-to-Site VPN connection terminating on the Transit Gateway. The IPsec tunnels are successfully established and show as UP, but EC2 instances in the VPC are unable to reach the on-premises network. Which of the following is the most likely cause of this issue?
- AThe Security Group associated with the EC2 instances does not contain an outbound rule to allow ephemeral ports (-) for response traffic from the on-premises network.
- BThe customer gateway (CGW) configuration on the AWS side must be deleted and recreated because a CGW can only be associated with one active VPN connection at a time.
- The VPC subnet route tables have not been updated to direct traffic destined for the on-premises network to the Transit Gateway attachment.Answer
- DThe Transit Gateway route table lacks a route propagation association for the VPC attachment, preventing the VPC from learning the on-premises routes.
Answer
The VPC subnet route tables have not been updated to direct traffic destined for the on-premises network to the Transit Gateway attachment.
The correct option is correct because when migrating VPN termination from a Virtual Private Gateway (VGW) to an AWS Transit Gateway (TGW), VPC subnet route tables do not automatically update their targets. The static or propagated routes pointing to the VGW (vgw-xxxx) must be manually updated to target the Transit Gateway attachment (tgw-attach-xxxx) to ensure outbound traffic is successfully routed to the Transit Gateway.
Step-by-Step Solution
Key Concept
AWS Transit Gateway VPC routing behavior requires static route additions in VPC subnet route tables to direct traffic to the Transit Gateway attachment.