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.