- Newest
- Most votes
- Most comments
Is it correct to say that the image is like the following document?
https://docs.aws.amazon.com/vpc/latest/tgw/transit-gateway-nat-igw.html
Is the subnet where you are setting up the Transit Gateway attachment a private subnet (In the right VPC)?
Since the route to the NAT Gateway exists on a private subnet, I thought that the subnet where the Transit Gateway attachment is set up must be a private subnet to be able to route it.
In addition to the other suggestions, make sure that the public subnet on the right has a route to the TGW for traffic going to connected VPCs.
Ensure you have a default route in the left subnet/VPC to route 0.0.0.0/0 to the TGW that’s attached in the private subnet on the right.
In the private the subnet in the right, make sure you have a route back to the subnet on the left.
Relevant content
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago
Thanks! This was the problem. the attachment transit gateway on the right didn't configure with a route to the public subnet, just the private subnet was selected.