Runtime Support

Runtimes on Cloud Functions include an operating system, software required to build and execute code written for a specific programming language, and software to support your function. Cloud Functions applies updates to runtimes in accordance with your selected security update policy.

Diagram outlining the stages in the lifecycle of a Cloud Functions runtime

Google provides support for a runtime during General availability (GA). During this support window:

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

When a language version is no longer actively maintained by the respective community, Cloud 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 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 platform services.

Runtime lifecycle

GA-level support Deprecated Decommissioned
Creation & redeployment Yes Yes No
Running existing workloads Yes Yes No
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 Functions will begin issuing in-app 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 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, while the decommission date indicates the start of the decommission period.

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

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

Support Schedule

Here is the list of supported Cloud 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 Environment Runtime ID Deprecation Decommission
Node.js 20 1st gen, 2nd gen Ubuntu 22.04 nodejs20 2026-04-30
Node.js 18 1st gen, 2nd gen Ubuntu 22.04 nodejs18 2025-04-30
Node.js 16 1st gen, 2nd gen Ubuntu 18.04 nodejs16 2024-01-30
Node.js 14 1st gen, 2nd gen Ubuntu 18.04 nodejs14 2024-01-30
Node.js 12 1st gen, 2nd gen Ubuntu 18.04 nodejs12 2024-01-30
Node.js 10 1st gen, 2nd gen Ubuntu 18.04 nodejs10 2024-01-30
Node.js 8 1st gen, 2nd gen Ubuntu 18.04 nodejs8 2020-06-05 Feb 2021
Node.js 6 1st gen, 2nd gen Ubuntu 18.04 nodejs6 2019-04-17 Aug 2020

Python

Runtime Generation Environment Runtime ID Deprecation Decommission
Python 3.12 1st gen, 2nd gen Ubuntu 22.04 python312 2028-10-02
Python 3.11 1st gen, 2nd gen Ubuntu 22.04 python311 2027-10-24
Python 3.10 1st gen, 2nd gen Ubuntu 22.04 python310 2026-10-04
Python 3.9 1st gen, 2nd gen Ubuntu 18.04 python39 2025-10-05
Python 3.8 1st gen, 2nd gen Ubuntu 18.04 python38 2024-10-14
Python 3.7 1st gen Ubuntu 18.04 python37 2024-01-30

Go

Runtime Generation Environment Runtime ID Deprecation Decommission
Go 1.22 2nd gen Ubuntu 22.04 go122
Go 1.21 1st gen, 2nd gen Ubuntu 22.04 go121
Go 1.20 1st gen, 2nd gen Ubuntu 22.04 go120
Go 1.19 1st gen, 2nd gen Ubuntu 22.04 go119 2024-04-30
Go 1.18 1st gen, 2nd gen Ubuntu 22.04 go118 2024-01-30
Go 1.16 1st gen, 2nd gen Ubuntu 18.04 go116 2024-01-30
Go 1.13 1st gen, 2nd gen Ubuntu 18.04 go113 2024-01-30
Go 1.12 1st gen, 2nd gen Ubuntu 18.04 go112 2024-01-30
Go 1.11 1st gen, 2nd gen Ubuntu 18.04 go111 2020-08-05 Feb 2021

Java

Runtime Generation Environment Runtime ID Deprecation Decommission
Java 21 2nd gen Ubuntu 22.04 java21 Oct 2031
Java 17 1st gen, 2nd gen Ubuntu 22.04 java17 October 2027
Java 11 1st gen, 2nd gen Ubuntu 18.04 java11 October 2024

Ruby

Runtime Generation Environment Runtime ID Deprecation Decommission
Ruby 3.2 1st gen, 2nd gen Ubuntu 22.04 ruby32 2026-03-31
Ruby 3.0 1st gen, 2nd gen Ubuntu 18.04 ruby30 2024-03-31
Ruby 2.7 1st gen, 2nd gen Ubuntu 18.04 ruby27 2024-01-30
Ruby 2.6 1st gen, 2nd gen Ubuntu 18.04 ruby26 2024-01-30

PHP

Runtime Environment Generation Runtime ID Deprecation Decommission
PHP 8.3 2nd gen Ubuntu 22.04 php83 2026-11-23 2027-11-23
PHP 8.2 1st gen, 2nd gen Ubuntu 22.04 php82 2025-12-08
PHP 8.1 1st gen, 2nd gen Ubuntu 18.04 php81 2024-11-25
PHP 7.4 1st gen, 2nd gen Ubuntu 18.04 php74 2024-01-30

.NET Core

Runtime Generation Environment Runtime ID Deprecation Decommission
.NET Core 8 2nd gen Ubuntu 22.04 dotnet8
.NET Core 6 1st gen, 2nd gen Ubuntu 22.04 dotnet6 2024-11-12
.NET Core 3 1st gen, 2nd gen Ubuntu 18.04 dotnet3 2024-01-30