Following the excellent setup instructions here https://course.fast.ai/start_gcp.html, for setting up GCP for Part 1 (2019), running gcloud compute ssh jupyter@my-fastai-instance -- -L 8080:localhost:8080
allows me to start using the correct setup for the course.
However, I also want to do some parts of 2018’s courses. So, following the instructions here Fastai v0.7 install issues thread, I created a conda envrionment for fastai v0.7. Now, after doing source activate fastai
, how do I serve the notebooks? For example, if I now do jupyter notebook --port=8888 -no-browser
, how do I connect to it from my computer? Is there a gcloud
command that’s equivalent to ssh -f -N -L localhost:8888:localhost:8888 xxxxx
?
Thanks