Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR : Stack Deletion Failed: AWSEBRDSDatabase

I wanted to delete an ASP.NET MVC application on the Elastic Beanstalk. But before deleting the app I first deleted the RDS server instance linked to the application. The RDS instance got deleted succesfully but now when I try to delete the Elastic Beanstalk application I get the following error message in the console -

Stack deletion failed: The following resources failed to delete AWSEBRDSDatabase

How do I proceed to delete this? I am not able to find any help regarding this issue!

like image 866
Nitish Shiggaon Avatar asked Dec 24 '22 08:12

Nitish Shiggaon


2 Answers

ran across the same issue myself today.. there doesn't appear to be a way to delink the deleted RDS instance in the Elastic Beanstalk configuration sadly. I did however manage to delete the application though by first recreating the RDS instance using the same name as before.

Go to AWS RDS > Intances > Launch DB Instance

recreate the deleted instance using the exact name that was previously used. Once successfully created, go back to Elastic Beanstalk and it allows you to terminate the environment. Bit of a pain but works none the less.

Thanks TJ

like image 109
user4907301 Avatar answered Jan 05 '23 05:01

user4907301


It happened to me and the way I was able to resume the removal of Elasticbeanstalk sucked on this status was to go through CloudFormation panel and remove the stack with failed status as described on: https://aws.amazon.com/premiumsupport/knowledge-center/cloudformation-stack-delete-failed/

After that I was able to remove the Environment and Application under Elasticbeanstalk.

like image 23
rfsbsb Avatar answered Jan 05 '23 07:01

rfsbsb