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?

preguntada hace 2 años331 visualizaciones
1 Respuesta
0

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

AWS
ASGDude
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas