codedeploy blue/green deployment fails on AWS, it leaves dangling instances. How do I ensure that new instances are terminated?

1

Each release creates a new autoscaling group and therefore new instances. If a release goes well, a replacement instances is created, code is deployed there and traffic is shifted over.

If a release fails, however, the instances created still remain, and so if we have multiple failures, we can have a very large number of heavy instances running without reason. Is there a way we can easily clean up these instances, or prevent it altogether perhaps? Am I doing something wrong?

gefragt vor 2 Jahren331 Aufrufe
1 Antwort
0

Could you add the AWS CodeDeploy tag to this to increase visibility for that team?

AWS
ASGDude
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen