Promote to production without downtime
Move a verified preview build with health checks and instant rollback.
Platform team
Promotion should feel boring. Take the same build you already reviewed and switch production traffic when health checks pass.
The expensive failure mode is rebuilding production from a different commit than the one stakeholders approved. Promote keeps preview and production aligned: one artifact, two environments, a clear rollback.
Checklist
- Run migrations before switching traffic when schema changes require it
- Keep the previous deployment warm until the new one is healthy
- Watch error rate and latency for a few minutes after promote
- If anything spikes, roll back to the last known-good deployment
Document who can promote in production and require a green preview first. Prefer automated checks over heroics at midnight.
After the switch
Stay with the release for a short soak. Confirm the primary domain, background jobs, and critical API routes. If you use feature flags, keep the kill switch reachable from the same dashboard as the promote action.
Write a short postmortem only when promote fails — not for every successful release. The goal is a calm ritual, not theater.
Promote vs redeploy
Promote moves a known artifact. Redeploy rebuilds. Use promote for production releases unless you intentionally need a clean rebuild for dependency updates.
Production
Rollback is a dashboard action
Keep the previous deployment warm. If error rate spikes, switch back without SSH and without guessing which commit was live.
From preview to production
FAQ
Join the discussion
- EY
ehsan yaghmori
this is good
