2023-03-27 09:31:02 +02:00
(topic-whentouse)=
2018-08-08 10:18:20 -07:00
2023-03-27 09:31:02 +02:00
# When to use The Littlest JupyterHub
2018-08-08 10:18:20 -07:00
2018-08-10 10:23:55 -07:00
This page is a brief guide to determining whether to use The Littlest JupyterHub
2023-03-27 09:31:02 +02:00
(TLJH) or [Zero to JupyterHub for Kubernetes ](https://zero-to-jupyterhub.readthedocs.io/en/latest/ ) (Z2JH).
2018-08-08 10:18:20 -07:00
Many of these ideas were first laid out in a
2023-03-27 09:31:02 +02:00
[blog post announcing TLJH ](http://words.yuvi.in/post/the-littlest-jupyterhub/ ).
2018-08-08 10:18:20 -07:00
2023-03-27 09:31:02 +02:00
[\*\*The Littlest JupyterHub (TLJH)\*\* ](https://the-littlest-jupyterhub.readthedocs.io/en/latest/ ) is an opinionated and pre-configured distribution
2018-08-10 10:23:55 -07:00
to deploy a JupyterHub on a **single machine ** (in the cloud or on your own hardware).
It is designed to be a more lightweight and maintainable solution
for use-cases where size, scalability, and cost-savings are not a huge concern.
2018-08-08 10:18:20 -07:00
2023-03-27 09:31:02 +02:00
[\*\*Zero to JupyterHub on Kubernetes\*\* ](https://zero-to-jupyterhub.readthedocs.io/en/latest/ ) allows you
2018-08-10 10:23:55 -07:00
to deploy JupyterHub on **Kubernetes ** . This allows JupyterHub to scale to many thousands
of users, to flexibly grow/shrink the size of resources it needs, and to use
container technology in administering user sessions.
2018-08-08 10:18:20 -07:00
2023-03-27 09:31:02 +02:00
## When to use TLJH vs. Z2JH
2018-08-08 10:18:20 -07:00
2018-08-31 18:27:54 -07:00
The choice between TLJH and Z2JH ultimately comes down to only a few questions:
2018-08-08 10:18:20 -07:00
2018-08-10 10:23:55 -07:00
1. Do you want your hub and all users to live on a **single, larger machine ** vs. spreading users on a **cluster of smaller machines ** that are scaled up or down?
2018-08-08 10:18:20 -07:00
2023-03-27 09:31:02 +02:00
- If you can use a single machine, we recommend **The Littlest JupyterHub ** .
- If you wish to use multiple machines, we recommend **Zero to JupyterHub for Kubernetes ** .
2018-08-10 10:23:55 -07:00
2. Do you **need to use container technology ** ?
2018-08-08 10:18:20 -07:00
2023-03-27 09:31:02 +02:00
- If no, we recommend **The Littlest JupyterHub ** .
- If yes, we recommend **Zero to JupyterHub for Kubernetes ** .