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?

asked 2 years ago325 views
1 Answer
0

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

AWS
ASGDude
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions