CI/CD pipeline patterns, Docker multi-stage builds, deployment strategies (rolling/blue-green/canary), health checks, rollbacks, and production readiness checklists.
Replace instances one at a time — requires backward-compatible changes.
v1 → v2 (instance 1)
v1 (instance 2, still running)
Use when: Standard deploys, compatible schema changes.
Two identical environments, atomic traffic switch.
Blue (v1) ← traffic → Blue (v1) idle (standby)
Green (v2) idle → Green (v2) ← traffic
Use when: Critical services, zero-tolerance for issues, instant rollback needed.
Route small % of traffic first, grow if metrics look good.