FunctionsPreview
Functions behind an HTTPS address, scaled to zero when idle.
In preview. Open it in the console to request access for your organization; it is open to you once granted.
Deploy Node.js, Python or a container image as a function with its own HTTPS address. Functions start on request, run isolated under gVisor, and stop when idle.
What you get with Functions
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.json or requirements.txt and 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.
From the 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 Functions pricing
Per request and per GB-second of memory and run time. While Functions is in preview, nothing is charged.
| What | Price | Unit | Billing |
|---|---|---|---|
| Function requests | €0.15 | per million | Preview, not charged |
| Function compute | €0.0504 | per GB-hour | Preview, not charged |
Related products
Start building on Deutsche Cloud
Create an account with your company details, install the command line and deploy your first app. Pay only for what runs.