Codedeploy roll back option for the blue green deployment

0

I have deployed my application in the ec2, using the aws code deploy with blue-green deployment strategy but the rollback option is not working in the blue-green deployment why?

질문됨 5달 전207회 조회
1개 답변
1

There could be a few reasons why the rollback option is not working for your blue-green deployment with CodeDeploy:

The deployment configuration may not be set up correctly for rollback. Ensure the deployment configuration specifies a rollback trigger and rollback mechanism.

There could be issues with the validation test for the deployment. If the validation test fails or times out, CodeDeploy will not trigger the rollback. Check the validation test is properly configured and completes successfully within the timeout period.

Permissions or IAM roles used by CodeDeploy may be missing the required permissions for rollback actions. Confirm the CodeDeploy service role has permissions for the rollback operations.

Logs from the CodeDeploy agent on the EC2 instances ( /var/log/aws/codedeploy-agent/codedeploy-agent.log ) can provide more clues on where the deployment is failing during the validation or rollback stages. Check these logs for errors.

If using Auto Scaling groups, the deployment configuration may need adjusting to ensure instances are properly deregistered and registered during rollback.

AWS
Paul
답변함 5달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠