CloudFix Finder/Fixer: DynamoDB Delete Idle Tables
The DynamoDB Delete Idle Tables tool helps optimize your AWS costs by identifying and safely removing unused and idle Amazon DynamoDB tables that continue to incur charges but provide no business value.
What It Does
This Finder identifies DynamoDB tables in your AWS environment that have had no read or write activity for an extended period (90 days or more), indicating they may be unused resources that can be safely removed to reduce costs.
How It Works
The DynamoDB Delete Idle Tables Finder:
- Analyzes AWS Cost and Usage Reports to identify tables with consistent billing but no utilization
- Verifies inactivity through CloudWatch metrics, checking for the absence of read and write operations
- Reviews the table’s metadata, creation date, and tags to ensure it’s not part of critical infrastructure
- Applies safety checks to ensure the table is not part of active applications or resources
- Creates a remediation plan for each identified idle table, including backup options prior to deletion
AWS Services Affected
This Finder specifically targets resources in the Amazon DynamoDB service.
Benefits
- Cost Savings: Eliminate ongoing charges for unused tables that provide no business value
- Environment Cleanup: Reduce clutter and improve organization of your DynamoDB resources
- Resource Management: Maintain a better inventory of active vs. inactive resources
- Safety Through Validation: Multiple verification checks ensure only truly unused tables are considered
- Simplified Monitoring: Fewer unused resources means more focused monitoring of critical infrastructure
Implementation Details
When executing this Fixer, CloudFix will:
- Archive the table’s schema and metadata to an S3 bucket for future reference
- Create a final backup of the table data if needed (optional)
- Execute the DeleteTable API call to remove the idle table
- Log all actions taken for audit purposes
- Provide a detailed report of the tables removed and the estimated monthly cost savings
Frequently Asked Questions
Is this implemented automatically?
No. CloudFix will only implement this change when you explicitly approve the suggested action. You maintain full control over which tables are deleted.
Can I roll back if I delete a table by mistake?
Amazon DynamoDB table deletion is not readily reversible. However, CloudFix creates backups before deletion, allowing you to restore the table if needed, though with a new name.
Will this cause downtime?
No. Since the tables identified are confirmed to be idle (no read/write activity for 90+ days), there should be no impact on running applications or services.
What about tables with deletion protection enabled?
CloudFix will identify tables with deletion protection enabled but will require you to manually disable this protection before proceeding with the deletion process.