How to disable deletion protection?

0

I enabled deletion protection on an Aurora instance when I created it, but I need to delete it. When I click on modify instance in the console, no option shows up to disable deletion protection; in the CLI, nothing shows up as an obvious option to disable it. How can I disable deletion protection to delete the instance?

Hazel
asked 6 years ago6868 views
5 Answers
1

I was about to ask whether the "Enable deletion protection" checkbox had disappeared from front-end recently... then I realised I was looking at the Modify page for the db instance itself, rather than the cluster. Whilst both cluster and db have a Modify page, it's at cluster level that you have to disable delprot.

Edited by: olisteadman on Oct 16, 2019 1:45 AM

answered 5 years ago
0

I believe you need to modify the cluster, not the instance, to disable deletion protection.

HalTemp
answered 6 years ago
0

I just had to figure this out myself, as it's the first time I've needed to do it. The database has to be running.

From RDS > Databases

  1. Click on the DB Name hyperlink of the database you want to modify.
  2. Click the "Modify" button in the upper right.
  3. Uncheck the "Enable deletion protection" checkbox at the very bottom of the page and click the "Continue" button.
  4. Choose the appropriate scheduling option and click the "Modify DB Instance" button.

Hope this helps!

answered 5 years ago
0

Thank you so much for this. I couldn't find the Deletion Protection checkbox either and finally realized that I was looking for it on the Modify screens of Neptune databases and not clusters.

Meanwhile, AWS was charging me and charging me for those databases!

bobdc
answered 3 years ago
0

The way to think of "Deletion Protection" is, it keeps your data from disappearing. The number of instances in an Aurora cluster can increase or decrease - even go down to zero instances - and the data is still safe. It's only when "Delete Cluster" is performed that the data goes away. And that's why Deletion Protection is a property of the cluster, not instance-by-instance.

By the way, if there's trouble deleting, downsizing, etc. an Aurora cluster that's no longer needed - you can do "Stop Cluster" which will stop all the instance charges, while you figure out the solution. (The cluster gets restarted automatically after 7 days.)

johrss
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions