Configure AWS NAT Gateway for Private Subnets Internet Access
This amazon web services VPC tutorial will help you to configure NAT gateway for private subnets internet access on AWS.
Steps to Configure AWS NAT Gateway:
1. Create a NAT Gateway in public subnet
2. Update route table of private subnet and add route for internet traffic (0.0.0.0/0) using NAT Gateway
3. Login to EC2 A and from there login to EC2 B over ssh
4. Now try to access internet from EC2-B instance. Now its working!
In this AWS VPC tutorial will give an overview of Amazon VPC and its features. Amazon Virtual Private Cloud (Amazon VPC) lets you provision a logically isolated section of the Amazon Web Services (AWS) cloud where you can launch AWS resources in a virtual network that you define. You have complete control over your virtual networking environment, including selection of your own IP address range, creation of subnets, and configuration of route tables and network gateways. You can use both IPv4 and IPv6 in your VPC for secure and easy access to resources and applications.
You can easily customize the network configuration for your Amazon Virtual Private Cloud. For example, you can create a public-facing subnet for your webservers that has access to the Internet, and place your backend systems such as databases or application servers in a private-facing subnet with no Internet access. You can leverage multiple layers of security, including security groups and network access control lists, to help control access to Amazon EC2 instances in each subnet.
Additionally, you can create a Hardware Virtual Private Network (VPN) connection between your corporate datacenter and your VPC and leverage the AWS cloud as an extension of your corporate datacenter.
Written by admin