Identify any Amazon ElastiCache cluster nodes that appear to be idle and delete them to help lower the cost of your monthly AWS bill. By default, an Amazon ElastiCache cluster node is considered "idle" when meets the following criteria:
- The average CPU Utilization has been less than 2% for the last 7 days.
The CloudWatch metric used to detect idle ElastiCache cluster nodes is:
- CPUUtilization (host-level metric): the percentage of CPU resources used by ElastiCache cache nodes (Units: Percentage).
This rule resolution is part of the Conformity solution.
optimisation
Idle Amazon ElastiCache cluster nodes represent a good candidate for reducing your monthly AWS costs. Regularly checking your ElastiCache cluster nodes for CPU utilization will help you to detect and remove any idle ElastiCache resources from your AWS account in order to avoid accumulating unnecessary charges.
Note 1: Knowing the role and the owner of an Amazon ElastiCache cluster before you take the decision to remove its cache nodes is very important. For this rule Trend Cloud One™ – Conformity assumes that your ElastiCache clusters 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 the cluster resources.
Note 2: You can change the default threshold for this rule in your Conformity account and set your own values for the CPU usage and the recording time range (days) for each condition in order to configure the node idleness.
Note 3: If the Amazon ElastiCache cluster selected for the checkup is needed within your application stack, you can suppress (disable) the conformity rule check for your cluster from the Conformity account console.
Audit
To identify any idle Amazon ElastiCache cluster nodes available within your AWS cloud account, perform the following operations:
Remediation / Resolution
Option 1: Terminate idle clusters. To terminate (delete) idle Amazon ElastiCache cache clusters, perform the following operations:
Option 2: Disable the conformity rule check. If your idle Amazon ElastiCache cluster is expected to be used soon and the resource role within your application stack is important, you can turn off the rule check for the cache cluster, from your Trend Cloud One™ – Conformity account console.
References
- AWS Documentation
- Amazon ElastiCache Product Features and Details
- Dimensions for ElastiCache Metrics
- Host-Level Metrics
- Which Metrics Should I Monitor?
- AWS Command Line Interface (CLI) Documentation
- describe-cache-clusters
- list-tags-for-resource
- get-metric-statistics
- delete-cache-cluster
- delete-replication-group