This rule ensures that RDS DB instance backup is enabled for data security and recovery purposes.
Rule | RDS DB instance backup should be enabled |
Framework | CISA-cyber-essentials |
Severity | ✔ Medium |
RDS DB Instance Backup for CISA Cyber Essentials
Description
Enabling RDS DB instance backup for CISA-Cyber Essentials is a best practice that helps ensure the availability and recoverability of databases hosted in Amazon Relational Database Service (RDS). Taking regular backups is crucial for meeting the backup and recovery objectives of the CISA Cyber Essentials framework.
Troubleshooting Steps
If RDS DB instance backup is not enabled for CISA-Cyber Essentials, the following troubleshooting steps can be taken:
Necessary Codes (AWS CLI)
To enable RDS DB instance backup for CISA-Cyber Essentials, use the following AWS CLI command:
aws rds modify-db-instance \ --db-instance-identifier <instance-identifier> \ --backup-retention-period <retention-period> \ --apply-immediately
Replace
<instance-identifier>
with the identifier of the RDS instance and <retention-period>
with the desired number of days to retain backups.To verify the current backup configuration, use the following command:
aws rds describe-db-instances --db-instance-identifier <instance-identifier> --query 'DBInstances[*].BackupRetentionPeriod'
Step-by-Step Guide
Follow the steps below to enable RDS DB instance backup for CISA-Cyber Essentials:
By following these steps, you can effectively enable RDS DB instance backup for CISA-Cyber Essentials, ensuring that your RDS databases are protected and comply with the recommended best practices.