Cloning one of the Database in AWS RDS in order to get a test DB

2.5k Views Asked by At

I am quiet new to AWS and trying to learn things. I currently have a live production environment and trying to create a test environment. I was able to create an image of an ec2 instance in AWS using the 'Create Image' option in the 'Actions'. Now I am trying to create an image/ duplicate of the RDS Database in AWS in a similar way. Is there any easy way to clone the database so that I don't change any data in the original database and perform modifications only in the test database. Thanks for all your help.

1

There are 1 best solutions below

4
On BEST ANSWER

Probably worth reading up on creating snapshots and restoring from a snapshot.

To give you a quick summary; you will take a snapshot of your production RDS DB instance. Then you will launch a new DB instance from this snapshot.

As long as you don't need to launch the new instance in a separate AWS Account, the documentation should tell you all you need to know.