This page shows you how to create a runtime in Colab Enterprise.
You can create a runtime to run code on a runtime that has a different configuration than the default. Runtimes are created based on a runtime template, which includes specifications like machine type and disk size.
Learn more about runtimes and runtime templates.
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 create a runtime in Colab Enterprise,
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 to projects, folders, and organizations.
Your administrator might also be able to give your user account the required permissions through custom roles or other predefined roles.
Create the runtime
To create a runtime:
-
In the Google Cloud console, go to the Colab Enterprise Runtimes page.
-
In the Region menu, select the region where you want your runtime. It must be in the same region as the notebook that uses it.
-
Click
Create runtime.The Create Vertex AI runtime dialog appears.
-
In the Runtime template menu, select a runtime template. If there aren't any runtime templates listed, create a runtime template.
-
In the Runtime name field, enter a name for your runtime.
-
Click Create.
Troubleshoot
This section shows you how to resolve issues with creating runtimes in Colab Enterprise.
Colab Enterprise unable to create a runtime
This issue occurs when you're unable to create a runtime. The most common causes are:
Insufficient quota
If you are unable to create a runtime, you might have exceeded your Compute Engine runtime quota.
Colab Enterprise uses Compute Engine quota for runtimes. For more information, see the Compute Engine quota and limits overview.
To resolve this issue, request a higher quota limit.
Unavailable resources
The following error occurs when you try to create a runtime.
No available zone found for runtime RUNTIME_ID for machine type MACHINE_TYPE with accelerator type: ACCELERATOR. Please try again later.
This error occurs if there are no resources available for your machine type configuration within your notebook's region.
To resolve this issue, try a runtime with a different machine type configuration, or try again at a later time.
What's next
- Learn more about runtimes and runtime templates.
- Connect to your runtime.
- Learn how to create a runtime template.