JupyterHub runs a central hub that spawns and proxies separate Jupyter notebook environments for many signed-in users. Project Jupyter built it for classrooms, teams, and research groups.
Overview
JupyterHub is a multi-user server that creates a hub process to spawn, manage, and proxy many single-user Jupyter notebook servers. The hub handles login, starts notebook servers on demand, and routes traffic through a configurable HTTP proxy so each user gets an isolated environment.
Operation centers on three parts: the hub (a Tornado process), an HTTP proxy, and multiple single-user notebook servers. After the hub starts the proxy, it forwards requests, authenticates users, and tells the proxy which URL prefixes belong to each running server. An administration REST API is available for managing the hub and its users.
Authenticators and spawners are pluggable. Defaults include PAM for login and local process spawners, but deployments can swap in other options. Distributions such as The Littlest JupyterHub target smaller teams on one server, while Zero to JupyterHub with Kubernetes targets larger cloud deployments on Kubernetes.
You can install with conda or pip, run the hub with the jupyterhub command, and visit it in a browser to sign in. Official support targets Linux and Unix systems; Docker images on quay.io provide a baseline hub container that still needs custom authenticator or spawner configuration. For Windows, documentation suggests running the hub inside Docker or a Linux VM.
Key features
- Multi-user notebook spawning
- Configurable HTTP proxy routing
- Pluggable authenticators and spawners
- Hub administration REST API
- Docker baseline hub image
- Kubernetes distribution option
- The Littlest JupyterHub distribution
- Per-user isolated Jupyter environments
Use cases
- University or classroom notebook access
- Corporate data science workgroups
- Scientific research collaboration
- High-performance computing groups
- Small teams on a single server