Ensure that your Amazon ElastiCache Redis cache clusters have a sufficient backup retention period set in order to fulfill your organization's compliance requirements. The retention period represents the number of days for which Amazon ElastiCache service retains automatic Redis cluster backups before deleting them. For example, if you set the retention period to 5, a backup taken today is retained for 5 days. Before running this conformity rule by the Trend Cloud One™ – Conformity engine, you must specify your own (compliant) backup retention period in the conformity rule settings.
Retaining Amazon ElastiCache cluster backups for a longer (optimal) period of time will allow you to handle more efficiently your data restoration process in the event of a failure.
Note 1: Setting the backup retention period to 0 (zero) days means that your cache cluster backups are never automatically backed up. We strongly recommend that you use automatic backups for your Redis cache clusters, regardless of the level of critical functionality.
Note 2: As an example, this conformity rule will use 14 days as the threshold for the sufficient backup retention period. However, you can adjust anytime the number of days (up to 35), to suit your organization's requirements.
Audit
To determine if your Redis cache clusters have a sufficient backup retention period (≥ 14 days) set for automated backups, perform the following actions:
Remediation / Resolution
To update the backup configuration for your Amazon ElastiCache Redis cache clusters in order to set up a sufficient backup retention period, perform the following actions:
References
- AWS Documentation
- Managing clusters
- Snapshot and restore
- Scheduling automatic backups
- AWS Command Line Interface (CLI) Documentation
- describe-replication-groups
- modify-replication-group