How do i migrate RDS encrypted cluster to another aws account

0

How do i migrate RDS encrypted cluster to another aws account?

  1. Its encrypted DB
  2. its a cluster

Based on above,

  1. Sharing snapshot wont work
  2. copy clustered DB snapshot is not available yet
  3. manual export import is not an option

Please suggest ways

2 Answers
0

Hi,

More information would be helpful to properly advise here. Such as knowing if you own both accounts, the database engine used, the database size, if the region stays the same, if there can be downtime or not, if the encryption key should be the same...

You can copy an encrypted Aurora cluster snapshot across account: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-copy-snapshot.html#aurora-copy-snapshot.Encryption, then scroll to "Copying a DB cluster snapshot across accounts" and "Copying an encrypted DB cluster snapshot to another account".

I might not be clear on your requirements so hopefully the information above helps.

Regards, Jon

AWS
answered 10 days ago
  • Thanks for reply, Yes both accounts are owned by me with security policy in place, DB engine is Aurora PostgreSQL with size around 12GB, regiion will be same.. there can be down time. Encryption key's can be same.

0

You can't share a snapshot that's encrypted with the default AWS KMS key. You must create a custom AWS KMS key instead.

  1. You can refer to the below document

How can I share an encrypted Amazon RDS DB snapshot with another account?

[+] https://aws.amazon.com/premiumsupport/knowledge-center/share-encrypted-rds-snapshot-kms-key/

How can I share an encrypted Amazon Aurora snapshot with another account?

[+] https://aws.amazon.com/premiumsupport/knowledge-center/aurora-share-encrypted-snapshot/

If above doesn't works for your case then you can explore the DMS option.

  1. Using AWS Database Migration Service (DMS):

AWS Database Migration Service (AWS DMS) is a web service that you can use to migrate data from a source data store to a target data store and you can replicate ongoing changes to keep source and target databases in sync. You can choose the supported source and target DB as per your requirement.

[+] Getting Started with AWS DMS - https://docs.aws.amazon.com/dms/latest/userguide/CHAP_GettingStarted.html

[+] How AWS Database Migration Service works - https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Introduction.html

AWS
answered 10 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions