By using AWS re:Post, you agree to the Terms of Use

Understanding route table to NAT Gateway

0

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?

1 Answer
0
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

answered 2 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