FunctionsPreview
Functions behind an HTTPS address, scaled to zero when idle.
In preview: open it in the console to request access for your organization. Not charged while in preview.
At a glance
- Runtimes
- Node.js 22, Python 3.12, or a container image
- Memory
- 128 MB to 2,048 MB
- Timeout
- Up to 900 seconds
- Status
- Preview, on request
What it does
- An address per function
- Each function answers at its own HTTPS address, signed with IAM by default, or public with a request-rate limit.
- Isolated
- Every function runs under gVisor, with outbound network access open or off.
- Dependencies at deploy
- Ship a
package-lock.jsonorrequirements.txtand dependencies are installed when you deploy. The current code keeps serving until the new build is ready. - Queue triggers, secrets and roles
- Consume a queue in batches of 1 to 10 messages, receive secrets as environment variables, and act as an IAM role.
Command line
Create a function, deploy it and call it.
$ dcloud functions functions create --name resize --runtime nodejs22
$ dcloud functions functions deploy resize
$ dcloud functions functions invoke resize Price
As of 19 November 2026
Per request and per GB-second of memory and run time. While Functions is in preview, nothing is charged.
| What | Price | Unit |
|---|---|---|
| Function requests | €0.15* | per million |
| Function compute | €0.0504* | per GB-hour |
* Preview products are not charged while in preview.