Interview Prep/DevOps Fundamentals/Deployment strategies

Your team deploys once a month and every release breaks something. How would you improve this?

IntermediateScenarioDeployment strategies
Answer
  1. Deploy smaller changes more often — small changes are easier to test and roll back.
  2. Add CI — automated builds and tests on every pull request.
  3. Automate deployments through a pipeline, so every release follows the same steps.
  4. Use a staging environment that matches production.
  5. Use a safer strategy such as canary or blue/green.
  6. Add monitoring and alerts so problems are seen in minutes.
  7. Review failures without blame and fix the root cause each time.
All DevOps Fundamentals questions Roadmap: What is DevOps

More on Deployment strategies