In the past few months our snapshots backup volume increases and hence our monthly bill in amazon EC2. Now i wanted to delete some of our old EC2 snapshots. So here is the question:
How to find all the snapshots created from a single Volume ID using EC2 command line tool? I tried ec2-describe-snapshots but this list all the snapshots. We have lots of snapshots and it is very difficult for me to note them down one by one.
to get the values of only the snapshot-ids and the corresponding volumes:
Refer : http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-snapshots.html
Do
ec2-describe-snapshots --filter "volume-id=vol-12345"
.Well documented.