1 Answer
- Newest
- Most votes
- Most comments
1
In the private subnet(s) you need a route to the NAT Gateway. To do this, create a new VPC route table; create a default route (0.0.0.0/0
) in that route table that has a destination of the NAT Gateway; then assign the route table to the private subnet(s). In the VPC you'll have two route tables: One for the public subnet(s) which has a default route to the Internet Gateway; and one for the private subnet(s).
Relevant content
- asked 5 years ago
- Accepted Answerasked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Got it, thank you. It was that default route with target to the NAT that I missed.