Go back

Setting up multiuser Jupyter environment

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

Most administration & configuration of the JupyterHub can be done from the web UI directly. Let’s add a few users who can log in!

  1. This VM comes with the default ubuntu as an admin user. So to access the Web UI and to add more users, Login with ubuntu user and its password.

/img/aws/aiml/jupyter-login.png

  1. Open the Control Panel by clicking the control panel button from the File menu.

/img/common/hub-control-panel.png

  1. In the control panel, open the Admin link in the top left.

/img/common/admin.png

  1. This opens up the JupyterHub admin page, where you can add / delete users, start / stop peoples’ servers and see who is online. Click the Add Users button on top left. Add Users dialog box opens up.

/img/common/add-user.png

  1. Type the names of users you want to add to this JupyterHub in the dialog box, one per line. Tick the Admin checkbox if you want to give admin rights to all these users too.

/img/common/type-users.png

  1. Save the users by clicking on the Add Users button in the dialog box. Your users are now added to the JupyterHub! You can directly start the server and access the jupyterhub page from here.

/img/common/start-server.png /img/common/access-server.png

  1. When you click on access-server, it will ask you to authorize the newly created user.

/img/common/authorize.png

  1. New user will have complete seperate Jupyter environment.

/img/common/new-user-jupyterlab.png

  1. When you added the user from the JupyterHub, the user gets added as a system user. You can update the password of newly created user by running below command in the terminal.
 ```bash
    sudo passwd ubuntu
 ```

/img/common/new-user-passwd.png

  1. Now login to JupyterHub using new user and its password

img/common/new-user-login.png

img/common/new-user-jupyterlab2.png

Go back