0% found this document useful (0 votes)
7 views1 page

vpc-work

The document provides command line instructions for creating a network in auto-mode using Google Cloud's console. It includes commands to create a virtual private cloud (VPC) network and a firewall rule that allows ingress traffic from a specified IP range. Both commands are associated with the project named 'first-labs'.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

vpc-work

The document provides command line instructions for creating a network in auto-mode using Google Cloud's console. It includes commands to create a virtual private cloud (VPC) network and a firewall rule that allows ingress traffic from a specified IP range. Both commands are associated with the project named 'first-labs'.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Commands for creating network in auto-mode in console by using command line :

gcloud compute networks create vpc-auto-console-mode --project=first-labs --


subnet-mode=auto

gcloud compute firewall-rules create vpc-auto-console-allow-custom --


project=first-labs
--network=projects/first-labs/global/networks/vpc-auto-console
--direction=INGRESS --priority=65534 --source-ranges=10.128.0.0/9 --action=ALLOW
--rules=all

You might also like