Hacker News new | ask | show | jobs
Ask HN: Replace all instances in EC2 ASG 1-by-1
1 points by ivanilves 2531 days ago
Hi HN!

Have you ever seen any [simple, already written] utility or script than could replace all instances in EC2 autoscaling group, one by one?

I mean adding one new instance, waiting for it to get up, removing one corresponding old instance, and repeat until all the instances would be replaced?

Given that autoscaling groups I have were created by hand, by Terraform or by CloudFormation (in different ways I mean), I need a special, separate trigger tool to replace all instances in ASG...

THANK YOU!