Skip to content

Instantly share code, notes, and snippets.

@michaelwsherman
Last active April 8, 2019 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelwsherman/2ef14bba8ab6f971ff7593c6f5332a9a to your computer and use it in GitHub Desktop.
Save michaelwsherman/2ef14bba8ab6f971ff7593c6f5332a9a to your computer and use it in GitHub Desktop.
export INSTANCE_NAME="my-instance"
export ZONE="us-west1-b"
gcloud compute instances stop $INSTANCE_NAME \
--zone=$ZONE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment