CloudFix Finder: OpenSearch Delete Idle Serverless Collections
Amazon OpenSearch Serverless collections that remain idle continue to consume OpenSearch Capacity Units (OCUs) and incur costs. This CloudFix Finder helps you identify and remove unused serverless collections, enabling you to optimize your OpenSearch costs without impacting active workloads.
Contents
Overview
Amazon OpenSearch Serverless automatically provisions and scales compute resources using OpenSearch Capacity Units (OCUs). While this eliminates the need to manage infrastructure, idle collections still consume OCUs and generate costs. This Finder analyzes collection usage patterns to identify completely inactive collections that can be safely removed to reduce unnecessary expenses.
AWS Services Affected
|
Amazon OpenSearch Serverless |
How It Works
Finder Component
The Finder analyzes your OpenSearch Serverless collections by:
- Monitoring collection activity metrics at 5-minute intervals over 30 days:
- Ingestion data rate
- Search request rate
- Identifying collections with zero activity across all metrics
- Calculating potential cost savings using AWS Cost and Usage Report data
- Excluding collections tagged with ‘dont_fix_it’
- Generating detailed removal recommendations
Implementation Guide
To implement the collection removal recommendations:
- Review the Finder’s recommendations and cost analysis
- Verify the collections are truly unused:
- Check for any planned future use
- Confirm with application teams
- Review any dependencies
- If needed, create backups of collection data
- Delete the identified collections through:
- AWS Management Console
- AWS CLI
- Infrastructure as Code updates
- Update any relevant documentation
- Monitor for any unexpected impacts
FAQ
What are the potential savings?
The savings equal the annualized cost of maintaining the idle collections, based on their OCU consumption. The exact amount is calculated using the AWS Cost and Usage Report data from the past 30 days.
Is this change automatic?
No. This is a Finder-only feature that provides recommendations for collection removal. You must manually implement the changes through the AWS console or other management tools.
How do you determine if a collection is idle?
A collection is considered idle if it shows no ingestion data rate or search request rate activity over the past 30 days, measured at 5-minute intervals. This comprehensive monitoring ensures we only recommend removing truly unused collections.
Can changes be rolled back?
While collection deletion can be reversed by recreating the collection, the data will be lost unless backed up beforehand. We recommend creating backups of collections before deletion if there’s any possibility the data might be needed in the future.
Does this change require downtime?
No. Since we only recommend removing completely idle collections, there should be no impact on active workloads or system availability.