fastai / course-v3

The 3rd edition of course.fast.ai
https://course.fast.ai/
Apache License 2.0
4.9k stars 3.55k forks source link

GCP tutorial suggests localhost 8080 port mapping but that creates a problem #458

Open adamkleingit opened 4 years ago

adamkleingit commented 4 years ago

This refers to docs/start_gcp.md

I noticed that the tutorial suggests mapping port 8080 of the VM to localhost. The problem is that if ssh disconnects, the port is gone and Jupyter notebook gets stuck. To bypass this, I changed the Jupyter config to allow all origins and I connect directly to the VM's public IP address at port 8080 - and that continues to work regardless of the SSH.

If that sounds like a better approach, I can share the config I changed for Jupyter (maybe there's a better way to do it)

Cheers