- 최신
- 최다 투표
- 가장 많은 댓글
Restore a snapshot from the unencrypted database into the encrypted database by specifying the KMS key used for encryption: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Overview.Encryption.html
When you restore a snapshot, it creates a new DB Cluster, see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.Restore
You specify the KMS key as a parameter on your restore, see: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/restore-db-cluster-from-snapshot.html
Look for --kms-key-id
Since the CDK creates CloudFormation templates, you'll likely have to import the new cluster into your stack. See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import.html
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 2년 전
Thank you for your answer :) but this doesn't answer my question
I have a new Aurora cluster created because I changed the encryption option (un-encrypted => to encrypted) via CDK code now I would like to copy my data from the original cluster (the non-encrypted one) ==> to the newly created one (the encrypted one)
Thank you
if you are not using snapshot to from unencrypted cluster to create an encrypted cluster. you can use dms to migrate the data.