Runtimes and runtime templates  |  Colab Enterprise  |  Google Cloud (2024)

This page describes runtimes and runtime templates for Colab Enterprise.

A runtime is a Google-provisioned virtual machine (VM) that can run the codein your notebook (IPYNB file).

A runtime template is a VM configuration that specifies a machine type andother characteristics of the VM, as well as common settings such asthe network and whether public internet access is enabled.When you create a runtime, its VM is created according to the specificationsof a runtime template.

Workflow

You can create a Colab Enterprise notebook and run code in it withoutneeding to understand runtimes. When you run your code for the first time,Colab Enterprise provisions a default runtime and runs your code on it.Colab Enterprise continues to use the default runtime until youconnect to a different runtime.

To configure a runtime for specific needs, you must:

  1. Create a runtime template with the configuration that you need.

  2. Create a runtime based on that template.

  3. Connect to the runtime from your notebook and run your code.

Runtimes

This section describes the characteristics of runtimes.

Default runtime

If you don't create a runtime, a runtime is created for you the first time thatyou run code or connect to the default runtime.

When Colab Enterprise creates your default runtime, it also createsa default runtime template. Both the runtime and runtime template appear inthe Google Cloud console, where you can get information about them.

There is one default runtime and one default runtime templateper project, per region.

Default runtime specifications

The default runtime includes the following specifications:

  • Machine type: e2-standard-4
  • Accelerators: None
  • Idle shutdown (Experimental): Enabled
  • Network: Your project's default Virtual Private Cloud network
  • Public internet access: Enabled
  • End user credential authentication: Enabled
  • Auto deletion: Automatic deletion 18 hours after creation

Runtimes are regional

Runtimes are regional, and must be located in the same region as your notebook.

Runtimes are exclusive to a user

Runtimes are exclusive to a user. You can't share your runtimes with othersand you can't use their runtimes. Even if you share a notebook with someone,they don't have access to your runtime and must run the notebook ontheir own runtime.

However, users can create their own runtimes based on the same runtime template.See Runtime templates can be shared with users.

You can connect more than one notebook to the same runtime but this isn'trecommended. Multiple notebooks sharing the same runtime can cause problems,including:

  • The notebooks may run slowly because they are sharing the runtime'scompute resources.

  • The code in one notebook can affect the state of the runtime's VM forthe other notebook. For example, if you install version 1.3 of a packagein one notebook, but your other notebook requires version 1.2, you mighthave a version incompatibility when you run the second notebook.

Instead of running code from multiple notebooks on the same runtime, you cancreate a runtime for each notebook based on the same runtime template. SeeYou can create multiple runtimes fromthe same runtime template.

Runtime charges

You are charged for runtime processing based on the machine type andaccelerators that you use.See Colab Enterprise pricing.

You can create multiple runtimes from the same runtime template

You can create multiple runtimes from a single non-default runtime template. This way, youcan run multiple notebooks on VMs with the same configuration without sharingthe resources of that VM.

Runtime templates

This section describes the characteristics of runtime templates.

Runtime templates are regional

Runtime templates are regional. When you create a runtime, it is in the sameregion as the runtime template, and the runtime can only be used with notebooksin that region.

You can share a runtime template with other users. This way, each usercan create their own runtime based on the same runtime template, andtherefore multiple users can run the same notebook on the same VM configuration.

To learn more, see Manage access toa runtime template.

Configuration

Runtime templates determine the configuration of your runtime's VM. Youcan specify any of the following:

Region

Choose the region where your notebook is. Runtimes created fromruntime templates are in the same region as the runtime template.For the notebook to run code in the runtime, the notebook and runtime must bein the same region.

Machine type, disk type, and disk size

For information on machine types, see theMachine families resource andcomparison guide.

Accelerators

You can add accelerators to your runtime template configuration.Accelerator availability is based on the machine type and region.

Network

Specify your network or use the project's default Virtual Private Cloud network.

Idle shutdown

Colab Enterprise enables idle shutdown by default. Thissetting shuts down your instance after 180 minutes of inactivity.You can change the number of minutes of inactivitybefore shutdown, or you can disable idle shutdown.

Public internet access

To get more control over the security of your notebook and other resources,you can turn off public internet access. If you configure your runtime templatethis way, notebooks that use runtimes created from the runtime templatewill not have access to the public internet.

End-user credential authentication

By default runtime templates use end-user credential authentication togive your notebook access to Application Default Credentials (ADC).You can use this access to ADC to run code in your notebook that interactswith Vertex AI and other Google Cloud services.When end-user credentials are enabled, your notebook uses the credentialsof whoever runs the notebook to determine accessto Google Cloud resources.

If end-user credentials aren't enabled, you can get access to ADC byauthenticating the user through your notebook's code. To learn more,see the "User credentials" section of How to provide credentialsto ADC.

Runtime templates are not editable

After you create a runtime template, you can't change it. To use aruntime template with a different configuration, you must create a newruntime template.

Runtime template charges

There are no charges for creating or storing runtime templates. See alsoRuntime charges.

What's next

  • Create a runtime based on a runtime template.
  • Connect to a runtime.
  • Create a runtime template.
Runtimes and runtime templates  |  Colab Enterprise  |  Google Cloud (2024)
Top Articles
Revolutionizing financial mobility with Akt.io
How To Buy Bitcoin (BTC)
No Hard Feelings (2023) Tickets & Showtimes
jazmen00 x & jazmen00 mega| Discover
Access-A-Ride – ACCESS NYC
Breaded Mushrooms
Autobell Car Wash Hickory Reviews
Mivf Mdcalc
Campaign Homecoming Queen Posters
Walgreens On Nacogdoches And O'connor
More Apt To Complain Crossword
OpenXR support for IL-2 and DCS for Windows Mixed Reality VR headsets
Lima Funeral Home Bristol Ri Obituaries
9044906381
London Ups Store
Simplify: r^4+r^3-7r^2-r+6=0 Tiger Algebra Solver
Who called you from +19192464227 (9192464227): 5 reviews
Candy Land Santa Ana
50 Shades Of Grey Movie 123Movies
Foxy Brown 2025
Aldi Bruce B Downs
Rufus Benton "Bent" Moulds Jr. Obituary 2024 - Webb & Stephens Funeral Homes
What Channel Is Court Tv On Verizon Fios
Best Nail Salons Open Near Me
Sand Dollar Restaurant Anna Maria Island
Bento - A link in bio, but rich and beautiful.
Foodsmart Jonesboro Ar Weekly Ad
City Of Durham Recycling Schedule
Kirk Franklin Mother Debra Jones Age
Accuradio Unblocked
R Baldurs Gate 3
Darknet Opsec Bible 2022
Ryujinx Firmware 15
2487872771
Basil Martusevich
Chicago Pd Rotten Tomatoes
Tributes flow for Soundgarden singer Chris Cornell as cause of death revealed
Exploring The Whimsical World Of JellybeansBrains Only
Wildfangs Springfield
Google Chrome-webbrowser
Koninklijk Theater Tuschinski
Cal Poly 2027 College Confidential
968 woorden beginnen met kruis
Ucsc Sip 2023 College Confidential
SF bay area cars & trucks "chevrolet 50" - craigslist
Sams Gas Price Sanford Fl
Doublelist Paducah Ky
Paul Shelesh
Borat: An Iconic Character Who Became More than Just a Film
Electric Toothbrush Feature Crossword
Kidcheck Login
Island Vibes Cafe Exeter Nh
Latest Posts
Article information

Author: Jerrold Considine

Last Updated:

Views: 6218

Rating: 4.8 / 5 (78 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Jerrold Considine

Birthday: 1993-11-03

Address: Suite 447 3463 Marybelle Circles, New Marlin, AL 20765

Phone: +5816749283868

Job: Sales Executive

Hobby: Air sports, Sand art, Electronics, LARPing, Baseball, Book restoration, Puzzles

Introduction: My name is Jerrold Considine, I am a combative, cheerful, encouraging, happy, enthusiastic, funny, kind person who loves writing and wants to share my knowledge and understanding with you.