What is the use of Jupyter Notebook cluster


问题内容

Can you tell me what is the use of jupyter cluster. I created jupyter
cluster,and established its connection.But still I’m confused,how to use this
cluster effectively?

Thank you


问题答案:

With Jupyter Notebook cluster, you can run notebook on the local machine and
connect to the notebook on the cluster by setting the appropriate port number.
Example code:

  1. Go to Server using ssh username@ip_address to server.
  2. Set up the port number for running notebook. On remote terminal run jupyter notebook --no-browser --port=7800
  3. On your local terminal run ssh -N -f -L localhost:8001:localhost:7800 username@ip_address of server.
  4. Open web browser on local machine and go to http://localhost:8001/