1

I am new in this, so forgive my beginner question. I have an aws account which is currently in us-west-2c. It has a instance running, and also a couple of volumes which i made. I have multiple backups of my instance in amazon-s3 created by the ec2-create-snapshot command. If my current ec2 server crashes cause of some reason and i cannot log in to the aws account, can I restore the data from the snapshot in s3 in another aws account in another region? If so, how can I do it in CLI?

3
  • There is no connection between your EC2 server crashing and your account login. You can still preform all the API calls (or console commands) to launch new instances, new EBS and create them from your backups.
    – Guy
    Jun 19, 2013 at 17:55
  • ec2-copy-snapshot cannot create snapshots, only copy existing snapshots between regions. Jun 19, 2013 at 22:38
  • @MattHouser: Yes, sorry, it's ec2-create-snapshot. :)
    – kenzo450D
    Jun 24, 2013 at 6:20

1 Answer 1

1

Rather than creating just a snapshot of a single volume, you can create an AMI which also includes some instance configuration details (e.g., include all related volumes, kernel configs, etc).

Both AMIs and Snapshots can be shared with multiple accounts (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-explicit.html and http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modifying-snapshot-permissions.html, respectively)

However, if you're concerned about losing a whole region, you can use the cross region copy features for both AMIs and Snapshots. There's no reason to cross account boundaries for DR purposes. (AMI:http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html, Snapshot: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modifying-snapshot-permissions.html)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .