Closed DiegoRBaquero closed 5 years ago
ELBAS, at least in the later versions, will remove snapshots of previously made AMIs. Is that what you're referring to? If you just mean instances are terminated by AWS because of their AutoScaling so you have an image left over, that seems like it's outside the scope of this gem. ELBAS should clean itself up pretty well and only keep around the most recent copy of your AMI and snapshots.
I was referring to the EC2 instances' volumes (disk). Seems like volumes are/were created without the flag to be deleted when the instance is deleted.
I no longer use this, or ruby at all, so I wouldn't know if it's still an issue.
How could I achieve this?
I'm left with many volumes that I'd like deleted after the instances are terminated.
Thank you