Lab 11 1 NAT Gateways Instance - nicolas-tullio/Tech-Journal GitHub Wiki
Deliverables
Screenshot of your PrivateSubnet RouteTable showing it is using the NAT Instance

Screenshot of a successful ping of 8.8.8.8 from your Private Instance

Screenshot of successful nc install on Private Instance (just running nc and getting the error is fine)

Steps
Setting up NAT Gateway Instance
Go to VPC > NAT gateways > Create NAT Gateway
- Make sure it is on the VPC and Public subnet created in Lab 10
- Also tell it to assign a Public IP
- Click create


Updating Private Subnet Routing Table to use NAT Gateway
Navigate to Route tables > PrivateRouteTable

Specify the following values
- Destination:
0.0.0.0/0
- Target: Select Instance from the dropdown menu to select the NAT Instance id #
- Click on Save routes

Your Private Subnet Route should now look something like:

- Now the Instances launched within PrivateSubnet will have access to the Internet through the NAT Instance
Validate NAT Instance
SSH into your Public Instance from last week
Then, from that Public Instance ssh into your Private Instance

Your Private Instance should be able to ping 8.8.8.8

Your Private Instance should be able to "sudo yum install nc" to install netcat from an Internet repo
