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

demandé il y a 5 ans2132 vues
2 réponses
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

répondu il y a 5 ans
0

resolved

répondu il y a 5 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions