Created
November 7, 2018 16:56
-
-
Save fxfactorial/fc7a19902380a3acae97677aa2f360eb to your computer and use it in GitHub Desktop.
This file contains 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
ZONE="us-west2-b" | |
INSTANCE_NAME="fastai-class-fall-2018" | |
function fastai_ssh() { | |
gcloud compute ssh \ | |
--zone=$ZONE \ | |
jupyter@$INSTANCE_NAME \ | |
-- -L 8080:localhost:8080 | |
} | |
function fastai_start() { | |
gcloud compute instances start $INSTANCE_NAME --zone=$ZONE | |
} | |
function fastai_stop() { | |
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