Deploy JupyterHub
Give a trusted analytics team a browser-based Python workspace beside its data, with a persistent home directory for each analyst.
USD 299 a month on Team for one server, with unlimited apps and deployment automation through the Pilae Agent. Pilae Cloud machines are rented separately.
- Instant deployment setup
- Data and streaming
- BSD-3-Clause
- Replaces Google Colab
- Runs on
- Your own hardware or a Pilae Cloud region you choose
- Replaces
- Google Colab
- Licence
- BSD-3-Clause
JupyterHub among the data and streaming apps
The event streams, pipelines and stores a data team runs, placed next to the systems that produce the data rather than in a vendor region.
JupyterHub system requirements
Before anything is deployed, this is what has to exist. We size it with you in the first session, and we say so when your own hardware is already enough.
All 4 requirements, and why each is there
- CPU and memory2 vCPU · 8 GiB sharedThe control-plane recipe budgets memory for the whole service. Test the two largest queries you expect to run concurrently.
- Disk10 GB baselineSize additional space for the dataset, intermediate join results, packages and saved notebooks.
- IdentityNativeAuthenticatorAn administrator approves new accounts. User servers run as separate Unix users inside one container.
- Storage3 named volumesHub state, user homes and the Python environment persist separately. Count external datasets in the recovery plan.
Running JupyterHub in production: what it takes
Approve the research team
The recipe starts private with sign-ups closed. Schedule an onboarding window, ask analysts to save active work, enable sign-ups, approve the named users and close sign-ups again. Changing this setting restarts the service.
Check the kernel as an analyst
After an update, start a user server and execute a cell that reads an approved test file. Verify the expected result and reopen the saved notebook after a restart. The Hub health endpoint checks a different part of the service.
Test recovery with a notebook owner
Restore a consistent copy of Hub state and homes in an isolated environment with the matching package set. Sign in as a test user, verify file ownership, then run the saved notebook against the intended input snapshot.
Deployment reference
What survives a notebook server restart
| Recipe volume | Mount point | Contents |
|---|---|---|
| jupyterhub_data | /srv/jupyterhub/data | Hub SQLite database and account state |
| jupyterhub_home | /home | User notebooks and files saved in each home |
| jupyterhub_packages | /opt/pilae | Python environment installed by the recipe |
Migrating from Google Colab to JupyterHub
Download each Colab notebook in .ipynb format and identify the files, credentials and libraries it needs. A colleague with a link to the original notebook may have no access to the underlying dataset. Agree who can use each input before copying it or granting access at the destination.
- Migration guideMove a research notebook from Google Colab to JupyterHubReproduce a Colab analysis on a private JupyterHub with the same inputs, an explicit Python environment and a clean rerun before moving the lab.
- ServiceSaaS migrationMove a hosted service to an app you run or transfer an existing installation to a new server. We agree the data, users, workflow rebuilds and cutover in writing.
Moving from Google Colab to JupyterHub, step by step
- Inventory a reproducible result: Choose one analysis with a known input snapshot. Record its Python dependencies, input row counts, expected outputs and peak memory. Flag cells that mount Drive, install libraries or select a GPU.
- Reconnect the inputs: Import the notebook into the analyst’s home. Replace Colab-specific imports and Drive paths with the intended storage location. Issue access to the named analyst and check it with their account.
- Reconcile a clean run: Restart the kernel, execute the whole notebook in order and compare its outputs with the baseline. For record linkage, compare the matched pairs as well as their count. Investigate changed matches before releasing the result.
- Move the working copy: Freeze edits in Colab, take a final copy and switch the team’s working link. Keep the previous workspace and its approved input snapshot available through sign-off. If a check fails, suspend writes on the Hub and reconcile edits before resuming work in the old copy.
What JupyterHub is, and who runs it
Link two registers without distributing the raw files
Take a research team reconciling two organisation registers. One identifies hospitals by billing code, the other by legal name and address. An analyst can use DuckDB to profile duplicate identifiers, pandas to inspect inconsistent fields and Splink to propose matching records. All three are included in the Pilae recipe. Keep the source snapshots read-only and save the reviewed mapping separately, with the snapshot dates and the matching rules. A second analyst can then inspect why two records were linked.
A notebook also carries data in its outputs. Before sharing a file, inspect saved cells for names, identifiers and query results. Give colleagues who only need aggregate counts a report from Metabase. Once a reviewed transformation needs scheduled runs and retry handling, it can move into an Airflow pipeline.
Read the full briefFold the brief
Choose the trust boundary before admitting users
JupyterHub authenticates each analyst and starts a notebook server for that account. Pilae’s recipe keeps the Hub private by default and puts those servers on one host under a shared web origin. This arrangement suits colleagues working under the same access policy. Separate customer teams or mutually untrusted researchers need separate environments or a different isolation design. The project describes both the components and the implications of a shared origin. JupyterHub architecture · Upstream security overview
For a Colab move, keep the exported notebook, source data and environment manifest together for the acceptance run. Colab stores notebooks separately from its runtime, so the exported document alone cannot reproduce packages or local files. Google Colab FAQ
When the accepted result becomes a figure in a paper, Overleaf covers the next handoff: the manuscript, its bibliography and the compiler needed to reproduce it.
What the managed plans cover
Compare the operating responsibilities included in Pilae’s plans. How the platform does it.
Ours
- A pinned version: A version we have run, not whatever latest resolves to that day.
- A runbook: What it depends on, how it fails, what to do about it. In your repository.
- Daily backups: Encrypted and offsite, and on Business and Enterprise restored every month. A backup nobody has restored is a file.
- A patch window: The agent applies security updates automatically in your window, with a rollback ready.
- Continuous monitoring: Every endpoint probed on the minute. Alerts reach your team, and on Business and Enterprise a Pilae engineer too.
Yours
- The credentials: You hold them. Ours are separate, named, logged and revocable with one command.
- The change policy: The agent applies updates automatically in your window. You can require human approval for selected changes or for every update.
- The exit: The machines, data, deployment configuration and runbook are already yours. Nothing stops when our access does.
Who runs it
Engineers who answer for it
On Business and Enterprise, our engineers respond to incidents and take over when the agent needs a hand.
Your data stays where the contract says
On your own servers or in Pilae Cloud, in the region you choose, and your contract names each location.
Who handles your data, in writing
Your data processing agreement names every company that handles your data, and none is added without notice and a right to object.
JupyterHub runs on every plan. Team is USD 299 a month for up to 3 servers (yours, or Pilae Cloud machines at their own price) and unlimited apps, with no charge per server.
Compare the plansJupyterHub: common questions
Can two client organisations share this Hub?
Does each analyst receive 8 GiB?
Will our Colab GPU notebooks run here?
Can the Pilae Agent open our notebooks?
Talk to an engineer about your JupyterHub
Tell us about the deployment you already have, or the one you are about to start.
Compare plans and prices, or write to us with a question this page leaves open.
- Go deeperManaged open-source hosting and operationsPatching, daily encrypted backups, monitoring and incident response for your open-source apps, under an SLA with an availability commitment of up to 99.9%.
- CompareSelf-hosting vs managed open source: doing it yourself, or PilaeSelf-hosting gives you the apps and the whole job of running them. Pilae gives you the same open-source apps, operated under a contract, on your premises or in Pilae Cloud.
- CheckBackups and disaster recovery for your self-hosted appsDaily encrypted offsite backups on every plan; 90-day retention, point-in-time recovery for databases and monthly restore tests from Business; recovery objectives on Enterprise.
