Câu hỏi phỏng vấn DevOps
Câu hỏi

Explain Blue-Green deployment technique

Câu trả lời

Blue-green deployment is a software deployment technique that utilizes two identical production environments (a "blue environment" and a "green environment") to minimize downtime and risk when deploying updates. It works by deploying the new version of the application to the inactive environment (e.g. green), while the current version is still running on the blue environment. Once the new version is tested and verified, traffic is switched from the blue to the green environment, making the new version live[1][2].

The key steps in a blue-green deployment are:

  1. Set up two identical production environments (blue and green)
  2. Deploy the new version to the inactive environment (e.g. green)
  3. Test and validate the new version in the green environment
  4. Redirect traffic from the blue to the green environment, making the new version live
  5. Monitor the green environment for any issues
  6. If needed, quickly roll back by switching traffic back to the blue environment
  7. Promote the green environment to blue for the next deployment cycle[1][2]

Blue-green deployments provide several benefits:

  • Minimal downtime during deployments
  • Easy rollback capability by switching back to th...
middle

middle

Gợi ý câu hỏi phỏng vấn

middle

What do you know about Serverless model?

junior

What's the next thing you would automate in your current workflow?

junior

What is the function of CI (Continuous Integration) server?

Bình luận

Chưa có bình luận nào

Chưa có bình luận nào