Skip to content

Instantly share code, notes, and snippets.

@walditamaniko
Created September 1, 2020 10:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save walditamaniko/4d332b7e030d93059d543578b2385423 to your computer and use it in GitHub Desktop.
Save walditamaniko/4d332b7e030d93059d543578b2385423 to your computer and use it in GitHub Desktop.
Create Google Cloud VM via gcloud
This is will create Windows Server 2012 with 50GB SSD
gcloud compute instances create "windows-server" \
--machine-type "n1-standard-2" \
--image-project "windows-cloud" \
--image "windows-server-2012-r2-dc-v20200813" \
--subnet "default" \
--boot-disk-size "50" \
--boot-disk-type "pd-ssd"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment