ElastiCache clusters should use the latest engine version available

Description

Update your Amazon ElastiCache cluster to the latest, stable version of the Redis/Memcached cache engine.

Rationale

Using the latest version allows for security patches, bug fixes, better performance, and memory management.

Remediation

From the console

Follow the Upgrading engine versions docs to learn how to modify your ElastiCache cluster or replication group in the console.

From the command line

Follow the Modify an ElastiCache cluster (AWS CLI) or Modify a replication group (AWS CLI) docs for configuration options.

For example, to modify an ElastiCache cluster, run modify-replication-group with your replication group ID and enable Multi-AZ.

list-buckets.sh

  aws elasticache modify-replication-group
    --replication-group-id myReplGroup
    --multi-az-enabled = true