Search code examples
amazon-web-servicesamazon-rdsamazon-elastic-beanstalk

how to delete Elastic Beanstalk app while keeping the amazon RDS database?


I have an Elastic Beanstalk app and an amazon RDS database associated with it. But now, I want to delete my app from Elastic Beanstalk while keeping the database as exactly it is. As far as I read in documentation when you terminate your app in the elastic beanstalk other associated resources will also be terminated. So is there a way to delete my app from elastic beanstalk while keeping the database? Thanks!


Solution

  • The doc has the answer : https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.terminating.html

    If you have data from an environment that you want to preserve, create a snapshot of your current database instance before you terminate the environment. You can use it later as the basis for new DB instance when you create a new environment. For more information, see Creating a DB Snapshot in the Amazon Relational Database Service User Guide.