Last active
August 8, 2018 17:22
-
-
Save b0noI/1b8331a7cb7a218ade3199b323bc5465 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-family=tf-latest-cpu \ | |
--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