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?

demandé il y a 2 ans331 vues
1 réponse
0

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

AWS
ASGDude
répondu il y a 2 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