Skip to content

Instantly share code, notes, and snippets.

View lorenzoditucci's full-sized avatar

Lorenzo Di Tucci lorenzoditucci

View GitHub Profile
@lorenzoditucci
lorenzoditucci / README.md
Created September 9, 2020 08:31 — forked from Eyjafjallajokull/README.md
AWS EBS - Find unused snapshots

This script can help you find and remove unused AWS snapshots and volumes.

There is hardcoded list of regions that it searches, adjust the value to suit your needs.

Use snapshot.py snapshot-report to generate report.csv containing information about all snapshots.

snapshot.py snapshot-cleanup lets you interactively delete snapshot if it finds it is referencing unexisting resources.

./snapshots.py --help