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

asked 5 years ago2167 views
2 Answers
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

answered 5 years ago
0

resolved

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions