Creating a NAT Instance and Gateway in a VPC

We deploy the real environment, you take the scenario-based labs on us. Hands-on, from anywhere, at any time.

Time required: 2 Hours


In this lab, we are going to learn how to launch a NAT Gateway, and then we are going to configure a NAT instance step-by-step. We use NAT instances inside of a VPC, so that instances located inside of private subnets (subnets without an Internet gateway attached) have the ability to reach out to the Internet and download software and package updates without unsolicited incoming requests from outside traffic to our instances.


You have a VPC setup and two subnets: A private subnet and a public subnet. To increase security in your network, you put your MySQL instances in the private subnet. To download package updates and software, there needs to be a route to the internet, but it needs to be a secure route. Use the AWS NAT instance to create that route.

Share our Labs
Start Your Free Trial

We have the longest and most in depth courses about cloud and engineering topics on the web. All of our training content is included with every membership.