The two ways to publish
- Droplet (VPS): a Linux server you set up yourself. It works for any stack and teaches you how everything works.
- App Platform: you connect your repository and the platform builds and deploys. It is the quickest if your project fits its templates.
The steps with a Droplet, in short
- Create the Droplet with Ubuntu LTS and choose SSH key authentication, not a password.
- Enable the cloud firewall (Cloud Firewall) and open only ports 22, 80 and 443.
- Harden the server: non-root user, automatic updates and fail2ban.
- Deploy your app as on any VPS: a service that restarts itself, Nginx or Caddy, and HTTPS.
- Point your domain at the Droplet, using a Reserved IP if you want to be able to change servers without touching DNS.
- Enable backups for the Droplet and take a snapshot before big changes.
- Database: install it on the Droplet with local-only access, or use a managed one with a private network.
- Enable monitoring and alerts for CPU, memory and disk.
Common mistakes
- Leaving password access enabled on a new server.
- Opening the database port to the whole internet.
- Not enabling backups and discovering it after something is already lost.
- Choosing a Droplet too small that runs out of memory while building.
How we help
We recommend the most economical option for your project and leave it ready, with a domain, HTTPS, backups and automatic deploys.