DEV Community

Zaw Htut Win
Zaw Htut Win

Posted on

How to whitelist your EC2 instances reside in private network?

Let's say you have private network instances, how will they connect to internet? That's when NAT comes in. NAT ip is public. And private subnets can be associated with NAT. So in that way, the instance in private subnet can connect to internet using NAT. This is very useful when you have server to whitelist your ip. Just give the NAT EIP to whitelist and problem solved. Your private instances are whitelisted.

Top comments (0)