easygcloud

Create a new VPC network with custom subnet mode for fine-grained subnet control

command

gcloud compute networks create NETWORK_NAME --subnet-mode custom

also accepted

gcloud compute networks create

Command breakdown

Part of the Google Cloud CLI (gcloud) — Networking category.

gcloudcomputenetworkscreateNETWORK_NAME--subnet-modecustom
FlagPurpose
--subnet-modeBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →