Cristian Calabro
Cristian Calabro

Reputation: 91

How to delete environment and not delete RDS on AWS elasticbeanstalk

I had an environment with PHP 5.3 and this environment had a RDS attached in the Data Tier. When I upgraded PHP version to PHP5.5 I created a new environment with a new AMI. The problem is that now I can't delete the old environment because the RDS instance is attached to it and this one will be deleted because of Deletion policy. So, someone know how to delete the old environment without delete the RDS instance?

Maybe, have I to create a RDS replica?.

Thanks.

Upvotes: 2

Views: 761

Answers (1)

Pedro Costa
Pedro Costa

Reputation: 21

The correct way of doing so is by creating a snapshot of the instance. Then you can create a new RDS instance with the previous snapshot.

Hope this helps!

Upvotes: 1

Related Questions