Internet access may be required for instances in a private subnet for activities such as patching, downloading software, and more. Network address translation (NAT) allows an instance in a private subnet to connect to the internet. AWS provides two ways to achieve NAT with VPCs: the newer NAT gateways and the older NAT instances. In this recipe, we will learn how to create and configure NAT instances. We learned about NAT gateways in the Setting up and configuring NAT gateways recipe in Chapter 5, Network Security with VPC.
Setting up and configuring NAT instances
Getting ready
To complete the steps within this recipe, we need the following:
- We need to create a VPC with public and private subnets by following the Creating...