Introduction:
Table of Contents
- Amazon Virtual Private Cloud (Amazon VPC) lets you provision a logically isolated section of the AWS Cloud where you can launch AWS resources in a virtual network that you define..
- Discuss on process to Custom VPC Cleanup Steps
- You can use both IPv4 and IPv6 in your VPC for secure and easy access to resources and applications.
Benefits:
- Secure
- Simple
- Customizable
How to Create VPC:
- Log in to the AWS account.
- Go to services and click on VPC.
Fig. VPC Dashboard.
- Click on Create VPC.
Fig. VPC Creation Page.
- Give Name Tag.
- Give IPv4 CIDR block as 10.10.0.0/16 (why 16 means it will give 35000 IP address which can be used).
- Click on Create.
Fig. VPC has created.
- Check whether VPC has created or not.
- Go to the VPC dashboard.
Fig. VPC dashboard.
- VPC has created.
How to Create Route Table:
- When we create VPC by default Route Table will be created.
- Now in VPC go to Route Table and click on Route table.
Also check Inbound and Outboud Rule
Fig. Route Table dashboard.
- See by default a route Table has created by creating VPC.
- Click on Create Route Table.
Fig. Route Table Creation Page.
- Give Name Tag.
- Select the VPC for which you want to create a Route table.
- Click on Create.
Fig. A routing table has created.
- Check whether the routing table has created or not.
- Go to the route table dashboard.
Fig. Route table dashboard.
- A new route table has created.
How to create a subnet:
- Go to VPC and click on SUBNET which is on the left sidebar.
Fig. Subnet dashboard.
- Click on create Subnet.
Fig. Subnet creation Page.
- Give Nametag.
- Select VPC which you want to create Subnet.
- The availability zone can be given or it will be given by default.
- Give VPC IP address by copying the same IP address of the given VPC.
- For IPv4 first two digits has to be the same and remaining you can give up to 24.
- Click on Create.
Fig. The subnet has created.
How to attach a subnet to Route table:
- Again go to Route table dashboard.
Fig. Route Table dashboard.
- Select the Route Table for which you want to attach the subnet.
Fig. Route Table page.
- Click on Subnet Associations.
Fig. Subnet association’s page.
- Click on Edit Subnet associations.
Fig. Edit Subnet Associations Page.
- Select the subnet and click on save.
Fig. The subnet has attached to Route Table.
How to clean up custom VPC:
- Go to VPC.
Fig. VPC dashboard.
- Click on your VPCS.
Fig. VPC dashboard.
- Select the VPC which you want to delete.
- Then click on Actions.
Fig. showing action options.
- Click on Delete VPC.
Fig. Delete VPC page.
Basis of Cloud Deployment Models In Cloud Computing | Public vs Private vs Hybrid vs Community Cloud
- Click on Delete VPC.
Fig. VPC deleted the page.
- Now check whether VPC has deleted or not. (Cleanup Custom VPC(VIRTUAL PRIVATE CLOUD))
- Go back to Your VPCs page.
Fig. Your VPC page.
- Custom VPC Cleanup Steps confirm its deleted successfully.
Conclusion:
By this, we know how to create VPC, Subnet, Router Table, and how to attach subnet to the Route table. And also we know how to delete the custom VPC.