Move a RDS DB from one aws account to another  aws account using snapshot

  • There was a task where I had to move RDS DB from Prod account to lower env to analyze the data.
    • From the AWS RDS console, choose Actions then Take Snapshot.
    • The snapshot is default encrypted and we can not share this snapshot.
    • To share the snapshot, we need to make a copy of the snapshot with the Customer managed KMS key and then share the snapshot with the target account.
    • Now switch to Target account, choose Snapshots and then the Shared with Me tab.
    • Then Restore the snapshot from Actions and provide the required configurations such as (DB instance identifier, Engine, instance class, Storage, subnet group, security group, etc.) to match your requirements in the new account’s infrastructure.
    • Click Restore DB instance.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *