ElastiCache engine version and security requirements need review

Check supported ElastiCache engine versions and security requirements, then apply compatible upgrades and appropriate access and encryption controls.

Description

Both examples run Memcached. Compare the deployed version with the Memcached releases AWS supports for your Region and node type, and with your patching requirements.

Potential impact

An old release can retain known defects, while an incompatible update can interrupt connections. To assess PCI DSS coverage, also check the service scope and your encryption, authentication and access controls.

Remediation

Choose a supported upgrade path, test clients and parameters, and prepare to recover the data or rebuild the cache. Schedule the change carefully because community.aws 11.1.0 requests immediate application of version changes. Verify the running version and application connectivity afterward.

Examples

The tasks target the same cluster. 1.4.14 is the older configuration. Supply the tested Memcached version as approved_memcached_version, a supported cache_node_type, and the cluster’s networking and access settings.

Before

yaml
- name: Configure the Memcached version
  community.aws.elasticache:
    name: test-please-delete
    state: present
    engine: memcached
    cache_engine_version: 1.4.14
    node_type: "{{ cache_node_type }}"
    num_nodes: 1

After

yaml
- name: Configure the Memcached version
  community.aws.elasticache:
    name: test-please-delete
    state: present
    engine: memcached
    cache_engine_version: "{{ approved_memcached_version }}"
    node_type: "{{ cache_node_type }}"
    num_nodes: 1

References