Skip to content

Instantly share code, notes, and snippets.

@b0noI
Created June 4, 2019 23:40
Show Gist options
  • Save b0noI/1018282bbd0a48580c0f77ba2052a7af to your computer and use it in GitHub Desktop.
Save b0noI/1018282bbd0a48580c0f77ba2052a7af to your computer and use it in GitHub Desktop.
export IMAGE_FAMILY="r-latest-cpu-experimental"
export ZONE="us-west1-b"
export INSTANCE_NAME="my-r-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=100GB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment