CloudFix helps you identify and safely delete EBS volumes that are attached to EC2 instances that have been stopped for an extended period. This feature helps reduce storage costs while maintaining data safety through automatic snapshot creation.

Contents

Overview

Key Benefits

  • Reduce storage costs by removing unnecessary volumes
  • Automatic snapshot creation for data safety
  • Easy rollback process if needed
  • Compliance with AWS best practices

AWS Services Affected

AWS EBS icon
AWS EC2 icon
Amazon Elastic Block Store (EBS) Amazon Elastic Compute Cloud (EC2)

Dependencies

Service Limits

  • Maximum number of concurrent volume deletions
  • API rate limits for volume operations
  • Snapshot storage limits

How It Works

Finder Component

  • Identifies volumes attached to stopped instances
  • Checks instance stop duration
  • Calculates potential cost savings
  • Verifies volume eligibility

Fixer Component

  • Creates snapshots of selected volumes
  • Detaches volumes from instances
  • Deletes eligible volumes
  • Records actions in CloudTrail

Implementation Details

The implementation process involves:

  1. Volume Analysis
    • Identify target volumes
    • Check instance status
    • Verify dependencies
  2. Snapshot Creation
    • Create volume snapshots
    • Verify snapshot completion
    • Tag snapshots appropriately
  3. Volume Cleanup
    • Detach volumes
    • Delete volumes
    • Update metadata

Important Considerations

  • Snapshot storage costs
  • API rate limits
  • Regional restrictions
  • Recovery time objectives

Safety and Rollback

Safety Measures

  • Automatic snapshot creation
  • Volume metadata preservation
  • CloudTrail logging
  • Staged implementation

Rollback Process

  • Create new volume from snapshot
  • Attach volume to instance
  • Verify data integrity