Thursday, June 21, 2018

Using NAT Gateways in Amazon AWS

Share this Post


In AWS you can design your own network using VPC (Virtual Private Cloud). You can assign your own IP address ranges and split your network into Public and Private Subnets. In simple words, Public Subnet is like Green Zone where traffic from the internet is allowed while Private Subnet is DMZ where no direct internet access is allowed.


So what if we need to install/update/upgrade software, utilities or OS on EC2 Instances running in a private subnet? one option is to manually FTP to the box and install it but sometimes is not feasible.

For scenarios like these AWS provides us NAT Gateways (previously NAT Instances which are going to obsolete soon).

Let’s see how to setup NAT Gateways in your VPC


To configure NAT gateway follow these steps
  1. Make sure you have Internet Gateway route defined in Routing Table
  2. Get the Public Subnet ID where your NAT gateway would be deployed
  3. Create NAT Gateway
  4. Test the Internet connectivity
For detail solution with screenshots check my posts on DataNext Blog and 

DataNext Blog Using NAT Gateways in AWS 

Medium Blog Using NAT Gateways in AWS 

About DataNext

DataNext Solutions
is US based system integrator, specialized in Cloud, Big Data, DevOps technologies. As a registered AWS partner, our services comprise any Cloud Migration, Cost optimization, Integration, Security and Managed Services. Click here and Book Free assessment call with our experts today or visit our website for more info.