Deploy and Configure VPC, Subnet, Routing Table, Internet Gateway in AWS Cloud

AWS Cloud is the distributed computing is the on-request accessibility of PC framework assets, particularly information capacity and processing power, without direct dynamic administration by the client. Enormous mists frequently have capacities conveyed over numerous areas, every area being a server farm.


Reference taken from AWS official website


Step 1: Deploy VPC 10.0.0.0/16 


1st you need to deploy the VPC using with Class A, Class B, Class C, In this post we are going to use the 10.0.0.0/16 Class A IP range, Click on Create VPC button as per the screenshot.



 
 


 

Here you need to select the recourse to create VPC onlyTag name any name you want to,  Select IPv4 CIDR, and leave the all the things default and click on Create VPC button.



 

Specify the required TAG here like this.




After deployment of the VPC, We should get webpage like this. 

 

 

 

Also we can verify the newly created VPC in Your VPCs section like this.


 

 

Step 2: Deploy public subnet 10.0.0.0/24

Now we are ready to deploy the Public Subnet with 10.0.0.0/24, Click on Create Subnet button as showing in the screenshot. 

 

 

 


Select your VPC in order to deploy the subnet. 


 


You should get webpage like this.

 



Here you need to specify the Subnet nameAvailability zoneCIDR and Tags like this.


 

 


Verify the newly created subnet under Virtual Private Cloud, If everything is configured correctly, You should get your deployed subnet just like this. 



 

Step 3: Deploy Internet gateway and attach with VPC

Now we are good to deploy the Internet gateway and Attach with VPC and by following the given steps, Under the VIRTUAL PRIVATE CLOUD and select Internet Gateways, Click Create Internet Gateway button.




In this page we need to specify the Name Tag and Tag – Optional and Click on Create Internet Gateway button. 

 

 

 

Now your Internet Gateway deployed successfully but its not connected with Any VPC right now, So we need to attach newly created Internet Gateway with VPC.



 

To attach Internet Gateway with VPC, We need to click on Attach to a VPC button. 


 


Select your VPC where you want to connect internet gateway.

 

 

 

Click on Attach internet gateway button.


 

 

Now you should get a successful deployment message on your screen as per the screenshot.




Step 4: Routing table automatically deploy and edit and associate subnet and configure Internet gateway


By default AWS deployed a Routing table and we need to configure routing table with subnets and go to the under PRIVATE VIRTUAL CLOUD and select Routing table  1st. 

 



You need to select the Routing table and click on edit subnet associations button.

 

 

 

Here you need to select the Public subnet and click on Save Associate button.

 


 

After this you should get the success message like this.




Now we are good to configure route with routing table, Here you need to click on route section.

 


 

 

 

You need to click on edit route button and we can specify the Internet gateway route 0.0.0.0/0 to connect AWS instance with out of the world.


 


Specify the destination with 0.0.0.0/0 and select the internet gateway in target.

 

 

 

After this you should get success message like this.



 


Conclusion

We have successfully deployed the AWS’s VPC, Subnet, Routing table and S
ubnet associations.

Deploy and Configure VPC, Subnet, Routing Table, Internet Gateway in AWS Cloud

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top