Runtime Support

To keep your functions up-to-date and secure, we occasionally need you to update your functions and re-deploy them to use a supported runtime. Runtimes on Cloud Run functions include an operating system, software required to build and execute code written for a specific programming language, and software to support your functions. Cloud Run functions applies updates to runtimes in accordance with your selected security update policy.

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 tables, 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 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 Environment Runtime ID Deprecation Decommission
Node.js 22 2nd gen Ubuntu 22.04 nodejs22 2027-04-30 2027-10-31
Node.js 20 1st gen, 2nd gen Ubuntu 22.04 nodejs20 2026-04-30 2026-10-30
Node.js 18 1st gen, 2nd gen Ubuntu 22.04 nodejs18 2025-04-30 2025-10-30
Node.js 16 1st gen, 2nd gen Ubuntu 18.04 nodejs16 2024-01-30 2025-01-30
Node.js 14 1st gen, 2nd gen Ubuntu 18.04 nodejs14 2024-01-30 2025-01-30
Node.js 12 1st gen, 2nd gen Ubuntu 18.04 nodejs12 2024-01-30 2025-01-30
Node.js 10 1st gen, 2nd gen Ubuntu 18.04 nodejs10 2024-01-30 2025-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 2029-04-02
Python 3.11 1st gen, 2nd gen Ubuntu 22.04 python311 2027-10-24 2028-04-24
Python 3.10 1st gen, 2nd gen Ubuntu 22.04 python310 2026-10-04 2027-04-04
Python 3.9 1st gen, 2nd gen Ubuntu 18.04 python39 2025-10-05 2026-04-05
Python 3.8 1st gen, 2nd gen Ubuntu 18.04 python38 2024-10-14 2025-10-14
Python 3.7 1st gen Ubuntu 18.04 python37 2024-01-30 2025-01-30

Go

Runtime Generation Environment Runtime ID Deprecation Decommission
Go 1.23
(Preview only)
2nd gen Ubuntu 22.04 go123
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 2024-05-01 2025-05-01
Go 1.19 1st gen, 2nd gen Ubuntu 22.04 go119 2024-04-30 2025-01-30
Go 1.18 1st gen, 2nd gen Ubuntu 22.04 go118 2024-01-30 2025-01-30
Go 1.16 1st gen, 2nd gen Ubuntu 18.04 go116 2024-01-30 2025-01-30
Go 1.13 1st gen, 2nd gen Ubuntu 18.04 go113 2024-01-30 2025-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.3 1st gen, 2nd gen Ubuntu 22.04 ruby33 2027-03-31 2027-09-30
Ruby 3.2 1st gen, 2nd gen Ubuntu 22.04 ruby32 2026-03-31 2026-09-30
Ruby 3.0 1st gen, 2nd gen Ubuntu 18.04 ruby30 2024-03-31 2025-03-31
Ruby 2.7 1st gen, 2nd gen Ubuntu 18.04 ruby27 2024-01-30 2025-01-30
Ruby 2.6 1st gen, 2nd gen Ubuntu 18.04 ruby26 2024-01-30 2025-01-30

PHP

Runtime Environment Generation Runtime ID Deprecation Decommission
PHP 8.3 2nd gen Ubuntu 22.04 php83 2026-11-23 2027-05-23
PHP 8.2 1st gen, 2nd gen Ubuntu 22.04 php82 2025-12-08 2026-06-08
PHP 8.1 1st gen, 2nd gen Ubuntu 18.04 php81 2024-11-25 2025-11-25
PHP 7.4 1st gen, 2nd gen Ubuntu 18.04 php74 2024-01-30 2025-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 2025-11-12
.NET Core 3 1st gen, 2nd gen Ubuntu 18.04 dotnet3 2024-01-30 2025-01-30