Skip to content

Instantly share code, notes, and snippets.

@b0noI
Created September 13, 2018 00:42
Show Gist options
  • Select an option

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

Select an option

Save b0noI/e37504db4dc9b343b1302c5ca082f5b2 to your computer and use it in GitHub Desktop.
export IMAGE_FAMILY="common-cpu"
export ZONE="us-west1-b"
export INSTANCE_NAME="jupyter-with-custom-user"
gcloud compute instances create $INSTANCE_NAME \
--zone=$ZONE \
--image-family=$IMAGE_FAMILY \
--image-project=deeplearning-platform-release \
--metadata="jupyter-user=bob"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment