1. Update your active auto scaling group with miz-size 0 and max size 0 with the below command. You should have AWS auto scaling command line tools installed. You can follow my blog post to setup command line tools.
$ as-update-auto-scaling-group prod-scaling-group --min-size 0 --max-size 0
$ as-update-auto-scaling-group prod-scaling-group --min-size 0 --max-size 0
2. Wait for the instances to shutdown.
3. And now delete your auto scaling group
$as-delete-auto-scaling-group pd-prod-scaling-group
$as-delete-auto-scaling-group pd-prod-scaling-group
No comments:
Post a Comment