CodeDeploy, deployment failed after EC2 changed instance type

1

Hi,

I had CodeDeploy setup which was working fine. My code is built into a zip file and stored in S3 bucket. CodeDeploy refers to this zip file for deployment on my EC2 instance.

This was working fine. But recently I changed my EC2 instance type from t3.micro to t3.small. Then CodeDeploy failed to do the deployment. The following is the error message:

The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems.

Any idea of this error and how could I fix it?

Thanks

질문됨 5년 전2088회 조회
2개 답변
0

Found the codeDeploy agent status was Active Exited in the instance. Fixed the issue by doing the following:

1, uninstalled CodeDeploy agent in the instance
2, deleted the codeDeploy agent folder
3, installed CodeDeploy agent
4, restart CodeDeploy agent

답변함 5년 전
0

resolved

답변함 5년 전

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

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

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

관련 콘텐츠