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 年前檢視次數 2084 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南