Identify any Amazon OpenSearch clusters (domains) that appear to be idle and delete them to help lower the cost of your monthly AWS bill. By default, an OpenSearch cluster is considered "idle" when meets the following criteria (to declare the instance "idle" both conditions must be true):
- The average CPU Utilization has been less than 2% for the last 7 days.
The CloudWatch metrics used to detect idle Amazon OpenSearch clusters are:
- CPUUtilization – the percentage of CPU resources used for the data nodes running within the cluster (Units: Percentage).
Note 1: Knowing the role and the owner of an Amazon OpenSearch cluster (domain) before you take the decision to remove it from your account is very important. For this rule Trend Cloud One™ – Conformity assumes that your OpenSearch domains are tagged with "Role" and "Owner" tags which provide visibility into their usage profile and help you decide whether it's safe or not to terminate these resources.
Note 2: You can change the default threshold for this rule on the Conformity account console and set your own value for the CPU usage and the usage time range (days) for each condition in order to configure the domain idleness.
Note 3: If the Amazon OpenSearch domain selected for the checkup is needed within your application stack, you can suppress (disable) the conformity rule check for the resource from the Trend Cloud One™ – Conformity console.
This rule resolution is part of the Conformity Security & Compliance tool for AWS.
optimisation
Idle Amazon OpenSearch domains represent a good candidate for reducing your monthly AWS costs. Regularly checking your OpenSearch domains for CPU usage will help you efficiently detect and remove any idle OpenSearch resources from your AWS account in order to avoid accumulating unnecessary charges.
Audit
To identify any idle Amazon OpenSearch domains available within your AWS cloud account, perform the following operations:
Remediation / Resolution
Option 1: Delete idle OpenSearch domain. To remove idle Amazon OpenSearch domain from your AWS account, perform the following operations:
Option 2: Disable the conformity rule check. If the selected idle OpenSearch domain is needed (i.e. the resource role within your application stack is important), you should turn off the rule check for the selected domain from your Trend Cloud One™ – Conformity account console.
References
- AWS Documentation
- AWS Trusted Advisor check reference
- AWS services that publish CloudWatch metrics
- AWS services that publish CloudWatch metrics
- What is Amazon OpenSearch Service?
- AWS Command Line Interface (CLI) Documentation
- es
- list-domain-names
- describe-elasticsearch-domain
- list-tags
- delete-elasticsearch-domain
- cloudwatch
- get-metric-statistics