CodeDeploy sometimes fail with autoscaling

0

I have an autoscaling with a run configuration using a windows image.

I also have an application with an execution group and pipeline configured to deploy this autoscaling. Only deploy copying a .zip file from S3 to windows.

It happens that sometimes the implantation works and other times it doesn't, what could cause this? When it fails, the deployment is pending for about an hour and then an UnkownError is generated in the ApplicationStop event.

I don't understand why sometimes it works and sometimes it doesn't.

demandé il y a 2 ans240 vues
1 réponse
2

It might be because of the Healthcheck you have configured at the Loadbalancer level.

profile picture
EXPERT
répondu il y a un an
  • It was actually something else. I was using an image on EC2 created for the A1 subnet (for example). In the autoscaling had configured to create the EC2 in any subnet, it happens that when he created for others than the A1 the error occurred. It was just configuring EC2 to always create in the same subnet as the image and it worked.

    I would have liked to have created the image without setting the default subnet so that it would use them randomly. When I use the standard AWS VPC it even works, but with my private one I couldn't do that

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