Where Should You Deploy an App on DigitalOcean? Choosing App Platform or a Droplet
Compare DigitalOcean App Platform and Droplets by deployment flow, infrastructure control, persistent storage, and operational responsibility.
DigitalOcean App Platform is a managed place to deploy code, while a Droplet is a Linux virtual machine that you operate yourself. Start with App Platform when you want to deploy from a repository and minimize server administration; choose a Droplet when you need control over the operating system, processes, or network setup. Neither is best for every workload: match the service to your control requirements and the operational work your team can own.
What is different?
A Droplet is a Linux VM running on virtualized hardware. You choose an image and compute size, then install and configure software over SSH. You control the runtime, process manager, web server, patches, and firewall configuration, so you also own those decisions and their maintenance. Droplet Quickstart
App Platform is a managed platform-as-a-service (PaaS). It builds and runs an application from a Git repository or container image. It can detect supported languages and dependencies, or use your Dockerfile or existing image, then runs configured components such as web services, static sites, and workers. This leaves more infrastructure work to DigitalOcean, while you configure the application, environment variables, routes, and component resources. App Platform features, Create apps
| Criterion | App Platform | Droplet |
|---|---|---|
| You manage | Code, app configuration, environment variables, component size and scaling | The OS, runtime, web server, processes, and deployment |
| Starts from | Git repository or container image | OS image, snapshot, or backup |
| Fits | Standard web services, static sites, and workers with less server administration | Custom system packages, daemons, server settings, or SSH administration |
| Trade-off | Follow the platform’s supported runtime, networking, and storage model | Design and maintain patching, access control, deployments, and recovery |
Actual capabilities and limits depend on the component and plan and can change; consult current documentation.
How a request reaches the app
With App Platform, connecting a source lets the platform detect and build supported code, or build the configured Dockerfile or image into a container. It then runs components according to their configuration. Users reach a web service through its public address or configured domain. You can adjust component size and instance count. DigitalOcean describes deployments in which a new version is prepared and then traffic moves to it. App Platform introduction
With a Droplet, you configure the server side yourself. For a Node.js app, for example, you would prepare the OS and Node runtime, deploy the app, configure its start and restart behavior, and set up a web server or proxy to route external requests. You also choose deployment automation and health checks. That flexibility requires you to diagnose boot, process, and deployment failures.
A hypothetical example
Suppose a small team runs a web app and static information site from GitHub and wants to avoid routine server logins and OS administration. App Platform can deploy app components from the repository; the team configures environment variables, domain, and component size. If the app needs data, it can connect a database as a separate component. The team can focus more on code releases, but cannot freely change behavior outside the platform’s supported model.
Now suppose the app needs OS-level packages, a separate background daemon, or direct process control that does not fit App Platform’s components. A Droplet can provide the needed server environment. The team must also be prepared to manage SSH keys and permissions, OS updates, process monitoring, backups, recovery, and network rules. Server access by itself does not guarantee security or availability.
Check App Platform’s limits
The container’s local file system is not persistent: files stored only there can disappear during deployment or container replacement, and App Platform does not support volumes. Store uploads or data that must survive in suitable object storage or a database instead. App Platform limits
You also cannot open SSH or SFTP ports to App Platform containers; deploy code through the repository or image. Check the current limits before relying on particular system calls or network behavior. The documentation, for example, describes some IPv6 connection restrictions and says VPC is not supported for Function components. These details can change, so verify them at deployment time.
A Droplet allows broader server control, but you own that server’s security and upkeep. Restrict exposed ports and accounts, protect SSH keys, and make OS updates, application updates, and backup recovery routine. Adding a Cloud Firewall or VPC does not remove responsibility for application and operating-system configuration. Check region and network requirements when placing a server and database together. Add resources to a VPC
Questions to narrow the choice
Can Git-based deployment and the platform’s managed runtime meet the requirements? Start with App Platform.
Must you install OS packages or adjust the server over SSH? If that is essential, a Droplet may fit better.
Must user uploads or application state persist? Design separate persistent storage with App Platform; do not treat a Droplet’s disk alone as a backup plan either.
Who will handle server operations and security updates? Reducing direct administration can help when that owner is unavailable; a team with the skills and need for deeper control may prefer a Droplet.
Does the team need reproducible infrastructure management across many servers? Compare DigitalOcean Kubernetes or configuration-management tools as well. App Platform documentation points to Kubernetes and Droplets when deeper infrastructure control is needed. [App Platform features](https://docs.digitalocean.com/products/app-platform/details/features/)
List the deployment, storage, and networking requirements, then verify each against App Platform’s current support before choosing. App Platform reduces server administration but requires its execution model; a Droplet gives more control and makes server operations your responsibility.