IBM Cloud Docs
Function runtimes

Function runtimes

Code Engine includes Managed runtimes that you can use for your functions.

Managed runtimes include Node.js and Python versions and specific CPU and memory combinations. These runtimes are optimized for fast startup. These runtimes are pre-warmed, which avoids the overhead of pulling container images and starting containers and processes. Your code is injected into an already running container.

Need to deploy a container image? See Working with apps or Working with jobs and job runs. Not sure what type of Code Engine workload to create? See Planning for Code Engine.

Supported managed runtimes for functions on Code Engine

The following runtimes are supported as managed runtimes.

  • Node.js 18
  • Python 3.11

Supported CPU and memory combinations for functions

See the following list for valid combinations of CPU and memory for functions.

  • 0.25 vCPU and 1 GB memory
  • 0.5 vCPU and 2 GB memory (Default)
  • 1 vCPU and 4 GB memory

For memory and CPU information, see Supported memory and CPU combinations.