A virtual private cloud (VPC) is a private cloud environment inside a public cloud like in AWS and Azure.
VPC is a dedicated private network for your project in the google cloud platform. It provides networking for virtual machine instances, containers, and app engines.
In Step by step, we will create our own customized virtual private cloud network in GCP.
STEP 1: Login to Google Cloud Console.
Search VPC and click CREATE VPC NETWORK
STEP 2: Create Your Customized VPC Network
By default, GCP provides automatic subnets, which we are going to create manually for our customized subnet.
STEP 3: Add IPV4 Manual Address Range
STEP 4: Assign IPV4 Firewall Filters
Global dynamic routing allows all subnetworks regardless of the region to be advertised to your on-premise router and region when using a cloud router. With global routing, you just need a single VPN with a cloud router to dynamically learn routes to and from all Google Cloud regions on a network.
STEP 5: Confirm Your Custom VPC
Once created, we can add an instance and assign desired VPC network to that instance.