Skip to content

Instantly share code, notes, and snippets.

@rgodishela
Created May 25, 2017 11:28
Show Gist options
  • Save rgodishela/7fab9a47431a773efe350ec4df601005 to your computer and use it in GitHub Desktop.
Save rgodishela/7fab9a47431a773efe350ec4df601005 to your computer and use it in GitHub Desktop.
gcloud compute --project "cncf-demo" instances create "instance-1" --zone "us-east1-b" --machine-type "n1-standard-4" --subnet "default" --address 35.185.21.149 --metadata "startup-script=yum install update -y\u000ayum install git vim go -y" --maintenance-policy "MIGRATE" --service-account "464404446259-compute@developer.gserviceaccount.com" --scopes "https://www.googleapis.com/auth/cloud-platform" --tags "http-server","https-server" --image "centos-7-v20170426" --image-project "centos-cloud" --boot-disk-size "40" --boot-disk-type "pd-standard" --boot-disk-device-name "instance-1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment