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 26
(Preview)
Run functions nodejs26 google-24 (default) google-24-full google-24/nodejs26 google-24-full/nodejs26
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