How to Create Custom VPC in AWS Cloud

How to Create Custom VPC in AWS  Cloud

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that offers secure and scalable compute capacity in the cloud. Amazon EC2 provides multiple possibilities for building and running practically any application. 

These options make it simple to get started with EC2. Lets go through the steps for creating the custom VPC in AWS Cloud.

Custom VPC in AWS Cloud

Step1: Log in to your AWS Management Console > VPC Dashboard

AWS mgmt Console

Step2: Go to Create VPC and give it an unique name with IPv4 of any class

AWS VPC

Step3: Then go to Subnets under VPC and create a new subnet

AWS Subnets

Step4: Select an appropriate VPC and provide a unique name

AWS VPC ID

Step5: Then select the availability zone and enter the IPv4 CIDR between /16  and /24

AWS Availability Zone

Step6: Create a new Route Table

AWS Route Table

Step7: Create a new Internet Gateway for the VPC to give internet to the public subnet

AWS Internet Gateway

Step8: Edit the Route Tables to add the Internet Gateway with 0.0.0.0/0

AWS Route Tables

Step9: Edit the Subnet association of the Route Tables by selecting appropriate public subnet

AWS Public Subnets

Step10: Create a new Security Group by providing unique name and selecting appropriate VPC. Allow the protocols as per your preference such as SSH, RDP and so on.

AWS Security Group

Step11: Edit the subnet settings to automatically allocate and assign public IPv4 address to the instance.

AWS Subnet Assignment


Step12: When launching a new instance edit the network settings with the custom VPC and Security Group 

Custom VPC & Security Group

Continue Reading...