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 specificprogramming language, and software to support your function.

Cloud Run functions applies updates to runtimes in accordance with your selectedsecurity updatepolicy.

Diagram outlining the stages in the lifecycle of a Cloud Run functionsruntime

Runtimes are available in different release stages, such as Preview orGeneral Availability (GA). For more information, see theproduct launch stages.

Preview

If you deploy a workload using the Google Cloud CLI when a runtime is in Preview, usethegcloud beta functions deploycommand.

General Availability (GA)

During theGeneral Availability (GA) support window:

  • Runtime components are regularly updated with security and bug fixes.
  • Updates are applied in accordance with your workload'ssecurity updatepolicy.
  • To maintain stability, Cloud Run functions avoids implementing breakingfeatures or breaking changes into the runtime. Breaking changes will beannounced in advance in Cloud Run functionsrelease notes.

When a language version is no longer actively maintained by the respectivecommunity, Cloud Run functions will also stop providing maintenance and support forthat language runtime. Before a runtime reaches the deprecation phase asdescribed in theruntimes support schedule, Google willprovide a notification to customers in the Google Cloud console.

Google may make changes to any runtime's support schedule or lifecycle inaccordance with the terms of your agreement for the use of Google Cloudservices.

Runtime lifecycle

GA-level supportDeprecatedDecommissioned
Creation and redeploymentYesYesNo
Running existing workloadsYesYesMay be disabled
Language patchesAs per policyAs per policyNo updates
Patchingsystem packagesAs per policyAs per policyNo updates
Patching OSAs per policyAs per policyNo updates
Customer supportGA-level supportNo runtime supportNo runtime support

Notification Period

Cloud Run functions will begin issuing notifications 90 days before the runtimereaches deprecation. Upon notification, you should prepare to upgrade yourfunction to a newersupported runtime.

Deprecation and Decommissioning

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

This has three aspects: a publication of the deprecation date, a deprecationperiod, and a decommission date. In the followingschedule,the deprecation date is the start of the deprecation period and ends at the beginningof the decommission date. The decommission date indicates the start of the decommission period.

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

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

Support Schedule

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

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

Note:Runtime ID is often used when deploying from the from the command lineor through Terraform

Node.js

RuntimeGenerationRuntime IDStacksRuntime base imageDeprecationDecommission
Node.js 24Run functionsnodejs24 google-24 (default) google-24-fullgoogle-24/nodejs24google-24-full/nodejs242028-04-302028-10-31
Node.js 221st gen, Run functionsnodejs22 google-22 (default) google-22-fullgoogle-22/nodejs22google-22-full/nodejs222027-04-302027-10-31
Node.js 201st gen, Run functionsnodejs20 google-22 (default) google-22-fullgoogle-22/nodejs20google-22-full/nodejs202026-04-302026-10-30
Node.js 181st gen, Run functionsnodejs18 google-22 (default) google-22-fullgoogle-22/nodejs18google-22-full/nodejs182025-04-302025-10-30
Node.js 161st gen, Run functionsnodejs16 google-18-fullgoogle-18-full/nodejs162024-01-302025-01-30
Node.js 141st gen, Run functionsnodejs14 google-18-fullgoogle-18-full/nodejs142024-01-302025-01-30
Node.js 121st gen, Run functionsnodejs12 google-18-fullgoogle-18-full/nodejs122024-01-302025-01-30
Node.js 101st gen, Run functionsnodejs10 google-18-fullgoogle-18-full/nodejs102024-01-302025-01-30
Node.js 81st gen, Run functionsnodejs8 Decommissioned Decommissioned2020-06-05Feb 2021
Node.js 61st gen, Run functionsnodejs6 Decommissioned Decommissioned2019-04-17Aug 2020

Python

RuntimeGenerationRuntime IDStacksRuntime base imageDeprecationDecommission
Python 3.14
(Preview)
Run functionspython314 google-24 (default) google-24-fullgoogle-24/python314google-24-full/python314
Python 3.13Run functionspython313 google-22 (default) google-22-fullgoogle-22/python313google-22-full/python3132029-10-102030-04-10
Python 3.121st gen, Run functionspython312 google-22 (default) google-22-fullgoogle-22/python312google-22-full/python3122028-10-022029-04-02
Python 3.111st gen, Run functionspython311 google-22 (default) google-22-fullgoogle-22/python311google-22-full/python3112027-10-242028-04-24
Python 3.101st gen, Run functionspython310 google-22 (default) google-22-fullgoogle-22/python310google-22-full/python3102026-10-042027-04-04
Python 3.91st gen, Run functionspython39 google-18-fullgoogle-18-full/python392025-10-052026-04-05
Python 3.81st gen, Run functionspython38 google-18-fullgoogle-18-full/python382024-10-142025-10-14
Python 3.71st gen, Run functionspython37 google-18-fullgoogle-18-full/python372024-01-302025-01-30

Go

RuntimeGenerationRuntime IDStacksRuntime base imageDeprecationDecommission
Go 1.25Run functionsgo125 google-22 (default) google-22-fullgoogle-22/go125google-22-full/go125
Go 1.24Run functionsgo124 google-22 (default) google-22-fullgoogle-22/go124google-22-full/go124
Go 1.23
Run functionsgo123 google-22 (default) google-22-fullgoogle-22/go123google-22-full/go1232026-02-212026-08-21
Go 1.22Run functionsgo122 google-22 (default) google-22-fullgoogle-22/go122google-22-full/go1222026-01-282026-07-28
Go 1.211st gen, Run functionsgo121 google-22 (default) google-22-fullgoogle-22/go121google-22-full/go1212025-09-032026-03-03
Go 1.201st gen, Run functionsgo120 google-22 (default) google-22-fullgoogle-22/go120google-22-full/go1202024-05-012025-05-01
Go 1.191st gen, Run functionsgo119 google-22 (default) google-22-fullgoogle-22/go119google-22-full/go1192024-04-302025-01-30
Go 1.181st gen, Run functionsgo118 google-22 (default) google-22-fullgoogle-22/go118google-22-full/go1202024-01-302025-01-30
Go 1.161st gen, Run functionsgo116 google-18-fullgoogle-18-full/go1162024-01-302025-01-30
Go 1.131st gen, Run functionsgo113 google-18-fullgoogle-18-full/go1132024-01-302025-01-30
Go 1.111st gen, Run functionsgo111 Decommissioned Decommissioned2020-08-05Feb 2021
Note: Go'srelease policy states that each major Go release is supported until there are two newer major releases. Thus, depending on when newer versions of Go are made publicly available, key dates such as end of support, deprecation, and decommission might be postponed.

Java

RuntimeGenerationRuntime IDStacksRuntime base imageDeprecationDecommission
Java 25
(Preview)
Run functionsjava25 google-24 (default) google-24-fullgoogle-24/java25google-24-full/java25
Java 21Run functionsjava21 google-22 (default) google-22-fullgoogle-22/java21google-22-full/java21October 2031
Java 171st gen, Run functionsjava17 google-22 (default) google-22-fullgoogle-22/java17google-22-full/java17October 2027
Java 111st gen, Run functionsjava11 google-18-fullgoogle-18-full/java112024-10-312025-10-31

Ruby

RuntimeGenerationRuntime IDStacksRuntime base imageDeprecationDecommission
Ruby 3.4Run functionsruby34 google-22 (default) google-22-fullgoogle-22/ruby34google-22-full/ruby342028-03-312028-09-30
Ruby 3.31st gen, Run functionsruby33 google-22 (default) google-22-fullgoogle-22/ruby33google-22-full/ruby332027-03-312027-09-30
Ruby 3.21st gen, Run functionsruby32 google-22 (default) google-22-fullgoogle-22/ruby32google-22-full/ruby322026-03-312026-09-30
Ruby 3.01st gen, Run functionsruby30 google-18-fullgoogle-18-full/ruby302024-03-312025-03-31
Ruby 2.71st gen, Run functionsruby27 google-18-fullgoogle-18-full/ruby272024-01-302025-01-30
Ruby 2.61st gen, Run functionsruby26 google-18-fullgoogle-18-full/ruby262024-01-302025-01-30

PHP

RuntimeGenerationRuntime IDStacksRuntime base imageDeprecationDecommission
PHP 8.4Run functionsphp84 google-22-full (default)google-22-full/php842028-12-312029-06-30
PHP 8.3Run functionsphp83 google-22-full (default)google-22-full/php832027-12-312028-06-30
PHP 8.21st gen, Run functionsphp82 google-22-full (default)google-22-full/php822026-12-312027-06-30
PHP 8.11st gen, Run functionsphp81 google-18-fullgoogle-18-full/php812025-12-312026-06-30
PHP 7.41st gen, Run functionsphp74 google-18-fullgoogle-18-full/php742024-01-302025-01-30

.NET

RuntimeGenerationRuntime IDStacksRuntime base imageDeprecationDecommission
.NET 8Run functionsdotnet8 google-22 (default) google-22-fullgoogle-22/dotnet8google-22-full/dotnet8
.NET 61st gen, Run functionsdotnet6 google-22 (default) google-22-fullgoogle-22/dotnet6google-22-full/dotnet62024-11-122025-11-12
.NET Core 31st gen, Run functionsdotnet3 google-18-fullgoogle-18-full/dotnet32024-01-302025-01-30

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

Last updated 2025-12-15 UTC.