Configure VPC and Subnets Manually on AWS | Part-26 | Hari's Academy

Опубликовано: 10 Июнь 2026
на канале: DevOpsKloud
971
61

Hey guys.
This is the Part 26 of AWS Certified Solutions Architect - Associate course. In this section we are going to learn how to create a VPC, one Public and One Private Subnets manually. Also, we will learn about Internet Gateway, Route Tables & NAT gateway in this section with complete demo. So don't miss to see the video till the end.

Below are the steps need for the demo:

Demo on Configuring a VPC with 2 Subnets (Public & Private):

1) Create a VPC with CIDR range of 10.0.0.0/16 - 65531 ip addressess.
2) Create a Public subnet with CIDR range of 10.0.1.0/24 - 251 IP addressess in AP-SOUTH-1a AZ.
3) Create a Private Subnet with CIDE range of 10.0.2.0/24 - 251 IP addressess in AP-SOUTH-1b AZ.
4) Create an Internet Gateway and assign it to the newly created VPC.
5) Assign this Internet Gateway to the Default Main Route table which got created automatically when we create a VPC with the IP address range as 0.0.0.0/0 so as to access internet and assign the Public Subnet in the Subnet association.
6) Create a NAT gateway in Public Subnet, which will ask you to allocate an EIP address. Once this is created, we can create a Private Route table and assign the IP address range 0.0.0.0/0 to NAT gateway.
7) Then, in the Subnet associations, add the Private Subnet, which will help the EC2's created in private subnet to access Internet.

Voila !!! we have successfully completed the Demo. Please dont forget to delete the NAT gateway first, followed by releasing EIP address, then we can delete the VPC which will delete all that is present under a VPC. This way we dont end up with the charges. Also, please note the NAT gateways are billable and are not covered under Free Tier Pricing.

If you really like my work, please support me by subscribing to this channel and share it with your friends as well.

See you in the next session... Till then Happy Learning !!!

#awstutorial
#awstrainingvideos
#awscertifications
#awscertificationsandtrainings
#awsVPC
#awsElasticLoadBalancer
#awslaunchtemplates
#awsRoute53
#NATGateway
#awscertification
#softwaretrainings
#computertrainings