Skip to content

Instantly share code, notes, and snippets.

@b0noI
Created August 2, 2018 04:14
Show Gist options
  • Select an option

  • Save b0noI/f954fe261f40d88a4c18178fa13f83e8 to your computer and use it in GitHub Desktop.

Select an option

Save b0noI/f954fe261f40d88a4c18178fa13f83e8 to your computer and use it in GitHub Desktop.
export IMAGE_FAMILY="tf-latest-cpu" # or put any required
export ZONE="us-west1-b"
export INSTANCE_NAME="my-instance"
export INSTANCE_TYPE="n1-standard-8"
gcloud compute instances create $INSTANCE_NAME \
--zone=$ZONE \
--image-family=$IMAGE_FAMILY \
--image-project=deeplearning-platform-release \
--machine-type=$INSTANCE_TYPE \
--boot-disk-size=120GB \
--min-cpu-platform=Intel\ Skylake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment