Perform AWS VPC Practical Lab

Let’s perform AWS VPC Practical Lab by following below steps:

1. Just login to AWS Management Console & Choose region Asia Pacific (Mumbai) ap-south-1  and use the search bar to find the VPC service.

2. Under VPC , click on the “Your VPCs” option in the left-hand menu, then click on the “Create VPC” button. Configure the following settings:

  •    Name tag: Enter “PS-VPC”
  •    IPv4 CIDR block: Enter “10.0.0.0/16”

3. Go to the “Internet Gateways” option in the left-hand menu, and click on the “Create internet gateway” button. Provide a name like “IGW-PS”. Once the internet gateway is created, select it and click on the “Attach to VPC” button. Choose “PS-VPC” from the drop-down menu and click on the “Attach” button.

4. To create the subnets, go to the “Subnets” option in the left-hand menu. Click on the “Create subnet” button and configure the following settings for the first subnet:

  •    Name tag: Enter “PS-PUBLIC-SUBNET1”
  •    VPC: Choose “PS-VPC”
  •    Availability Zone: Select “ap-south-1a”
  •    IPv4 CIDR block: Enter “10.0.0.0/24”

   Create a second subnet using the same steps, but with the following settings:

  •    Name tag: Enter “PS-PRIVATE-SUBNET1”
  •    VPC: Choose “PS-VPC”
  •    Availability Zone: Select “ap-south-1a”
  •    IPv4 CIDR block: Enter “10.0.2.0/24”

   Repeat the steps to create two additional subnets in the “ap-south-1b” Availability Zone, one public and one private, with the respective CIDR blocks: “10.0.1.0/24” and “10.0.3.0/24”.

5. Now, list the subnets by going to the “Subnets” option under the VPC service.

6. Go to the “Route Tables” option and click on the “Create Route table” button. Name it “PS-RT-PUBLIC” and select “PS-VPC” as the VPC. Click on the “Create” button.

7. Select the “PS-RT-PUBLIC” route table, then go to the “Routes” tab and click on the “Edit Routes” button. Add a destination CIDR of “0.0.0.0/0” and select “IGW-PS” as the internet gateway. Click on the “Save changes” button.

8. Go to the “Route Tables” option again and click on the “Action” button at the top. Choose the “Edit Subnet Association” option, then select “PS-PUBLIC-SUBNET1” and “PS-PUBLIC-SUBNET2”. Click on the “Save associations” button.

That’s all! We have completed the steps for creating a VPC, internet gateway, subnets, and configuring the route table.Here our two Subnets named  PS-PUBLIC-SUBNET1 &  PS-PUBLIC-SUBNET1 have internet access and rest two Subnets  PS-PRIVATE-SUBNET1 &  PS-PRIVATE-SUBNET2 don’t have internet access.The “Public Subnets” are used for say AWS EC2 Instance Application Web-Servers, which are assible through internet and the “Private Subnets” are used for AWS RDS Application Database Servers like MySQL,MariaDB,Oracle.

If  you really want to become an AWS Cloud Computing Expert , please refer this below website:

https://pravinmishra.in/

 

Hey Guys!!! Hope you like this post. Please share your views below.

1 thought on “Perform AWS VPC Practical Lab”

  1. This practical lab guide for creating an AWS VPC is incredibly helpful and well-structured. The step-by-step instructions make it easy to follow along and create the necessary components for a VPC setup. Well done!

Leave a Comment

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