How to figure out which EC2 instance an EBS Volume went with

amazon ec2amazon-ebsamazon-web-services

I discovered a few unattached, mystery EBS volumes in my AWS Console. I suspect these are leftovers from some test EC2 instances I had that I may have not noticed were NOT set to delete the volume upon termination.

Is there a "Attachment History" anywhere for a volume so I can see what instances it used to go with? Or should I just make a new instance off the volume, SSH in, and try to figure it out for myself?

Best Answer

There is no "Attachment History" - so just start a new instance (default AMI with the Distribution of your choice) and attach all volumes to different /dev/* then mount them readonly on the machine and check for yourself what is on the volumes and if you still need the data.

So you can make sure you won't change anything on these devices/volumes (even booting from these volumes will change logs etc.)