Create a runtime in Colab Enterprise

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

  1. 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.
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  3. Make sure that billing is enabled for your Google Cloud project.

  4. Enable the Vertex AI, Dataform, and Compute Engine APIs.

    Enable the APIs

  5. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  6. Make sure that billing is enabled for your Google Cloud project.

  7. Enable the Vertex AI, Dataform, and Compute Engine APIs.

    Enable the 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.

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:

  1. In the Google Cloud console, go to the Colab Enterprise Runtimes page.

    Go to Runtimes

  2. 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.

  3. Click  Create runtime.

    The Create Vertex AI runtime dialog appears.

  4. In the Runtime template menu, select a runtime template. If there aren't any runtime templates listed, create a runtime template.

  5. In the Runtime name field, enter a name for your runtime.

  6. 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