App Platform How-Tos

App Platform is a Platform-as-a-Service (PaaS) offering that allows developers to publish code directly to DigitalOcean servers without worrying about the underlying infrastructure.

Getting Started

Build and deploy apps on push in the cloud with App Platform.
Deploy an application using a container image stored in your DigitalOcean Container Registry.
Deploy applications from monorepos in App Platform.
Build app components locally using the same build process as App Platform.

App Management

Add capacity to your app by scaling the number of containers.
Deploy your source onto App Platform with a “Deploy to DigitalOcean” button in your source repository.
Manage deployments in App Platform.
Update an app’s configuration by editing its spec file.
You can change an app’s source repository by updating the app’s spec.
Delete apps from your app platform.

Manage Components

Create and configure services in App Platform.
Create and configure jobs in App Platform.
Create and configure background workers in App Platform.
Create and configure a static site in App Platform.
Create and configure functions in App Platform. Functions are blocks of code that run on demand without the need to manage any infrastructure.

Manage Data Storage

Create managed relational databases from directly within App Platform for use in development or production applications.
Review data storage options for App Platform.
Connect your app to PostgreSQL database with connection pools using App Platform.

Manage App Settings

Add, edit, and delete buildtime and runtime commands for your application.
Use and encrypt environment variables in App Platform.
Improve your app’s performance by caching content with Cache-Control headers.
Redeploy an existing App Platform app to a different datacenter region.
Upgrade or downgrade your app’s stack to take advantage of new features and security updates, or maintain your app’s compatibility.
Upgrade your app’s buildpacks to their latest versions.
Change your app server’s time zone configuration to match your application’s needs.

Manage Networking

Add a dedicated IP address to your app that allows external resources to connect directly to your app’s services.
Add a custom domain to use for your app, in addition to its included subdomain.
Enable cross-origin resource sharing in App Platform.
Set up internal routing between components in your app to support API gateways, backend job processing, and microservice architecture.
Change the ingress URL paths in your app to create more manageable URLs or redirect traffic to different URLs.

Manage Observability

Add health checks to your app to monitor the availability and performance of its services.
View application, build, deploy, and runtime logs in App Platform.
Enable log forwarding to log management providers in App Platform.
Create alert policies and set up alerts for app or resource events.
View application insights in App Platform.