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
已提問 6 年前檢視次數 7057 次
5 個答案
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

已回答 5 年前
0

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

HalTemp
已回答 6 年前
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!

已回答 5 年前
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
已回答 3 年前
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
已回答 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南