Skip to main content

⭐ Repository β†’ πŸ“ Compliance Engine β†’ πŸ“ CloudAware β†’ πŸ“ AWS β†’ πŸ“ ElastiCache

πŸ›‘οΈ AWS ElastiCache Memcached Cluster is underutilized🟒

  • Contextual name: πŸ›‘οΈ Memcached Cluster is underutilized🟒
  • ID: /ce/ca/aws/elasticache/memcached-cluster-underutilized
  • Tags:
  • Policy Type: COMPLIANCE_POLICY
  • Policy Categories: COST

Logic​

Description​

Open File

Description​

This policy identifies AWS ElastiCache for Memcached Clusters that appear to be underutilized based on their average CPU utilization over the past 30 days.

Rationale​

Operating underutilized ElastiCache clusters results in unnecessary cloud costs. By identifying and rightsizing these clusters, you can reduce expenses while maintaining application performance.

Impact​

Before downsizing or decommissioning a cluster, verify that it is not supporting workloads with infrequent but high CPU demands. Premature rightsizing may introduce performance bottlenecks during peak usage periods.

Audit​

This policy flags an AWS ElastiCache Cluster for Memcached as INCOMPLIANT if its CPU Utilization, Average, % metric is below 40% over the last 30 days.

ElastiCache Clusters for Redis are marked as INAPPLICABLE.

Clusters created within the last 30 days or not in an available Status are also marked as INAPPLICABLE.

Remediation​

Open File

Remediation​

From Command Line​

Check Allowed Modifications for the Cluster​
aws elasticache list-allowed-node-type-modifications --cache-cluster-id {{cache-cluster-id}}

Note the ScaleDownModifications options.

To Downsize the Cluster​

You can modify an existing cluster's node type using the modify-cache-cluster command:

aws elasticache modify-cache-cluster \
--cache-cluster-id {{cache-cluster-id}} \
--cache-node-type {{new-node-type}} \

The --apply-immediately flag applies the change immediately; omit it to apply during the next maintenance window.

policy.yaml​

Open File

Linked Framework Sections​

SectionSub SectionsInternal RulesPoliciesFlagsCompliance
πŸ’Ό Cloudaware Framework β†’ πŸ’Ό Resource Right-Sizing15no data
πŸ’Ό Cloudaware Framework β†’ πŸ’Ό Workload Efficiency24no data