Created
August 8, 2018 17:47
-
-
Save b0noI/aea9ad8ed41a091216acbacb6cd68186 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PROJECT_NAME="" # put your project name | |
export INSTANCE_NAME="" # put the instance name | |
# pick the zone that is supported by tpu: | |
# https://cloud.google.com/tpu/docs/regions | |
export ZONE="us-central1-b" | |
gcloud compute instances create $INSTANCE_NAME \ | |
--project=$PROJECT_NAME \ | |
--zone=$ZONE \ | |
--machine-type=n1-standard-2 \ | |
--subnet=default \ | |
--image="tf-1-9-cpu-1533076560" \ | |
--image-project=deeplearning-platform-release \ | |
--boot-disk-size=30GB \ | |
--boot-disk-type=pd-ssd \ | |
--scopes=cloud-platform |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment