简体   繁体   中英

Can we reach an EC2 instance in private subnet through a transit gateway from internet?

I'm trying to setup AWS transit gateway following this - https://aws.amazon.com/blogs/networking-and-content-delivery/creating-a-single-internet-exit-point-from-multiple-vpcs-using-aws-transit-gateway/

I'm able to reach internet from private subnet via transit gateway. But, is it possible to reach the instance in private subnet from internet?

The question basically boils down to: is it possible to connect to an instance in a private subnet behind a NAT gateway?

The answer is no, because NAT gateways managed by AWS don't accept traffic initiated from the internet.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM