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.
You can deploy functions as a component of an App Platform app. First, structure your project so that App Platform can correctly detect the functions and configuration you need:
Next, upload your project to a GitHub repository.
Finally, create an App Platform app with a functions component based on that GitHub repository.
After deployment, you can also set up alerts to monitor your Functions’ performance and trigger Function-level alerts.