If you are creating a new function, see the Console Quickstart on Cloud Run.

Runtime support

Runtimes on Cloud Run functions are base images that include components and operating system, software required to build and execute code written for a specific programming language, and software to support your function.

Cloud Run functions applies updates to runtimes in accordance with your selected security update policy.

Diagram outlining the stages in the lifecycle of a Cloud Run functions runtime

Runtimes are available in different release stages, such as Preview or General Availability (GA). For more information, see the product launch stages.

Preview

If you deploy a workload using the Google Cloud CLI when a runtime is in Preview, use the gcloud beta functions deploy command.

General Availability (GA)

During the General Availability (GA) support window:

  • Runtime components are regularly updated with security and bug fixes.
  • Updates are applied in accordance with your workload's security update policy.
  • To maintain stability, Cloud Run functions avoids implementing breaking features or breaking changes into the runtime. Breaking changes will be announced in advance in Cloud Run functions release notes.

When a language version is no longer actively maintained by the respective community, Cloud Run functions will also stop providing maintenance and support for that language runtime. Before a runtime reaches the deprecation phase as described in the runtimes support schedule, Google will provide a notification to customers in the Google Cloud console.

Google may make changes to any runtime's support schedule or lifecycle in accordance with the terms of your agreement for the use of Google Cloud services.

Runtime lifecycle

GA-level support Deprecated Decommissioned
Creation and redeployment Yes Yes No
Running existing workloads Yes Yes May be disabled
Language patches As per policy As per policy No updates
Patching system packages As per policy As per policy No updates
Patching OS As per policy As per policy No updates
Customer support GA-level support No runtime support No runtime support

Notification Period

Cloud Run functions will begin issuing notifications 90 days before the runtime reaches deprecation. Upon notification, you should prepare to upgrade your function to a newer supported runtime.

Deprecation and Decommissioning

When a component is no longer actively maintained, Cloud Run functions may deprecate and eventually remove the runtime.

This has three aspects: a publication of the deprecation date, a deprecation period, and a decommission date. In the following schedule, the deprecation date is the start of the deprecation period and ends at the beginning of the decommission date. The decommission date indicates the start of the decommission period.

During the deprecation period, you can generally continue to create new workloads and update existing workloads using the runtime. You should use this time to migrate workloads that use the deprecated runtime to a more up-to-date runtime.

After the decommission date, you can no longer create new workloads or update existing workloads using the runtime. You must choose a more up-to-date runtime to deploy your workloads. Workloads that continue to use a decommissioned runtime may be disabled.

Support Schedule

Here is the list of supported Cloud Run functions runtimes, as well as runtimes that have been deprecated or decommissioned.

Based on qualification and stability of releases, availability and key dates might be delayed. A blank deprecation or decommission date means that phase has not yet been scheduled. Revisit this page to stay up to date.

Node.js

Runtime Generation Runtime ID Stacks Runtime base image Deprecation Decommission
Node.js 24 Run functions nodejs24 google-24 (default) google-24-full google-24/nodejs24 google-24-full/nodejs24 2028年04月30日 2028年10月31日
Node.js 22 1st gen, Run functions nodejs22 google-22 (default) google-22-full google-22/nodejs22 google-22-full/nodejs22 2027年04月30日 2027年10月31日
Node.js 20 1st gen, Run functions nodejs20 google-22 (default) google-22-full google-22/nodejs20 google-22-full/nodejs20 2026年04月30日 2026年10月30日
Node.js 18 1st gen, Run functions nodejs18 google-22 (default) google-22-full google-22/nodejs18 google-22-full/nodejs18 2025年04月30日 2025年10月30日
Node.js 16 1st gen, Run functions nodejs16 google-18-full google-18-full/nodejs16 2024年01月30日 2025年01月30日
Node.js 14 1st gen, Run functions nodejs14 google-18-full google-18-full/nodejs14 2024年01月30日 2025年01月30日
Node.js 12 1st gen, Run functions nodejs12 google-18-full google-18-full/nodejs12 2024年01月30日 2025年01月30日
Node.js 10 1st gen, Run functions nodejs10 google-18-full google-18-full/nodejs10 2024年01月30日 2025年01月30日
Node.js 8 1st gen, Run functions nodejs8 Decommissioned Decommissioned 2020年06月05日 Feb 2021
Node.js 6 1st gen, Run functions nodejs6 Decommissioned Decommissioned 2019年04月17日 Aug 2020

Python

Runtime Generation Runtime ID Stacks Runtime base image Deprecation Decommission
Python 3.14
(Preview)
Run functions python314 google-24 (default) google-24-full google-24/python314 google-24-full/python314
Python 3.13 Run functions python313 google-22 (default) google-22-full google-22/python313 google-22-full/python313 2029年10月10日 2030年04月10日
Python 3.12 1st gen, Run functions python312 google-22 (default) google-22-full google-22/python312 google-22-full/python312 2028年10月02日 2029年04月02日
Python 3.11 1st gen, Run functions python311 google-22 (default) google-22-full google-22/python311 google-22-full/python311 2027年10月24日 2028年04月24日
Python 3.10 1st gen, Run functions python310 google-22 (default) google-22-full google-22/python310 google-22-full/python310 2026年10月04日 2027年04月04日
Python 3.9 1st gen, Run functions python39 google-18-full google-18-full/python39 2025年10月05日 2026年04月05日
Python 3.8 1st gen, Run functions python38 google-18-full google-18-full/python38 2024年10月14日 2025年10月14日
Python 3.7 1st gen, Run functions python37 google-18-full google-18-full/python37 2024年01月30日 2025年01月30日

Go

Runtime Generation Runtime ID Stacks Runtime base image Deprecation Decommission
Go 1.25 Run functions go125 google-22 (default) google-22-full google-22/go125 google-22-full/go125
Go 1.24 Run functions go124 google-22 (default) google-22-full google-22/go124 google-22-full/go124
Go 1.23
Run functions go123 google-22 (default) google-22-full google-22/go123 google-22-full/go123 2026年02月21日 2026年08月21日
Go 1.22 Run functions go122 google-22 (default) google-22-full google-22/go122 google-22-full/go122 2026年01月28日 2026年07月28日
Go 1.21 1st gen, Run functions go121 google-22 (default) google-22-full google-22/go121 google-22-full/go121 2025年09月03日 2026年03月03日
Go 1.20 1st gen, Run functions go120 google-22 (default) google-22-full google-22/go120 google-22-full/go120 2024年05月01日 2025年05月01日
Go 1.19 1st gen, Run functions go119 google-22 (default) google-22-full google-22/go119 google-22-full/go119 2024年04月30日 2025年01月30日
Go 1.18 1st gen, Run functions go118 google-22 (default) google-22-full google-22/go118 google-22-full/go120 2024年01月30日 2025年01月30日
Go 1.16 1st gen, Run functions go116 google-18-full google-18-full/go116 2024年01月30日 2025年01月30日
Go 1.13 1st gen, Run functions go113 google-18-full google-18-full/go113 2024年01月30日 2025年01月30日
Go 1.11 1st gen, Run functions go111 Decommissioned Decommissioned 2020年08月05日 Feb 2021

Java

Runtime Generation Runtime ID Stacks Runtime base image Deprecation Decommission
Java 25
(Preview)
Run functions java25 google-24 (default) google-24-full google-24/java25 google-24-full/java25
Java 21 Run functions java21 google-22 (default) google-22-full google-22/java21 google-22-full/java21 October 2031
Java 17 1st gen, Run functions java17 google-22 (default) google-22-full google-22/java17 google-22-full/java17 October 2027
Java 11 1st gen, Run functions java11 google-18-full google-18-full/java11 2024年10月31日 2025年10月31日

Ruby

Runtime Generation Runtime ID Stacks Runtime base image Deprecation Decommission
Ruby 3.4 Run functions ruby34 google-22 (default) google-22-full google-22/ruby34 google-22-full/ruby34 2028年03月31日 2028年09月30日
Ruby 3.3 1st gen, Run functions ruby33 google-22 (default) google-22-full google-22/ruby33 google-22-full/ruby33 2027年03月31日 2027年09月30日
Ruby 3.2 1st gen, Run functions ruby32 google-22 (default) google-22-full google-22/ruby32 google-22-full/ruby32 2026年03月31日 2026年09月30日
Ruby 3.0 1st gen, Run functions ruby30 google-18-full google-18-full/ruby30 2024年03月31日 2025年03月31日
Ruby 2.7 1st gen, Run functions ruby27 google-18-full google-18-full/ruby27 2024年01月30日 2025年01月30日
Ruby 2.6 1st gen, Run functions ruby26 google-18-full google-18-full/ruby26 2024年01月30日 2025年01月30日

PHP

Runtime Generation Runtime ID Stacks Runtime base image Deprecation Decommission
PHP 8.4 Run functions php84 google-22-full (default) google-22-full/php84 2028年12月31日 2029年06月30日
PHP 8.3 Run functions php83 google-22-full (default) google-22-full/php83 2027年12月31日 2028年06月30日
PHP 8.2 1st gen, Run functions php82 google-22-full (default) google-22-full/php82 2026年12月31日 2027年06月30日
PHP 8.1 1st gen, Run functions php81 google-18-full google-18-full/php81 2025年12月31日 2026年06月30日
PHP 7.4 1st gen, Run functions php74 google-18-full google-18-full/php74 2024年01月30日 2025年01月30日

.NET

Runtime Generation Runtime ID Stacks Runtime base image Deprecation Decommission
.NET 8 Run functions dotnet8 google-22 (default) google-22-full google-22/dotnet8 google-22-full/dotnet8
.NET 6 1st gen, Run functions dotnet6 google-22 (default) google-22-full google-22/dotnet6 google-22-full/dotnet6 2024年11月12日 2025年11月12日
.NET Core 3 1st gen, Run functions dotnet3 google-18-full google-18-full/dotnet3 2024年01月30日 2025年01月30日

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月24日 UTC.