Run your app on one VPS without building a platform. Three bash scripts plus a small shared library, tested in a clean Debian container with real Postgres, Caddy, restic and an SFTP server (59 automated checks):
deploy.sh rollback flips back.Measured with a 20 requests/s load through Caddy (Node app with a 1.5 s start time, one run): blue-green deploy 211 requests, 0 failed; broken release 373 requests, 0 failed; rollback 208 requests, 0 failed. The default restart mode on the same app failed 32 of 116 requests during a good deploy. Your numbers will differ with your app and traffic.
Includes ecosystem.config.js, Caddyfile and cron examples, and a README with setup steps and a strict tested / not tested list.
Honest notes: Linux only, one app per config file, pm2 as the process manager. Blue-green needs an app that reads its port from PORT and tolerates two releases overlapping for a few seconds (migrations must be backward compatible). Alerts were tested against a local fake of the Telegram API, not the live service. S3/rclone backends, systemd-managed Caddy and Go builds are untested starting points.
By clicking "Pay now," you authorize Polar Software, Inc., our online reseller and merchant of record, to charge your selected payment method the amount shown above, and agree to the Buyer Terms. This is a one-time charge.