Setting up multiuser Jupyter environment

This section explains you how to use JupyterHub for providing multiuser environment for ipython

  1. login to jupyter hub using ubuntu

  2. /img/common/jupyterhub_signin.png

  3. This will log you as an ubuntu user to the jupyterhub notebook.By default Python AI and Machine Learning Kit for Production and Development comes with ubuntu user.
  4. /img/common/jupyterhub_ubuntu.png

  5. create new user and login with the that user.
  6. To add new user, RDP to your VM, open terminal and enter below command.( How to RDP to VM )
  7. sudo adduser "username"


  8. This will create the new user. Fullsetup is copied into the home directory of new user.
  9. login with new user
  10. /img/common/jupyterhub_alice_signin.png

  11. New server will spawn for this user which will have completely seperate ipython/jupyter enviroment from ubuntu user.
  12. /img/common/jupyterhub_server_spawn.png

  13. This is new user homepage.
  14. /img/common/jupyterhub_alice_notebook.png

    • This way Jupyterhub is used to create jupyter/ipython enviroment for multiple users.Instead of subscribing to multiple VMs, one can subscribe to single VM and create multiple user to use the notebook.
    • It can be used in a classes of students, a corporate data science group or scientific research group.
    • It is a multi-user Hub that spawns, manages, and proxies multiple instances of the single-user Jupyter notebook server.