Skip to content

Jupyter notebooks

The steps to run a Jupyter notebook on Ponyland:

  • Pick your favorite 4 digit number. This will be your port. Pick the pony you want to use.
  • Create a virtualenv on this Pony and install Jupyter in it.
  • Run the notebook process on the specific port.
  • Set up an SSH tunnel, so all incoming request for this port on your local machine will be forwarded to the port on your pony. When using Putty, you can find out how to set up an SSH tunnel here: https://blog.devolutions.net/2017/04/how-to-configure-an-ssh-tunnel-on-putty . When using a terminal directly, this can be achieved with the -L flag. For example:

    ssh -L 9000:localhost:9000 wstoop@twist.science.ru.nl
    
    - Simply go to your browser and type http://localhost:9000/ , but of course using your port. The Jupyter process might give you an url with a token embedded the first time.