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?

已提問 2 年前檢視次數 331 次
1 個回答
0

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

AWS
ASGDude
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南