VPC

VPC isolates your AWS resources within an AWS region, and it can spans across all Available Zones within that AWS Region and can be extended to AWS Local Zones and Wavelength zones.

Within one AWS Region, you can create more than one VPC if you want to isolate resources, for example you may want to create a VPC for an application and its resources and create another VPC for another application if you don't want to share resource between these two applications.

Below is a representation on a VPC in a Region that includes services like EC2 and Lambda functions and span across two availability zones.

AWS VPC in a region

VPC is the place for several settings, such as settings related to Networking, Network ACLs, Firewall settings, IPs, Routing tables, Gateway settings, Subnets, VPN and many other settings.

to know
VPC

You can create a VPC as a separate setup or you can also do this from other services such as while launching an EC2 instance, because any resource that you are going to create should be part of a VPC.

From AWS Console, search for VPC service and navigate to VPC dashboard.

AWS VPC dashboard

Next, from the VPC dashboard click on Launch VPC Wizard.

AWS VPC dashboard AWS VPC dashboard
VPC with a Single Public Subnet

If you have chosen VPC with a Single Public Subnet, then you will get below configuration wizard.

AWS VPC dashboard
VPC with Public and Private Subnets

If you have chosen VPC with Public and Private Subnets, then you will get below configuration wizard. It will be similar to VPC with Public Subnet wizard, in addition you will get few additional settings for the private subnet.

AWS VPC dashboard
VPC with Public and Private Subnets and Hardware VPN Access

If you have chosen VPC with Public and Private Subnets and Hardware VPN Access, then you will get below configuration wizard. It will be similar to VPC with Public and Private Subnets wizard, in addition you will get few additional settings for the VPN connection in Step 3.

AWS VPC dashboard
VPC with a Private Subnet Only and Hardware VPN Access

If you have chosen VPC with a Private Subnet Only and Hardware VPN Access, then you will get similar wizard as VPC with Public and Private Subnets and Hardware VPN Access, except the public subnet part.