Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Ways to deploy JupyterHub

Where and how to run a hub.

JupyterHub runs on infrastructure that you provide, in the cloud or on your own hardware. Most people deploy JupyterHub with a distribution of JupyterHub. A distribution bundles JupyterHub with configuration and tools for one kind of infrastructure.

There are two distributions of JupyterHub maintained by the project:

Which distribution should I use?

Use The Littlest JupyterHub if one server is enough for your group, and you don’t need containers. It works well for groups of up to about 100 users.

Use Zero to JupyterHub if you need more than one machine, want to scale up and down with demand, or want each user in a container. It can scale to thousands of users.

See When to use The Littlest JupyterHub for a longer comparison.

Can I run JupyterHub in the cloud?

Yes! Most hubs run in the cloud. The Littlest JupyterHub has install guides for several cloud providers. Zero to JupyterHub explains how to set up Kubernetes on the major cloud providers.

Can I run JupyterHub on my own hardware?

Yes. Your best bet is to install The Littlest JupyterHub on your own server. Or, see Zero to JupyterHub’s guide to self-hosted Kubernetes.

Can I use JupyterHub with an HPC cluster?

Yes. batchspawner starts each user’s server as a job through your cluster’s batch scheduler.

Tools like Dask let users run work on your cluster’s scheduler from inside their session. See Dask on HPC.

What if my users need a lot of computing power or data?

JupyterHub doesn’t provide computing or data itself. It starts each user’s session on infrastructure that you provide, and those sessions can connect to your data. Zero to JupyterHub can set memory and CPU limits for each user and works with Kubernetes autoscaling to grow and shrink your cluster.

Can I set up JupyterHub without a distribution?

Yes. The JupyterHub docs explain how to install and configure JupyterHub yourself, for setups that the distributions don’t cover.