ssh
to the remote instance (based on Ubuntu Deeplearning AMI) with port* redirection:
ssh -L 8888:127.0.0.1:8888 ubuntu@IP
- activate the environment (here we're using
tensorflow_p36
):
source activate tensorflow_p36
- launch
jupyter
:
jupyter notebook --no-browser
- copy the link with the token
- on your local machine, go to the link copied above.
*: this will redirect all the traffic on port 8888
to this instace. It might be in conflict with your local jupyter server for example. A solution is to redirect towards another port and use the same port when launching jupyter.