Skip to content

EBS snapshot audit and lifecycle policy #24

@dashinfraclaw

Description

@dashinfraclaw

Problem

Both AWS accounts accumulated large numbers of old EBS snapshots with no lifecycle policy. dashevo had 239 snapshots (17TB) costing $240-400/mo — all deleted on 2026-03-20. dashdev still has ~129 snapshots that need review.

Completed

  • dashevo: 239 snapshots deleted (old blockchain bcsync data from 2021-2023)
  • dashevo: 11 custom AMIs deregistered + backing snapshots deleted

Remaining

  • dashdev: ~129 snapshots — audit needed
    • Which are backing AMIs still in use?
    • Which are old/orphaned blockchain data?
    • Estimated cost: ~$210/mo (from billing analysis)

Prevention

Implement EBS snapshot lifecycle policies:

  1. AWS Data Lifecycle Manager (DLM): Create policies to auto-delete snapshots older than X days
  2. Tag-based retention: All snapshots must have retention-days tag
  3. Monthly audit: Cron job to report untagged/old snapshots
  4. Terraform: Manage DLM policies in dash-infra (Create dash-infra Terraform project for shared services #21)

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions