Ensure RDS DB instances are protected by a backup plan for compliance
Rule | RDS DB instance should be protected by backup plan |
Framework | NIST Cybersecurity Framework (CSF) v1.1 |
Severity | ✔ High |
Rule Description:
RDS DB instances should be protected by a backup plan for NIST Cybersecurity Framework (CSF) v1. This rule ensures that backups are implemented to protect against data loss or corruption in the event of hardware failure, accidental deletion, or system compromise. Implementing a backup plan is crucial for complying with NIST CSF guidelines and ensuring the availability and recoverability of critical database data.
Troubleshooting Steps:
Remediation:
Follow the step-by-step guide below to create a backup plan for an RDS DB instance:
Step 1: Access the AWS Management Console
Step 2: Navigate to Amazon RDS
Step 3: Select the RDS DB Instance
Step 4: Enable Automated Backups
Step 5: Configure Backup Retention Period
Step 6: Configure Backup Maintenance Window
Step 7: Review and Confirm
CLI Commands (If applicable):
If you prefer using the AWS CLI, you can execute the following command to enable automated backups and set the retention period:
aws rds modify-db-instance --db-instance-identifier <instance-identifier> --backup-retention-period <retention-days> --apply-immediately
Replace
<instance-identifier>
with the identifier of your RDS DB instance, and <retention-days>
with the desired number of days for the backup retention period. The --apply-immediately
flag ensures immediate application of the changes.Note:
Regularly test the backup and recovery process to ensure its effectiveness and verify if the backups are being performed successfully. It is also essential to securely store the backups in a separate location to prevent data loss in the event of a disaster or compromise.