couchbase-partners / amazon-cloud-formation-couchbase

Amazon CloudFormation Templates (CFT) for Couchbase Enterprise
Apache License 2.0
9 stars 21 forks source link

Autoscaling Groups - Auto Recovery #32

Open benofben opened 7 years ago

benofben commented 7 years ago

AWS Autoscaling groups don't handle failures well. At some point, we should automate recovery. Until then recovery can be done manually.

"When your instance is terminated, any associated Elastic IP addresses are disassociated and are not automatically associated with the new instance. You must associate these Elastic IP addresses with the new instance manually. Similarly, when your instance is terminated, its attached EBS volumes are detached. You must attach these EBS volumes to the new instance manually."

http://docs.aws.amazon.com/autoscaling/latest/userguide/as-maintain-instance-levels.html#replace-unhealthy-instance

benofben commented 7 years ago

This looks interesting: https://aws.amazon.com/blogs/aws/new-auto-recovery-for-amazon-ec2/

benofben commented 7 years ago

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-system-instance-status-check.html

roadgoat commented 6 years ago

I think we need to allow some method is disable autoscaling groups.