Functions

Functions are blocks of code that run on demand without the need to manage any infrastructure. Develop on your local machine, test your code from the command line (using doctl), then deploy to a production namespace or App Platform — no servers required. Learn more about functions.


Quickstarts and intermediate tutorials to get started.
How to accomplish specific tasks in detail, like creation/deletion, configuration, and management.
CLI documentation for functions, including example requests and available parameters, and other reference information like project YAML configuration and activation records.
Explanations and definitions of core concepts in Functions.
Features, plans and pricing, availability, limits, known issues, and more.

Latest Updates

28 August 2023

26 April 2023

  • DigitalOcean Functions now supports functions written in Go 1.20, PHP 8.2, and Python 3.11.

    Visit the Functions documentation to learn more about which runtimes are available.

29 September 2022

  • DigitalOcean Functions now has limited beta access to scheduled triggers.

    Scheduled function triggers allow you to set a cron-like schedule for running your function. An optional payload may be included with each invocation. Each function may have multiple triggers with different schedules and payloads.

    Visit How to Schedule Functions to learn more about creating and working with scheduled triggers from the command line or control panel interface.

  • DigitalOcean Functions now support a maximum timeout of 15 minutes.

    Longer timeouts enable functions to handle more complex and compute-intensive tasks such as video and image processing, data transformation, and report generation.

    Visit the Functions documentation to learn more about creating and working with long-running functions.

For more information, see all Functions release notes.