Originally published at Shipped Code .
You can build the app, and the API works on your laptop. What most DevOps advice for developers skips is the path from there to a server that stays up, takes updates without drama and survives a dead disk. For one developer and one small product, that path is short, and you can do it before adding anything bigger.
TL;DR. The 7 steps, in the order I would do them:
Build one Docker image and run it everywhere.
Run the app, PostgreSQL and Redis locally with Docker Compose.
Let CI test, build and push the image on every merge.
Deploy to one VPS behind Caddy, which gets HTTPS certificates automatically.
Keep secrets in .env files on the server and in CI variables, never in git.
Back up the database off-site and restore it at least once.
Harden SSH and the firewall, and watch the service with alerts.
What you'll learn:
what each of the 7 steps protects you from, and which post covers it in depth;
the 2 production details that bite most often (Docker bypassing UFW,…