{"id":3857,"date":"2019-12-12T19:36:36","date_gmt":"2019-12-12T19:36:36","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=3857"},"modified":"2026-12-04T12:19:30","modified_gmt":"2026-12-04T12:19:30","slug":"amazon-vpc-management","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/","title":{"rendered":"Amazon VPC: Subnets, Route Tables, NAT &#038; Peering Guide"},"content":{"rendered":"<h2>Amazon VPC Management<\/h2>\n<p><span style=\"font-weight: 400;\">You can deploy AWS resources into your own virtual network using Amazon VPC. This tutorial explains what Amazon VPC is, shows you how to deploy a VPC within AWS in steps. Also explained is how to deploy an AWS VPC, including both public and private subnets. The article continues by describing how the route table, internet gateway and NAT are used and then demonstrates how to set up a VPC Peering between two VPCs within AWS.<\/span><\/p>\n<p><b>\u26a1 QUICK ANSWER<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An Amazon VPC is a virtual network within AWS. You can deploy resources into this network. You can define an IP range, establish subnets and manage a network using route tables, an internet gateway and network ACLs. Public subnets can communicate directly with the internet whereas private subnets communicate via NAT, and are therefore protected.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Are you searching for the best platform to obtain information on Amazon VPC Management? Are you excited at the prospect of completing a highly regarded Certification Course provided by India&#8217;s Leading AWS Training institute? Well you have found the Right Path!<\/span><\/p>\n<p><span style=\"font-weight: 400;\">By following the Below Tutorial, you will be able to Understand in depth information on Amazon VPC Management. Simply follow all Tutorials from India&#8217;s Leading Best AWS Training institute and become a Pro AWS Developer.<\/span><\/p>\n<p><b>In this article, you will learn:<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">What Is Amazon VPC and How Does It Work?<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">How to Create VPC in AWS Step by Step<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">AWS VPC with Public and Private Subnets<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Internet Gateway and Route Table Setup<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">NAT Instance and NAT Gateway for Private Subnets<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">DNS Hostnames, Network ACL and Apache Test<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">How to Set Up VPC Peering Between Two VPCs in AWS<\/span><\/li>\n<\/ul>\n<h2><b>What Is Amazon VPC and How Does It Work?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Using <a href=\"https:\/\/docs.aws.amazon.com\/vpc\/latest\/userguide\/what-is-amazon-vpc.html\">Amazon Virtual Private Cloud (Amazon VPC)<\/a>, you can deploy resources onto a virtual network that you define. Like a physical network that you would manage in your own data centre, it benefits from the scalability of<\/span><a href=\"https:\/\/prwatech.in\/blog\/aws\/aws-introduction\/aws-introduction-overview-of-amazon-web-services\/\"> <span style=\"font-weight: 400;\">Amazon Web Services<\/span><\/a><span style=\"font-weight: 400;\"> cloud infrastructure.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Amazon VPC is the OSI model networking layer for Amazon EC2.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This tutorial will demonstrate how to design your infrastructure or private network.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A VPC is assigned a private IP range. This can then be sub-divided into subnets in various Availability Zones. Traffic from these subnets can then be directed using route tables. An internet gateway links public subnets to the internet. Furthermore, a NAT can be utilised so that private subnets can communicate externally but are not themselves externally accessible.<\/span><\/p>\n<h3><b>How to Create VPC in AWS Step by Step<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">In order to design a secure VPC, we will first deploy a DemoVPC (IP range 10.0.0.0\/16).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Login to your AWS Console and search for VPC on the Dashboard.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click on VPC and you will be forwarded to the VPC dashboard.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">There is already a default VPC present.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">However, you must deploy your own bespoke VPC and assign it a name. Within this tutorial I have named mine DemoVpc. Further, you must assign a CIDR range to further limit who can access your network.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As shown in the image below, my Demovpc has been deployed.<\/span><\/p>\n<h3><b>AWS VPC with Public and Private Subnets<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Following deployment of a DemoVpc, we will now deploy four subnets underneath it. By default there are also default subnets already present and you can view these:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Public SubnetS (IP range 10.0.0.0\/24) \u2013 AZ 1a<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Within the VPC section, click on the VPC that has just been deployed (I have selected Dmovpc).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Repeat the above step for PublicSubnetB<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Public Subnet (IP range 10.0.1.0\/24) \u2013 AZ 1b<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Again, repeat the above step for PrivateSubnetA and PrivateSubnetB.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">PrivateSubnetA (IP range 10.0.16.0\/20) \u2013 AZ 1a<\/span><\/p>\n<p><span style=\"font-weight: 400;\">and<\/span><\/p>\n<p><span style=\"font-weight: 400;\">PrivateSubnetB (IP range 10.0.32.0\/20) \u2013 AZ 1b<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Further, ensure that auto-assign public IP is set to true for both publicSubnet&#8217;s.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This needs to be configured for both public subnets A and B.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Assuming that you already have knowledge of EC2, deploy a new instance within publicSubnetA. Ensure that your instance can be accessed from anywhere (SSH 0.0.0.0.\/0).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">During deployment of your instance, note the following key points:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Within step 3 below, you can deploy an instance using any OS\/AMI. In this tutorial I have deployed using Amazon Linux.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Deploy your instance within publicSubnetA using either an existing or new key-pair. This will allow you to later access your instance.<\/span><\/p>\n<h3><b>Internet Gateway and Route Table Setup<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Next, deploy an internet gateway. There is also already a default internet gateway.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To deploy a new internet gateway, click on the option available within the left hand pane.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Deploy a DemoIGW and then associate it with your DemoVPC. This will facilitate communication of traffic between your VPC and the internet.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Attach to VPC<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Access the Route Table section:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Deploy two route tables (Public and Private) and associate both with your DemoVpc.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">And PrivateRouteTable<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Further, associate your public and private subnets with their relevant route tables.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Associate both public subnets with the PubliRoute Table.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Repeat this process for the PrivateRouteTable and associate both of your private subnets with it.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Within the PublicRoute Table, deploy a new route for 0.0.0.0\/0 and associate it with your DemoIGW.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click on Edit routes<\/span><\/p>\n<p><b>Get the free Amazon VPC design checklist<\/b><\/p>\n<p><span style=\"font-weight: 400;\">If you are planning your own network&#8217;s CIDR, subnets and route tables, then download our one page checklist to aid you in your planning. Complete our quick form to receive a copy of this checklist: [lead form link]<\/span><\/p>\n<h3><b>NAT Instance and NAT Gateway for Private Subnets<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">To enable the communication of private instances with the internet we will now deploy a NAT.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Deploy a NAT instance within publicSubnetB. Ensure that it can be accessed from anywhere (SSH 0.0.0.0\/0) and that it can communicate with both HTTP and HTTPS traffic (both with IP range 10.0.0.0\/16).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Next, deploy a new instance within privateSubnetA. Again, deploy this instance using either an existing or new key-pair. Ensure that it can only be accessed via SSH from within the 10.0.0.0\/16 IP range.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Deploy your private instance, again using either an existing or new key-pair.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In order for your NAT to function, ensure that Source\/Disable destination check is turned off.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Finally, using your new key, SSH into your private instance from your public instance.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Initially, SSH into your public instance. For this tutorial I am utilising \u2018putty\u2019 software and connecting using my public Ec2 instance&#8217;s private key.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Within the putty, type in the IPv4 Public IP address of your public Ec2 instance within the Hostname box. You can then log in by typing in either \u2018ec2-user\u2019 or your relevant username depending on the OS that you are accessing.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As previously stated, your private instance will not have internet access. Therefore, within your privateRoute table deploy the following:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A route for 0.0.0.0\/0 to your NAT instance. Further, within your NAT&#8217;s security settings, permit all incoming ICMPV4 traffic.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Navigate to winscp:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To transfer the .pemfile for your private EC2 instance from your local computer to your public EC2 instance, type in the IP address of your public EC2 instance within the Hostname box. Further, within the username box type in your username.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click on Advanced and then on Authentication. From here, select the private key relating to your public EC2 instance to enable connection to your public EC2 instance using winscp.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Follow the steps demonstrated within the image below:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Finally, terminate your previously deployed NAT instance.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To deploy a NAT Gateway within PublicSubnetA, first terminate your NAT instance.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Deploy NAT Gateway within PublicSubnetA<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Deploy NAT Gateway:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Access your PrivateRoute table and amend it so that it routes to your NAT Gateway.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Then, associate your NAT Gateway with your PrivateRouteTable. This will enable your private EC2 instance to communicate with the internet.<\/span><\/p>\n<h3><b>DNS Hostnames, Network ACL and Apache Test<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">To enable DNS public hostname, navigate to your DemoVPC and enable this feature.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Enable<\/span><\/p>\n<p><span style=\"font-weight: 400;\">By default, a NACL (Network Access Control List) has also already been deployed for your DemoVPC (DemoNACL).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Both the inbound and outbound settings on this default NACL are permitted.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In this tutorial we will deploy an apache server (Hello World) on our public EC2 instance. To do so, amend the security group settings for your public instance and permit HTTP traffic from 0.0.0.0\/0.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Deployment of HTTP server on Public EC2 Instance<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Initially, switch to root user:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">$ sudo su<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Now you will work as superuser or root user<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Then update your instance with any latest update (Not mandatory, but keep your instance up to date with latest update)<\/span><\/p>\n<h2><b>yum update -y<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Now install http server on machine<\/span><\/p>\n<h2><b>install \u2013y httpd.x86_64<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Click &#8220;y&#8221;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Once you install it, start the service.<\/span><\/p>\n<h2><b>Systemctl start httpd.service<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Just to ensure about proper http installation<\/span><\/p>\n<h2><b>curl localhost:80<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">We also can add an index.html file into the http directory as well.<\/span><\/p>\n<h2><b>echo &#8220;hello world&#8221; &gt; \/var\/www\/html\/index.html<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">As shown in the image above, the message \u201chello world\u201d will be displayed.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Having successfully deployed apache, you can then view it within a browser.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">However, if you attempt to do this, and within the NACL amend the inbound settings to deny HTTP (port 80), then your request will not be fulfilled.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Again, if you try to view our page within your browser, your request still will not be fulfilled.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If however, you amend the settings to deny on port 110, then your page will again be viewed. Refreshing your browser will then successfully fulfil your request.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Important: Leave your Network ACL settings unchanged.<\/span><\/p>\n<h3><\/h3>\n<h2><b>How to Set Up VPC Peering Between Two VPCs in AWS<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">VPC Peering<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We will establish a peering connection between our default VPC and our DemoVPC.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Further, deploy a new instance within our default VPC. Again, ensure that it can be accessed from anywhere (SSH 0.0.0.0\/0). For this tutorial I have deployed an Amazon Linux Instance and have not amended any settings. Therefore, both the VPC and subnet deployed are default ones.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Some key steps are outlined below.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Your default instance within the default VPC is now ready for connection. Using putty, connect to your default VPC instance.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Curl localhost:80 from your public instance. This will successfully occur. However, the same will not be achievable from your default vpc instance.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Establish a peering connection (DemoPeering)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Access the Peering Connections section.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click on Create Peering Connections<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Define yourself as Requestor and your DemoVPC as such.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Define the acceptor as defaultVPC.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Accept the request.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Access your PublicRoute Table and add a rule:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For defaultVPC CIDR to pcx<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Repeat this process for the Default RouteTable also.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For DemoVPC(10.0.0.0\/16) CIDr to pcx. This will then successfully occur.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">And finally, never hesitate to seek assistance!<\/span><\/p>\n<h3><\/h3>\n<h2><b>Conclusion<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Amazon VPC enables you to fully manage your AWS network and regulate who can access what. Within this tutorial you have learnt how to deploy a VPC; sub-divide it into public and private subnets; utilise an internet gateway for external internet communication; manage traffic flow using route tables and deploy NAT so that private instances can communicate externally. Moreover, you have seen how to establish a peering connection between two VPCs. Correct initial network design is essential to avoid future re-design. As more workloads continue to move to the cloud, good knowledge of AWS VPC networking will remain highly sought after within AWS related job roles.To build practical AWS networking skills with expert guidance, explore Prwatech&#8217;s<\/span><a href=\"https:\/\/prwatech.in\/aws-training-online-course\/\"> <span style=\"font-weight: 400;\">AWS online training course<\/span><\/a><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<h2><\/h2>\n<h2><b>Frequently Asked Questions<\/b><\/h2>\n<ol>\n<li><b> What is Amazon VPC?<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Amazon VPC is a virtually isolated network within the AWS cloud. You can deploy resources onto it. You can define an IP range, establish subnets and manage a network using route tables, gateways and security. Essentially, it functions in a similar way to a physical network within your data centre but on AWS&#8217; scalable infrastructure.<\/span><\/p>\n<ol start=\"2\">\n<li><b> How to create a VPC in AWS step by step?<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Log into your AWS Console. Search for and open the VPC dashboard. From here, deploy a VPC, assigning it a name and a CIDR range (for example, 10.0.0.0\/16). Next, deploy subnets, an internet gateway and route tables so that your network can be utilised.<\/span><\/p>\n<ol start=\"3\">\n<li><b> What is the difference between a public and a private subnet?<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Public subnets contain a route to an internet gateway. Consequently, instances within them can communicate both with, and from, the internet. Private subnets do not have a direct route to the internet. Instead, instances within them communicate with the internet via a NAT. Further, no external entities can instigate communication with these instances.<\/span><\/p>\n<ol start=\"4\">\n<li><b> What does an internet gateway do in a VPC?<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">It facilitates communication between your VPC and the internet. Firstly, you must deploy an internet gateway and then associate it with your VPC. Finally, you must add a route to 0.0.0.0\/0 within your public route table so that it directs traffic to this gateway. Without this, even instances with public IP addresses will not be able to communicate externally.<\/span><\/p>\n<ol start=\"5\">\n<li><b> What is a route table in AWS VPC?<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Route tables are rules that determine where traffic originating from a subnet is directed. Each subnet is associated with one route table. Within this tutorial, the public route table directs internet traffic to our internet gateway whereas the private route table directs it to our NAT.<\/span><\/p>\n<ol start=\"6\">\n<li><b> Why do private instances need NAT?<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Whilst private instances do not possess public IP addresses, they frequently require the ability to download updates. Therefore, NAT is utilized to allow these instances to instigate external communication. Furthermore, it prevents external instigation of communication. Both a NAT instance and the managed NAT gateway can be used. Within this tutorial, we initially deploy a NAT instance and then replace this with a NAT gateway.<\/span><\/p>\n<ol start=\"7\">\n<li><b> How to set up VPC peering between two VPCs in AWS?<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Within the VPC Peering area, deploy a peering connection. Designate one VPC as Requestor and another as Acceptor. Accept the request. Finally, within each VPC&#8217;s route table, add a rule directing traffic for the other VPC&#8217;s CIDR range to the peering connection. Communication can then occur between the two VPCs.<\/span><\/p>\n<ol start=\"8\">\n<li><b> What is a NACL and how is it different from a security group?<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Whereas security groups are instance-level, network ACLs (NACLs) are subnet-level. Further, network ACLs contain numbered allow and deny rules which are assessed sequentially. Conversely, security groups only contain allowed rules. Within this tutorial, our web page was prevented from being viewed as a result of the deny rule for HTTP traffic within our NACL. This was rectified by amending this rule.<\/span><\/p>\n<ol start=\"9\">\n<li><b> What is the difference between a NAT instance and a NAT gateway?<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">A NAT instance is an EC2 instance that you manage. You must also ensure that its source\/destination check is disabled. In contrast, a NAT gateway is a managed AWS service that is deployed within a public subnet. Within this tutorial, we first deploy a NAT instance to demonstrate its functionality and then substitute it with a NAT gateway.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Amazon VPC Management You can deploy AWS resources into your own virtual network using Amazon VPC. This tutorial explains what Amazon VPC is, shows you how to deploy a VPC within AWS in steps. Also explained is how to deploy an AWS VPC, including both public and private subnets. The article continues by describing how [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3931,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1652,31],"tags":[1792,395,1791,1790],"class_list":["post-3857","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-amazon-virtual-private-cloud-vpc","category-aws","tag-amazon-vpc-introduction-to-amazon-virtual-private-cloud","tag-amazon-vpc-management","tag-manage-aws-resources-aws-management-console","tag-mastering-amazon-vpc"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Amazon VPC: Subnets, Route Tables, NAT &amp; Peering Guide<\/title>\n<meta name=\"description\" content=\"Learn Amazon VPC step by step: create a VPC, public and private subnets, route tables, internet gateway, NAT and VPC peering in AWS.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Amazon VPC: Subnets, Route Tables, NAT &amp; Peering Guide\" \/>\n<meta property=\"og:description\" content=\"Learn Amazon VPC step by step: create a VPC, public and private subnets, route tables, internet gateway, NAT and VPC peering in AWS.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-12T19:36:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-12-04T12:19:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/12\/Red-and-Black-Japanese-Restaurant-Logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/\",\"url\":\"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/\",\"name\":\"Amazon VPC: Subnets, Route Tables, NAT & Peering Guide\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/12\/Red-and-Black-Japanese-Restaurant-Logo.png\",\"datePublished\":\"2019-12-12T19:36:36+00:00\",\"dateModified\":\"2026-12-04T12:19:30+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Learn Amazon VPC step by step: create a VPC, public and private subnets, route tables, internet gateway, NAT and VPC peering in AWS.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/12\/Red-and-Black-Japanese-Restaurant-Logo.png\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/12\/Red-and-Black-Japanese-Restaurant-Logo.png\",\"width\":500,\"height\":500},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Amazon VPC: Subnets, Route Tables, NAT &#038; Peering Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Amazon VPC: Subnets, Route Tables, NAT & Peering Guide","description":"Learn Amazon VPC step by step: create a VPC, public and private subnets, route tables, internet gateway, NAT and VPC peering in AWS.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/","og_locale":"en_US","og_type":"article","og_title":"Amazon VPC: Subnets, Route Tables, NAT & Peering Guide","og_description":"Learn Amazon VPC step by step: create a VPC, public and private subnets, route tables, internet gateway, NAT and VPC peering in AWS.","og_url":"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2019-12-12T19:36:36+00:00","article_modified_time":"2026-12-04T12:19:30+00:00","og_image":[{"width":500,"height":500,"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/12\/Red-and-Black-Japanese-Restaurant-Logo.png","type":"image\/png"}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/","url":"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/","name":"Amazon VPC: Subnets, Route Tables, NAT & Peering Guide","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/12\/Red-and-Black-Japanese-Restaurant-Logo.png","datePublished":"2019-12-12T19:36:36+00:00","dateModified":"2026-12-04T12:19:30+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Learn Amazon VPC step by step: create a VPC, public and private subnets, route tables, internet gateway, NAT and VPC peering in AWS.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/12\/Red-and-Black-Japanese-Restaurant-Logo.png","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/12\/Red-and-Black-Japanese-Restaurant-Logo.png","width":500,"height":500},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/aws\/amazon-virtual-private-cloud-vpc\/amazon-vpc-management\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Amazon VPC: Subnets, Route Tables, NAT &#038; Peering Guide"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/3857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=3857"}],"version-history":[{"count":7,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/3857\/revisions"}],"predecessor-version":[{"id":12257,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/3857\/revisions\/12257"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media\/3931"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=3857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=3857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=3857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}