Are you paying for backups of servers you deleted last year?
Snapshot storage keeps growing when nothing is ever told to expire, and deleting a backup feels riskier than paying for it A starting point for production 7 daily snapshots 4 weekly snapshots Monthly only if the business or compliance needs them, with an end date For non-production, a few days is usually enough, or none if both the environment and its data can be recreated How to adjust the…
In the world of cloud computing, snapshot storage can grow unchecked without any clear expiration, leading to unnecessary costs. When a backup is deleted, it can feel riskier than paying for its continued existence. Production environments typically take daily snapshots for seven days, weekly snapshots for four weeks, and monthly backups only when business or compliance requirements dictate.
For non-production environments, backups are often kept for a few days or not at all, as environments and data can be recreated if needed.
Adjusting the frequency of backups depends on how much data you can afford to lose and how late you could notice a problem. If a bad data issue can go unnoticed for six weeks, weekly backups may not be sufficient. EBS snapshots remain even after the volume is deleted, and GCP disk snapshots can persist after the disk is gone. Deregistering an AMI leaves its snapshots behind by default. Manual RDS snapshots outlive the database and will bill until someone removes them.
To clean up these unnecessary snapshots, list those older than your longest retention rule and mark the ones whose source no longer exists. Treat them as candidates for deletion, but be cautious as any one of them could be the only copy left. Check the owner, image references, and compliance holds before deleting.
Consider letting AWS Backup, Data Lifecycle Manager, or GCP snapshot schedules handle the expiration of backups automatically. Give every manual snapshot an owner and an end date. Regularly test your restores on a schedule, as it's easier to trust a short retention period when you know the recent backups work. After all, a backup you've never restored is merely an assumption. Determine how old your oldest snapshot is and confirm whether anyone knows to which environment or data it belongs.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to