Introduction
Virtual Private Cloud (VPC) lets you create a virtual network, select your own IP address range, create your own subnets, and configure your route tables and network gateways.
The Virtual Private Cloud (VPC) will be completely isolated from the other servers deployed in Amazon Web Services. Security groups and network access control lists will help us control the IP addresses of the virtual machines and route tables and gateways to the VPC.
Step 1. In the AWS Console, select a specific AWS Region to create a VPC (Virtual Private Cloud).
Step 2. In the AWS console, go to the Services, select Networking & Content Delivery, and then select VPC.
Step 3. Click Create VPC.
Step 4. Select VPC only so we can create the Subnets later. Enter the name for the VPC, enter the IPv4 block on the IPv4 CIDR, and click Create VPC.
Step 5. After creating the VPC, we need to create the Subnets. Click the Subnet under the Virtual Private Cloud and click Create Subnet.
Step 6: Select the correct VCP that we have created under the VPC ID.
Step 7. Under the Subnet name, enter the name for the Subnet, define the IP address block under the IPv4 subnet CIDR block, and click Create Subnet.
Note. If you want to create an additional subnet, click Add new Subnet before clicking the Create subnet.
Summary
We successfully created the VPC and the Subnet. In our next article, we will learn how to manage the VPC.