Sharing AWS Encrypted RDS Snapshot Between Two Accounts.

Overview

  1. Login to the Source Account, Create a snapshot from RDS.
  2. Creating KMS Key (with details of the destination account)
  3. After the snapshot is created, Create a new copy of the snapshot & attach the KMS key.
  4. Share the newly created snapshot to the destination account.
  5. Log in to the Destination Account, head over to Shared with me snapshots, and create a new copy of the snapshot.
  6. Restore the copied Snapshot into a new RDS Instance.

Enter the AWS Account ID and save the KMS key.

3. Create a Copy of the Snapshot

Once the snapshot is created, Select Snapshot, Click Actions > Copy Snapshot

  • Provide a name & select the newly create KMS key under the Master key.

4. Share Snapshot with Destination Account

Once the Copy of the snapshot is created, click on Actions > Share snapshot

Changes at the Destination Account

1. Import the Shared snapshot

Snapshot which we have shared from the source account will be available in the Shared with me tab under the snapshot window for AWS RDS.

  • Create a Copy of Snapshot click on Actions > Copy snapshot

2. Restore the Shared snapshot into RDS

Once the Copy of the share snapshot is created we can Restore the snapshot.

Select the Snapshot, Click on Actions > Restore Snapshot

Here we have successfully shared the snapshot and restore the same as well.

Blog Pundits: Deepak Sood and Sandeep Rawat OpsTree is an End-to-End DevOps Solution Provider.

Connect with Us

Author: Azhar Ali

I’m Azhar Ali, a DevOps Engineer at Opstree Solutions, based in Noida. With a strong foundation in cloud technologies and infrastructure automation, I specialize in designing and implementing scalable and secure systems. My expertise includes working with tools like Kubernetes, Docker, Jenkins, and Terraform to streamline deployment pipelines and enhance system reliability. I am passionate about bridging the gap between development and operations teams, ensuring seamless integration and continuous delivery.

Leave a Reply