Deploy HydroGo on DigitalOcean
Launch a complete CMS + commerce backend on a single $6/mo Droplet with embedded Admin Studio, media uploads (local or Spaces S3), and automated backups.
1. Provision a Droplet and install HydroGo
SSH into your Ubuntu 24.04 Droplet and fetch the static binary.
curl -fsSL https://github.com/hydrohq/hydrogo/releases/latest/download/install.sh | sh 2. Boot immediately with SQLite WAL or attach Managed Postgres
For zero external database cost, run with SQLite WAL. Or paste your DigitalOcean Managed PostgreSQL DSN into HYDRO_DATABASE_DSN.
HYDRO_ENV=production \
HYDRO_HTTP_PUBLIC_ORIGIN="https://api.yourdomain.com" \
hydro serve --ssl=auto --domain api.yourdomain.com 3. Optional: Offload media to DigitalOcean Spaces
Configure S3-compatible media storage so Droplet disk stays small and images convert cleanly to WebP.
media:
storage: s3
s3:
endpoint: nyc3.digitaloceanspaces.com
bucket: my-hydro-media Production hardening checklist
- Configure UFW (ufw allow 22,80,443/tcp && ufw enable).
- Verify setup completion cleanly via GET /healthz returning HTTP 200 ok.
- Enable automated backups or S3 backup sync via hydro backup.