Remove EC2 instance snapshots older than X days

Guess who was lazy and didn’t post anything for months? 🙂

Let’s fix that!

Newest challenge: “I’m spamming New-EC2Snapshot every minute because I need my instance to be super protected against hacker ninjas! (Or was it pirates?) But now I have 6.022×1023 snapshots I have no idea what to do with!”

How to get rid of all snapshots older than 3, 7, 30 days?

Continue Reading