Ensure all RDS DB instances have deletion protection enabled to prevent accidental data loss.
Rule | RDS DB instances should have deletion protection enabled |
Framework | CISA-cyber-essentials |
Severity | ✔ Critical |
Ensuring Deletion Protection is Enabled for Amazon RDS Instances in Compliance with CISA Cyber Essentials
Rule Description
Amazon RDS Deletion Protection is a feature designed to prevent accidental deletion of a database instance. This is crucial for adhering to best practices for data protection and ensuring that critical databases cannot be inadvertently removed. Compliance with the Cybersecurity and Infrastructure Security Agency (CISA) Cyber Essentials requires that such safeguards are in place to protect essential data.
Deletion Protection must be enabled for each Amazon RDS instance. Its primary function is to add an additional layer of confirmation before a database can be terminated, making it an important aspect of a robust cybersecurity posture.
Troubleshooting Steps
If you discover that a database instance does not have deletion protection enabled, you should:
Remediation Steps
Enable Deletion Protection Using the AWS Management Console:
Enable Deletion Protection Using AWS CLI:
Execute the following AWS CLI command to enable deletion protection for a specific RDS DB instance:
aws rds modify-db-instance \ --db-instance-identifier <your-db-instance-identifier> \ --deletion-protection \ --apply-immediately
Replace
<your-db-instance-identifier>
with the actual identifier of your RDS instance.Enable Deletion Protection Using AWS CloudFormation:
To define deletion protection in a CloudFormation template, include the
DeletionProtection
property in the AWS::RDS::DBInstance
resource definition:Resources:
MyDBInstance:
Type: 'AWS::RDS::DBInstance'
Properties:
# ... other properties ...
DeletionProtection: true
Note:
--apply-immediately
flag in the AWS CLI command will apply the change immediately. If you omit this option, the change will occur during the next maintenance window.Also, ensure you monitor your RDS instances regularly using AWS tools such as AWS Config or third-party services for continuous compliance.
SEO Optimization and Visibility
To be SEO-friendly, this content uses descriptive section headers with relevant keywords, bullet points for easy reading, code snippets for clear guidance, and anchor text with official documentation links for additional resources. It targets keywords like "Amazon RDS", "Deletion Protection", "Enable RDS Deletion Protection", "CISA Cybersecurity compliance", "CloudFormation RDS Template", and "AWS CLI RDS modification".
Direct, actionable content without filler ensures readability and value to the reader, potentially increasing the dwell time and reducing bounce rate, which are positive signals to search engines.
Continual updates and refinement to align with the latest AWS features and compliance requirements will ensure this content remains relevant and authoritative, directly contributing to an effective SEO strategy.