Google cloud Using cloud shell create Custom VPC network in Quicklab

Опубликовано: 24 Май 2026
на канале: Cyethack Solutions
202
like

Create the privatenet network
Create the privatenet network using the Cloud Shell command line.

Run the following command to create the privatenet network:

gcloud compute networks create privatenet --subnet-mode=custom
Run the following command to create the privatesubnet-us subnet:

gcloud compute networks subnets create privatesubnet-us --network=privatenet --region=us-central1 --range=172.16.0.0/24
Run the following command to create the privatesubnet-eu subnet:

gcloud compute networks subnets create privatesubnet-eu --network=privatenet --region=europe-west4 --range=172.20.0.0/20