JupyterHub overview
JupyterHub gives your data scientists and data engineers their own Jupyter Notebook environment on shared computing resources, to analyze and process data and build machine learning models. In FPT Data Platform, you create JupyterHub as a service in your workspace, then add users and set up the profiles they work with.
What you can do with JupyterHub
- Give each user a notebook server in one multi-user Jupyter Notebook environment, with an admin role and a user role.
- Set up profiles that choose the image, the CPU and memory, and the S3 or Lakehouse access of a notebook server, then assign them to users and groups.
- Run notebook servers on the worker pools of a Processing Service.
- Store the data of your users in S3 with a custom workspace.
- Run dbt projects from a terminal, on a Spark session.
How a JupyterHub service is built
| Part | Description |
|---|---|
| Nodes | 1 to 10 nodes in your workspace. You choose their storage policy and type, and you can turn on auto scaling. |
| Custom workspace | Optional. A storage mounted on the workspace, where JupyterHub stores the data of your users in S3. |
| Database | A PostgreSQL database that JupyterHub connects to, from FPT Database Engine or your own. |
| Data encryption | A keystore of the workspace that encrypts sensitive data when JupyterHub connects to the database. |
| Single sign-on | Optional. Sign-in through FPT ID, Google, or Keycloak instead of basic authentication. |
| Custom domain | Optional. Your own domain for the service, with a certificate from the workspace. |
Service lifecycle
- You create the service on a form with four screens. It is ready in about 10 minutes, when its Status is Healthy.
- You open JupyterHub with the URL on the Essential Information tab of the service. With basic authentication, the first account that you create must be
admin. The admin then adds or approves the other users. - You delete the service from the Actions menu. Deleting it cannot be undone.
What you need before you create one
- A workspace whose Status is Connected. See Create a workspace.
- A PostgreSQL database, from FPT Database Engine or with the connection details of your own.
- A keystore in the workspace for data encryption. See Manage keystores.
- To store user data in S3, a storage mounted on the workspace. See Manage workspace storage.
- To use a custom domain, a certificate imported on the Certificate tab of the workspace. See Manage certificates.