Functions How-Tos

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 App Platform — no servers required. Learn more about functions.


Getting Started

Create a function in the development namespace to test your function before deployment.
Improve your serverless development with this guidance on invoking, iterating on, and observing DigitalOcean Functions.
Create a GitHub repository with the correct project structure in order to deploy your functions to production.
After you create and test a function in the development namespace, use App Platform to deploy to production.
You can destroy individual functions in the development namespace at any time. You can also destroy all functions in the development namespace at once to reset the environment entirely.