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.

posta 2 anni fa240 visualizzazioni
1 Risposta
2

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

profile picture
ESPERTO
con risposta un anno fa
  • 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

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande