DigitalOcean
DigitalOcean is a cloud platform with virtual servers and managed services. It can host a web app alongside data and storage services.
What you can build or improve
Hosting an API
Run the server in an environment where the team can choose how to install dependencies and apply updates.
App with a managed database
Keep the app and database in separate services so their responsibilities and recovery plans are clear.
When we’d choose it
We’d consider it for an app with a few moving parts, such as an API and a database, when your team wants to choose how much infrastructure to manage.
Why use it
A virtual server lets us control the environment where the app runs. A managed database can reduce the work of operating that database while the team keeps control of the server.
What to consider
With a virtual server, your team still owns its configuration, updates, and monitoring. We’d also review the available region and how to recover the service and its data.
Illustrative example
Booking system for several branches
An API on a virtual server gathers bookings from every branch. The database is managed separately.
Official documentation
Tools and how they fit together
Decide how much control the app needs and how much time the team can spend maintaining infrastructure.
Where the app runs
Where the app runs
A Droplet works when you need control of the server. App Platform is an option when the app fits a managed deployment workflow.
- Droplets
- App Platform
Records and files
Records and files
Keep records in a database and consider Spaces for files. Specify who can access each resource and what must be recoverable.
- Managed Databases
- Spaces
Access and monitoring
Access and monitoring
Restrict server connections and watch metrics for changes. Agree on who responds to alerts and what they can check first.
- Cloud Firewalls
- DigitalOcean Monitoring
Questions before you decide
Who updates the server?
With a virtual server, agree on who installs patches, monitors the service, and responds when it goes down.
When would we use App Platform instead of a Droplet?
If the deployment fits App Platform and we want to spend less time operating servers. If we need detailed control of the environment, compare using a Droplet.
Where should we host the app?
Check where your users are, which services are available in each region, and whether there are requirements for where the data stays.