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.


Just the essentials to go from zero to working in a few minutes.
How to accomplish specific tasks in detail, like creation/deletion, configuration, and management.
Step-by-step instructions for common use cases and third-party software integration.
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

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.

20 September 2022

  • DigitalOcean Functions now has support for multiple namespaces.

    Namespaces are a level of isolation and organization for functions. They allow you to isolate functions by project, by environment (production versus development, for example), by region, or by any other grouping that facilitates your development workflow.

    Visit the Functions documentation to learn more about creating and working with multiple namespaces.

27 June 2022

  • In order to improve security, DigitalOcean no longer accepts TLS 1.0 and TLS 1.1 connections. This includes connections to www.digitalocean.com, cloud.digitalocean.com, and api.digitalocean.com.

For more information, see all Functions release notes.