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 年前2174 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则