This rule states that RDS DB instances must have backup enabled to ensure data safety.
Rule | RDS DB instance backup should be enabled |
Framework | GxP 21 CFR Part 11 |
Severity | ✔ Medium |
Rule Description:
RDS DB instance backup should be enabled for GxP 21 CFR Part 11. This rule ensures that all RDS DB instances used for GxP (Good Practice) compliance, specifically 21 CFR Part 11, have the backup feature enabled.
Backup is critical for data integrity and availability in GxP environments, where the preservation of electronic records plays a crucial role. This rule helps meet regulatory requirements for electronic records and signatures set forth by 21 CFR Part 11.
Troubleshooting Steps (if backup is not enabled):
Remediation Steps:
Note: Depending on the size of the database and the number of instances, it may take some time to enable backups for all instances.
Example Code (AWS CLI):
aws rds modify-db-instance \ --db-instance-identifier <instance-identifier> \ --backup-retention-period 30 \ # Set the backup retention period as required --backup-window <preferred-backup-window> \ # Set the preferred backup window as required --backup-deletion-policy <deletion-policy> \ # Set the backup deletion policy as required --enable-iam-database-authentication # Enable IAM database authentication if required
Replace
<instance-identifier>
with the actual DB instance identifier and set other parameters accordingly.Ensure you have the appropriate IAM permissions to modify and configure RDS DB instances.
Conclusion:
Enabling backups for RDS DB instances used in GxP 21 CFR Part 11 compliance is essential to ensure data integrity, availability, and adherence to regulatory requirements. Following the described steps and utilizing the provided example code, you can efficiently enable backups and meet the necessary compliance requirements.