ElastiCache Redis clusters should be configured for Automatic backup

Description

This check assesses if an Amazon ElastiCache for Redis cluster has automatic backups scheduled. It will not pass if the SnapshotRetentionLimit for the Redis cluster is disabled, indicated by a value of 0.

Amazon ElastiCache for Redis clusters have the ability to create backups of their data. These backups can be used to restore a cluster or initialize a new one. Backups contain the cluster’s metadata and all of the data within the cluster, and are stored in Amazon Simple Storage Service (Amazon S3) for durability. To restore data, a new Redis cluster can be created and populated with data from a backup. Backup management can be done through the AWS Management Console, AWS Command Line Interface (AWS CLI), and the ElastiCache API.

Remediation

For instructions on setting up automatic backups for an ElastiCache for Redis cluster, refer to the Scheduling automatic backups section in the Amazon ElastiCache User Guide.