Best practices for right-sizing Amazon OpenSearch Service domains
Big Data Blog
This article provides comprehensive guidance on right-sizing Amazon OpenSearch Service domains to balance performance, scalability, and cost-efficiency.
- Monitor key CloudWatch metrics: CPU utilization (60-80%), JVM memory pressure (65-85%), storage utilization (70-85%)
- Under-provisioning signs: sustained high CPU/memory, increasing latency, search timeouts, circuit breaker exceptions
- Over-provisioning signs: low CPU/memory utilization (<40-50%), excessive free storage (>70%)
- Remediation strategies: delete unused indexes, scale vertically/horizontally, optimize shard counts (10-50 GB each)
- Use ISM for automated cleanup, force merge for read-only indexes, UltraWarm/cold storage for older data
- Establish 2-4 week baselines, conduct weekly reviews initially, then monthly for stable workloads
- Optimize shard configuration: keep <20 shards per GB JVM heap, maintain even distribution across nodes
- Deploy CloudWatch alarms for proactive monitoring and early stress detection
- Right-sizing is continuous; regularly review metrics and adjust as workloads evolve
Right-sizing OpenSearch domains requires ongoing monitoring and optimization using CloudWatch metrics, shard analysis, and scaling strategies to maintain performance without over-provisioning.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
Feb 16
2026
2026
Amazon OpenSearch Service 101: T-shirt size your domain for e-commerce search
Sep 16
2025
2025
Get started with Amazon OpenSearch Service: T-shirt size your domain for log analytics
Sep 19
2024
2024
How to track Amazon OpenSearch Service domain-level cost
Jul 11
2024
2024
Improve your Amazon OpenSearch Service performance with OpenSearch Optimized Instances
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.