What is Colab Enterprise?
Colab Enterprise is a collaborative managed notebook environment on Google Cloud that combines the ease of use of Google Colab with enterprise-level security and compliance. It integrates seamlessly with Google Cloud services like BigQuery and Vertex AI, offering a powerful platform for data scientists and ML engineers to work with OSDU data.
For more information, see the Official Colab Enterprise Documentation.
How to Install Colab Enterprise Jupyter Notebooks for OSDU
You can automatically provision Colab Enterprise along with your OSDU deployment via the Deployment Engine UI:
- In the Deployment Engine UI, start a new deployment.
- Proceed to the Optional Services configuration step.
- Select Colab Enterprise Notebooks from the list of optional services.
- Provide an OAuth Client ID and OAuth Client Secret. You can generate these credentials in your Google Cloud Console under APIs & Services > Credentials.
- Once your deployment is successfully completed, you will see a direct link to the Colab Enterprise Notebooks Bucket in the Project Information tab.
How to Import Notebooks from Bucket to Colab Enterprise
During the deployment, OSDU Jupyter notebooks are automatically provisioned in a dedicated Google Cloud Storage bucket associated with your project.
The bucket name uses the following template:
<project-id>-colab-jupyter-notebooks
You can import these notebooks directly into Colab Enterprise:
- Navigate to Colab Enterprise in the Google Cloud Console (under Vertex AI).
- Go to My notebooks.
- In the interface, click the Import button.

- Select the Cloud Storage tab and click the Browse button.

- Browse or search for your dedicated bucket:
<project-id>-colab-jupyter-notebooks. - Select the
.ipynbnotebook file you wish to add and click the Select button.

- If you want to add another notebook, click Add notebook and choose the next file.
- When all files are in the list, click the Import button.

How to Run the Notebook in Colab
After importing your notebooks into the Colab Enterprise workspace:
- Click on the imported
.ipynbfile in your Colab Enterprise file browser. - In the top-right corner of the interface, click Connect to allocate compute resources to your notebook.
- Run the notebook cells sequentially by clicking the Play button next to each cell, or by selecting a cell and pressing
Shift + Enter. - If a notebook requires access to Google Cloud or OSDU APIs, ensure you run any required authentication or setup blocks provided within the notebook cells before executing the main logic.