How to Migrate RDS Snapshots
Context
Note:
In this document we will refer to the Legacy Organization as legacy and refer to the new Organization as acme.
At this point we have a populated database in the legacy-prod account that we want to migrate to the new organization.
This database is encrypted with the Amazon Managed KMS key, aws/rds. We have already deployed an empty database to the
new account, acme-prod. Now we want to migrate all data from the old to the new.
Additional considerations
Notes from AWS
You can't share a snapshot that has been encrypted using the default KMS key of the AWS account that shared the snapshot. To work around the default KMS key issue, perform the following tasks:
- Create a customer managed key and give access to it.
- Copy and share the snapshot from the source account.
- Copy the shared snapshot in the target account.