Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS: Clone RDS for separate EB instance

I want to create a copy of my production environment to use for staging on AWS. I'm using Rails with RDS.

I found this information on how to restore from an RDS Snapshot but I want it to be restored to a new RDS, essentially get a clone of the database. Then I want to use this db copy with a clone of an EB instance which I will configure similarly to the production server but with the staging environment.

Is there a way I can clone my whole db volume and use it as a new volume with the second EB instance?

like image 214
anonn023432 Avatar asked Mar 31 '26 23:03

anonn023432


1 Answers

The flow is to take a snapshot

Snapshot

Then from Action click Restore Snapshot option

Restore Snapshot

And a new independent instance is created from the same snapshot

RBD Instance

like image 190
Tarun Lalwani Avatar answered Apr 03 '26 15:04

Tarun Lalwani