Identify any Amazon OpenSearch clusters that appear to run low on disk space and scale them up to help mitigate any issues triggered by insufficient disk space and improve their I/O performance. The default threshold value set for the amount of free storage space is 10% because any value below this could have a serious impact on your OpenSearch clusters performance. For example, if the free storage space becomes dangerously low, your clusters can start blocking incoming write requests.
The Amazon CloudWatch metric used to detect OpenSearch clusters with low free storage space is:
- FreeStorageSpace – the amount of available storage space for all data nodes within the cluster. Amazon OpenSearch throws an "ClusterBlockException" error when this metric reaches 0.
This rule can help you work with the AWS Well-Architected Framework.
This rule resolution is part of the Conformity Security & Compliance tool for AWS.
efficiency
Low disk space leads to instability and slowdowns. When OpenSearch clusters run out of free storage space, basic write operations like adding documents and creating indices begin to fail. Detecting Amazon OpenSearch clusters that run low on disk space is crucial, especially when these cloud resources are used in production.
Note: You can change the default threshold value (10%) for this rule on Conformity account console and set your own value for the amount of available storage space to configure the storage limits for your OpenSearch clusters.
Audit
To identify Amazon OpenSearch clusters that run low on disk space, perform the following actions:
Remediation / Resolution
To add storage space to the Amazon OpenSearch clusters that run low on disk space, you can scale them up by adding storage to the existing data node volumes. To scale up and recover from the lack of free disk space, perform the following actions:
References
- AWS Documentation
- Amazon OpenSearch Service FAQs
- Troubleshooting Amazon OpenSearch Service
- AWS services that publish CloudWatch metrics
- AWS Command Line Interface (CLI) Documentation
- es
- list-domain-names
- describe-elasticsearch-domain
- update-elasticsearch-domain-config
- cloudwatch
- get-metric-statistics