Understanding route table to NAT Gateway


Consider a customer with a large account comprised of multiple subnets and route tables. The customer sees NAT Gateway usage in Cost Explorer but doesn't know what route table directs to it.

What would be the easiest way to find out?

asked 4 years ago298 views
1 Answer
Accepted Answer

Any traffic flowing to the NATGW will need a route in the subnet route table that has a NATGW id as the destination. A simple search on route table describe API calls or searching through the console will show. The CLI docs actually give an example of this: https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-route-tables.html

profile pictureAWS
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions