Lesson 7 of 12 - CI/CD: from commit to production
Deploy, then roll back safely
By Branko Petric - Updated - About 8 min - Full access
The short answer
A safe deploy replaces the old version gradually, checks that the new one is healthy before sending it traffic, and keeps the previous version ready. Rolling, blue/green and canary are three ways to do that. When a release breaks, roll back to the last known-good artifact first, then debug.
Want the bigger picture? This lesson maps to this step of the DevOps roadmap.