# Ensure RDS Instance Deletion Protection Enabled

- Source: https://support.icompaas.com/support/solutions/articles/62000218550-ensure-rds-instance-deletion-protection-enabled
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [Security Controls](https://support.icompaas.com/support/solutions/62000065178) › [AWS Services](https://support.icompaas.com/support/solutions/folders/62000097507)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

### Description:

Amazon Relational Database Service (Amazon RDS) is a web service that makes it easier to set up, operate, and scale a relational database in the AWS Cloud. It provides cost-efficient, resizable capacity for an industry-standard relational database and manages common database administration tasks.

  

### Rational:

With the Deletion Protection feature enabled, you can rest assured that your Amazon RDS database instances will not be deleted by accident and that your data will be protected.

  

### Impact:

Deletion protection prevents users from deleting any existing or new RDS database instances via the AWS Management Console, the CLI, or API requests unless the functionality is explicitly disabled.

  

### Default value:

By default, deletion protection will be enabled while creating the Database.  
![](https://support.icompaas.com/assets/kb/ea54481fcaa261c0.png)

  

#### Pre-requisites:

1.  Need to sign in as admin or IAM user with the required permission
    

  

  

### Remediation:

  

### Test Plan:

1.  Sign in to AWS Management Console 
    
2.  Navigate to RDS service at [https://console.aws.amazon.com/rds](https://console.aws.amazon.com/rds "https://console.aws.amazon.com/rds")
    
3.  Click on **Databases** in the left navigation pane![](https://support.icompaas.com/assets/kb/f4363263cfbe2ae6.png)
    
4.  Click on the database that you want to examine and select the **configurations** tab![](https://support.icompaas.com/assets/kb/573b98780489d5f9.png)  
    
5.  Under the configurations, tab check the Deletion protection column whether it’s enabled or disabled![](https://support.icompaas.com/assets/kb/d6ea6f8ddce7bf56.png)  
    If you notice Deletion Protection is Disabled follow the implementation steps to enable it.
    
      
    

  

**Using AWS CLI:**

To describe the deletion protection  

aws rds describe-db-instances
  --region us-east-1
  --db-instance-identifier cc-project5-db-instance
  --query 'DBInstances\[\*\].DeletionProtection'

  

### Implementation Steps:

1.  Sign in to AWS Management Console 
    
2.  Navigate to RDS service at [https://console.aws.amazon.com/rds](https://console.aws.amazon.com/rds "https://console.aws.amazon.com/rds")
    
3.  Click on **Databases** in the left navigation pane![](https://support.icompaas.com/assets/kb/1262411bb04ecabd.png)
    
4.  Select the database that you want to edit and click on **Modify**  
    **![](https://support.icompaas.com/assets/kb/baef7ac18e861669.png)**
    
5.  **In modify DB Instance page make sure the **Enable** **Deletion Protection checkBox is checked** and click on **continue****  
    **![](https://support.icompaas.com/assets/kb/c1afe7664dd1114d.png)**
    
6.  In the **Scheduling of modifications** section, perform one of the following actions based on your requirements:
    
    1.  Select **Apply during the next scheduled maintenance window** to apply the changes automatically during the next scheduled maintenance window.
        
    2.  Select **Apply immediately** to apply the changes right away.  
        ![](https://support.icompaas.com/assets/kb/faa2b9f31557bbc5.png)
        
7.  Click on **Modify DB Instance**

  

#### Using AWS CLI:

aws rds modify-db-instance
  --region us-east-1
  --db-instance-identifier cc-project5-db-instance
  --deletion-protection
  --apply-immediately

  

#### Backout plan:

To revoke the changes made, do follow the same steps in the implementation section, but in step5 uncheck the Enable Deletion protection checkBox.

  

**Using AWS CLI:**

**To disable the deletion protection** 

modify-db-instance
--db-instance-identifier <value>
--no-deletion-protection\]
--apply-immediately

### References:

[![](https://support.icompaas.com/assets/kb/cab4aef41f3d38f4.png)Amazon RDS DB instances - Amazon Relational Database Service](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.html)

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
