mercredi 27 mai 2015

find prior instance attachments for ebs volumes

I am trying to clean up some old AWS accounts to reduce costs, and need to get rid of unnecessary EBS volumes that are not attached to anything.

aws ec2 describe-volumes --volume-ids "blah" "blah"

does return a list of volumes, but doesn't provide info on which VM it might have been attached to.

Before I delete a whole bunch and we lose data that might be needed, I was wondering if there is a good approach to get that info?

Looked into cross referencing with Snapshot Id's and seeing what was there, but almost all have been deleted. Only one volume so far has tags that describe the old VM.




Aucun commentaire:

Enregistrer un commentaire