Enabling internet access to non-routable subnets using NAT Gateways on AWS

Posted: April 30, 2017 in Amazon Web Services (AWS), Linux

In this post we enabled “private” network access to the internet using NAT AWS instance,

in this post we’ll do the same using NAT Gateway

Services-VPN-NAT Gateways-Create NAT Gateways

 

1.PNG

Select “public” subnet (subnet with internet access),choose existing or create new Elastic IP Allocation (An Elastic IP address is a public IPv4 address, which is reachable from the Internet)

 

2

Click Edit Route Tables

3

As in example in previous post, select Route table without subnet association (default routing table)-routes-edit-as destination set 0.0.0.0/0-under local select NAT Gateway

 

4

 

1.PNG

 

 

5

As in previous post’s example, SSH from internet-facing VM to VM on private subnet and try to install package/update VM

 

6

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s