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
posta 6 anni fa7057 visualizzazioni
5 Risposte
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

con risposta 5 anni fa
0

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

HalTemp
con risposta 6 anni fa
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!

con risposta 5 anni fa
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
con risposta 3 anni fa
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
con risposta 3 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande