This rule requires RDS DB instances to have deletion protection enabled to ensure critical data is not accidentally deleted.
Rule | RDS DB instances should have deletion protection enabled |
Framework | NIST 800-53 Revision 5 |
Severity | ✔ Critical |
Rule Description:
RDS (Relational Database Service) is a managed database service provided by Amazon Web Services (AWS). The rule states that all RDS DB instances should have deletion protection enabled in compliance with the NIST 800-53 Revision 5 security standard. Deletion protection prevents accidental or malicious deletion of an RDS DB instance.
Remediation:
To enable deletion protection for an RDS DB instance, follow the step-by-step guide below:
Troubleshooting:
In case you encounter any issues while enabling deletion protection for an RDS DB instance, follow the troubleshooting steps below:
CLI Commands:
If you prefer using the AWS CLI to enable deletion protection for an RDS DB instance, execute the following command:
aws rds modify-db-instance --db-instance-identifier <DB_INSTANCE_IDENTIFIER> --deletion-protection true
Replace
<DB_INSTANCE_IDENTIFIER>
with the actual identifier of the RDS DB instance.Please note that you need to have the AWS CLI installed and properly configured for this command to work.
Note:
Enabling deletion protection ensures that accidental or malicious deletion of RDS DB instances is prevented. This offers an additional layer of protection to safeguard your critical data and databases. It is recommended to enable deletion protection for all production RDS DB instances to align with the NIST 800-53 Revision 5 security standard.