Manage JupyterHub profiles
Profiles let you choose the image, the resources, and the S3 or Lakehouse access of the notebook servers that your users start. Create a profile, give it access to the Lakehouse catalog if it needs one, then assign it to users and groups.
Prerequisites
- A JupyterHub account with the Admin role. See Manage JupyterHub users.
- A Processing Service in the same workspace, with at least one compute. Its computes are the worker pools where the notebook servers of a profile run. See Manage Processing Service compute.
- For S3 access, the endpoint, access key, and secret key of the S3 service.
- For Lakehouse access, a Hive or Nessie metadata catalog and its URI. See Hive Metastore overview and Nessie overview.
Open the profile pages
- Sign in to JupyterHub as a user with the Admin role.
- In the menu bar, select Services → profiles.
The JupyterHub Profile Manager opens with three tabs: Profile List, Create Profile, and Profile Assignments.
Create a profile
- Open the profile pages. See Open the profile pages.
- Select the Create Profile tab.
- Under Profile Configuration, fill in the fields, as described in Profile configuration.
- Set the Required Environment Variables, as described in Environment variables.
- Add any Additional Environment Variables that the notebook server needs.
- Under Kubernetes Configuration, set the CPU and memory of the notebook server.
- Under Available Worker Pools, select at least one worker pool.
- Under Spark Catalogs, turn on Enable Multi-Catalog if you need it.
- Make sure Active profile is selected to make the profile active as soon as it is created.
- Select Create Profile.

The new profile appears on the Profile List tab. See View the profile list.
Profile configuration
| Field | Description |
|---|---|
| Profile Name | Required. The name of the profile, for example Python Data Science. |
| Slug | Required. A short ID of the profile. Only lowercase letters, numbers, and hyphens, with no spaces or special characters, for example python-datascience. |
| Image | The image that the notebook server runs. The list has three PySpark images with Spark 3.5.0: one with Lakehouse, one with Lakehouse and Open Metadata, and one with Lakehouse and Ranger integrated. |
| Default Catalog Name | The default catalog of the profile. Letters, numbers, hyphens, and underscores only. Default: iceberg. |
Environment variables
Under Required Environment Variables, set these variables.
| Variable | Description |
|---|---|
| MODE | Select local, the only option. |
| S3_ACCESSIBLE | Select true to use S3, or false if you do not use S3. With true, the form adds S3_ENDPOINT, S3_ACCESS_KEY, S3_SECRET_KEY, and LAKEHOUSE_ENABLED. |
| OPENMETADATA_ENABLED | Select true to turn on the Open Metadata integration of the notebook server, or false. |
With S3_ACCESSIBLE set to true, fill in these variables.
| Variable | Description |
|---|---|
| S3_ENDPOINT | The URL endpoint of the S3 service. |
| S3_ACCESS_KEY | The access key ID that authenticates with the S3 service. The input is hidden. To reach the Lakehouse catalog, enter the Access Key of the FPT Object Storage sub user. See Create a sub user and its access key. |
| S3_SECRET_KEY | The secret access key that authenticates with the S3 service. The input is hidden. To reach the Lakehouse catalog, enter the Secret Key of the same sub user. |
| LAKEHOUSE_ENABLED | Select true to connect to the Lakehouse, or false if you do not use a Lakehouse connection. With true, the form adds the catalog variables below. |
With LAKEHOUSE_ENABLED set to true, fill in these variables.
| Variable | Description |
|---|---|
| CATALOG_TYPE | The type of metadata catalog: hive or nessie. With nessie, the form adds NESSIE_DEFAULT_BRANCH. |
| CATALOG_URI | The URI that connects to the metadata catalog. |
| SPARK_WAREHOUSE_DIR | The path of the warehouse directory for Apache Spark. |
| RANGER_ENABLED | Select true to turn on the Ranger integration of the notebook server, or false. It appears when you select the image with Lakehouse and Ranger integrated. |
| NESSIE_DEFAULT_BRANCH | With CATALOG_TYPE set to nessie. The default branch of the Nessie catalog. |
Other fields
| Field | Description |
|---|---|
| Additional Environment Variables | Other environment variables of the notebook server. Enter the variable name in KEY and its value in Value, then select +. Select Secret to hide the value: the profile card shows it as ****. |
| CPU Guarantee | Under Kubernetes Configuration. The CPU cores guaranteed to the profile when it starts, for example 1.0, 1.5, or 0.25. |
| CPU Limit | The maximum CPU cores the profile can use, for example 2.0, 2.5, or 0.5. |
| Memory Guarantee | The memory guaranteed to the profile when it starts, for example 256M or 512M. |
| Memory Limit | The maximum memory the profile can use, for example 512M or 1024M. |
| Available Worker Pools | Required. The computes of the Processing Service where the profile can be scheduled, listed as processing-<compute name> with their Nodes, Avg CPU, and Avg Mem. If you select none, the form shows "At least one worker pool must be selected". |
| Enable Multi-Catalog | A switch under Spark Catalogs. |
| Active profile | Makes the profile Active as soon as it is created. Default: selected. |
Give a profile access to the Lakehouse catalog
To let users reach the Lakehouse catalog, create a sub user in FPT Object Storage and give it access to the folder of the bucket that holds the catalog. Then enter the keys of the sub user in S3_ACCESS_KEY and S3_SECRET_KEY of the profile.
Create a sub user and its access key
-
Sign in to the FPT Cloud console at https://console.fptcloud.com/, then select Object Storage.
-
In Object Storage Management, select the Sub User tab.
-
Select Create SubUser.

-
In the New SubUser form, enter a Name.
-
In Access level for the sub user, select Full.
-
Select Create.

-
In the sub user list, open the details of the sub user.
-
Select Generate Key.

-
In the Access key created dialog, copy the Access Key and the Secret Key, and store them in a safe place.
-
Select Confirm access key.
The secret key is shown only once. Store it before you close the dialog.
The Access Key goes in S3_ACCESS_KEY and the Secret Key in S3_SECRET_KEY of the profile. For more about sub users and their keys, see Manage SubUsers.
Allow the sub user on the catalog folder
-
In Object Storage Management, select the Buckets tab.
-
In the row of the bucket, select Config in the Action column.

-
Select the Bucket Policy tab.
-
Select Add Policy Statement.

-
In Add Policy Statement, fill in the fields, as described in the table below.
-
Select Add.
-
Select Create for a new policy, or Update if the bucket already has one.
| Field | Description |
|---|---|
| Sid | The ID of the statement. |
| Effect | Allow. |
| Principal | The sub users that get access. |
| Action | Select Action, then select All S3 Actions. |
| Resource (ARN) | The resource, in ARN format, that points the sub user to exactly the folder that holds the catalog it may access. |
For example, the statement in the screenshot gives access to the lakehouse folder of a bucket with these resources:
arn:aws:s3:::<BUCKET-NAME>
arn:aws:s3:::<BUCKET-NAME>/lakehouse
arn:aws:s3:::<BUCKET-NAME>/lakehouse/*
For more about bucket policies, see Manage permissions.
Assign a profile to users and groups
- Open the profile pages. See Open the profile pages.
- Select the Profile Assignments tab.
- In the list of profiles, select the profile.
- In Add User, select a user from the users of JupyterHub.
- In Add Group, select a group from the groups of JupyterHub.
- Select Save Changes.

The profile lists the assigned users under Users and the assigned groups under Groups. As an admin, you see the assignments of every profile.
View the profile list
- Open the profile pages. See Open the profile pages.
- Select the Profile List tab.
Each profile has a card with its name and status, for example Active, its Slug, Default Catalog, and Image, its Kubernetes limits, its Worker Pools, and its Environment Variables. Secret values show as ****. Select the eye icon to show a masked value, such as S3_SECRET_KEY.

Select Edit to change the profile, or Delete to remove it.