Manage access to a notebook
This page describes how you can grant and revoke access to a Colab Enterprise notebook (IPYNB file).
Before you begin
- Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
-
Make sure that billing is enabled for your Google Cloud project.
-
Enable the Vertex AI, Dataform, and Compute Engine APIs.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
-
Make sure that billing is enabled for your Google Cloud project.
-
Enable the Vertex AI, Dataform, and Compute Engine APIs.
Required roles
To ensure that your user account has the necessary
permissions to manage access to a Colab Enterprise notebook,
ask your administrator to grant your user account the
Colab Enterprise Admin (roles/aiplatform.colabEnterpriseAdmin
)
IAM role on the project.
For more information about granting roles, see Manage access.
Your administrator might also be able to give your user account the required permissions through custom roles or other predefined roles.
Grant access to a notebook
To grant a principal access to a Colab Enterprise notebook:
-
In the Google Cloud console, go to the Colab Enterprise Notebooks page.
-
In the Region menu, select the region that contains your notebook.
-
Click the
Actions menu and select Share. -
In the Share permissions window, click
Add principal. -
In the Grant access dialog, in the New principals field, enter one or more principals with commas between them.
-
In the Select a role menu, complete the dialog to assign a role.
-
Optional: Click
Add another role, and repeat the last step. -
Click Save.
Colab Enterprise principals are users, groups, or domains
You can grant access to users, groups, or domains. See the following table:
Principal | Example user account |
---|---|
Single user | user@gmail.com |
Google group | admins@googlegroups.com |
Google Workspace domain | example.com |
Revoke access to a notebook
To revoke access to a Colab Enterprise notebook:
In the Google Cloud console, go to the IAM page.
Select a project, folder, or organization.
Find the row containing the principal whose access you want to revoke. Then, click
Edit principal in that row.Click the Delete
button for the role that you want to revoke, and then click Save.
What's next
- To learn how to grant access to a runtime template, see Manage access to a runtime template.