Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to migrate EC2 Snapshots to other EC2 account [closed]

I have 2 Snapshots saved on my EC2 (Account 1), I created another AWS account (Account 2) and I want my 2 Snapshots from Account 1 to be present on my Account 2. In short I just want to migrate my 2 Snapshots from Account 1 to Account 2. Any way I can do this? Thanks!

NOTES

  • Make sure that Account 1 and Account 2 are in the same Zone. Can be found in the top right of the the dashboard.
  • From Snapshots page, change Viewing option to Private Snapshots (if the shared Snapshots is in Private mode).
like image 602
kagat-kagat Avatar asked Apr 04 '13 02:04

kagat-kagat


People also ask

How do I transfer AWS snapshots to another account?

Copy the shared DB snapshotChoose Snapshots from the navigation pane. From the Snapshots pane, choose the Shared with Me tab. Select the DB snapshot that was shared. Choose Actions, and then choose Copy Snapshot to copy the snapshot into the same AWS Region and with a KMS key from the target account.

Can I transfer ec2 instance to another account?

It's not possible to transfer existing instances or AMIs between AWS accounts. Instead, you can manually migrate an EC2 image from one AWS account to another.

How do I transfer an instance from one account to another?

Log in to the AWS console of the account from which you want to move the instance, and navigate to the "Instances" pane. Right-click on the instance to be moved and choose "Create Image (EBS AMI)". Once done, you will receive a status message saying that the request was received and being processed to create an image.

Do you need to shut down your ec2 instance when you create a snapshot of an EBS volume?

AWS states that you should stop the instance first: „To create a snapshot for an Amazon EBS volume that serves as a root device, you should stop the instance before taking the snapshot. “


1 Answers

Check out Amazon EBS Shared Snapshots.

Amazon EBS shared snapshots allows you to share these snapshots, making it easy for you to share this data with your co-workers or others in the AWS community. With this feature, users that you have authorized can quickly use your Amazon EBS shared snapshots as the basis for creating their own Amazon EBS volumes. If you choose, you can also make your data available publicly to all AWS users. Users to whom you have granted access can create their own EBS volumes based on your snapshot; your original snapshot will remain intact. This is a great way for developers to easily share data with the rest of the Amazon EC2 community, and makes it easy for new customers to create Amazon EBS volumes from an existing snapshot. For more information on how to share snapshots refer to the Amazon EC2 User Guide’s EBS section.

See this blog post for more info. This blog post gives you a step-by-step, and some good use cases and warnings about sharing the snapshot.

like image 189
GalacticJello Avatar answered Sep 28 '22 22:09

GalacticJello