3

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

U13-Forward
  • 69,221
  • 14
  • 89
  • 114
jisha j
  • 33
  • 1
  • 1
  • 4

1 Answers1

5

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/
Pawandeep Singh
  • 830
  • 1
  • 13
  • 25
  • When you use jupyter notebook without cluster your code will get execute on local cpu/gpu. But when you use notebook cluster code will get execute on server cpu/gpu. – Pawandeep Singh Aug 16 '18 at 04:52
  • Will this make use of all the cluster system resources like RAM., and use to process efficiently like hadoop? Will it do so? – Mohith7548 Oct 09 '18 at 09:47
  • 1
    I am interested too, if jupyter can run jobs distributed or not. In the latter case it would still run jobs on single node, even if is connected to a cluster. Right? – toto' Apr 29 '21 at 09:23