All Products
Search
Document Center

Function Compute:Overview

Last Updated:Apr 01, 2026

Function Compute supports multiple languages through runtimes. Select a runtime when you create a function. You can change or upgrade it at any time by updating the function configuration.

How it works

Each function runs inside an execution environment—a secure, isolated sandbox that manages the resources your function needs. When a function is invoked, Function Compute reuses an available execution environment from a previous invocation. If none is available, it creates a new one.

All runtimes are based on a specific Linux distribution. Depending on the runtime, Function Compute supports Debian 9 (Stretch), Debian 10 (Buster), or Debian 11. When a language version reaches end of life, the corresponding runtime is deprecated.

Supported runtimes

Node.js

VersionIdentifierOSArchitecture
Node.js 20.xnodejs20Linux (Debian 10)x86_64
Node.js 18.xnodejs18Linux (Debian 10)x86_64
Node.js 16.xnodejs16Linux (Debian 9)x86_64
Node.js 14.xnodejs14Linux (Debian 9)x86_64
Node.js 12.xnodejs12Linux (Debian 9)x86_64

Python

VersionIdentifierOSArchitecture
Python 3.12 (public preview)python3.12Debian 11x86_64
Python 3.10python3.10Debian 10x86_64
Python 3.9python3.9Debian 9x86_64
Python 3.6python3Debian 9x86_64

PHP

VersionOSArchitecture
PHP 7.2Linuxx86_64

Java

VersionOSArchitecture
Java 11Linuxx86_64
Java 8Linuxx86_64

.NET

VersionOS
.NET Core 3.1Debian 9

Go

VersionOSArchitecture
Go 1.xLinuxx86_64

Custom runtimes

Custom runtimes let you run any language or framework not covered by the built-in runtimes.

RuntimeIdentifierOSArchitecture
Custom Runtime (Debian 11) (in public preview)custom.debian11Debian 11x86_64
Custom Runtime (Debian 10)custom.debian10Debian 10x86_64
Custom Runtime (Debian 9)customDebian 9x86_64

Runtime deprecation policy

Function Compute deprecates runtimes in two phases when a language version reaches end of life. Security patches and technical support are no longer provided after deprecation begins.

PhaseWhat happens
Phase 1New functions cannot be created using the runtime. Existing functions can still be executed and updated.
Phase 2Existing functions cannot be updated using the runtime. Existing functions can still be executed.
Important

Function Compute does not block invocations of functions using a deprecated runtime. To continue receiving security updates and technical support, migrate your functions to a supported runtime.

Function Compute notifies you by email or internal messages 60 days before a runtime is deprecated. The table below lists current deprecation plans. Runtimes not listed have no scheduled deprecation date.

RuntimeIdentifierPhase 1Phase 2
Node.js 12nodejs12NoneNone
Node.js 10nodejs10October 15, 2024December 15, 2024
Node.js 8nodejs8October 15, 2024December 15, 2024
.NET Core 2.1dotnetcore2.1June 1, 2023September 25, 2024
Python 2.7python2.7June 1, 2023September 25, 2024
Node.js 6nodejs6June 1, 2023September 25, 2024
Node.js 4.4nodejs4.4June 1, 2023September 25, 2024

Related topics