Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
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 '13 at 17:55
    
ec2-copy-snapshot cannot create snapshots, only copy existing snapshots between regions. –  Matt Houser Jun 19 '13 at 22:38
    
@MattHouser: Yes, sorry, it's ec2-create-snapshot. :) –  kenzo450D Jun 24 '13 at 6:20
add comment

1 Answer

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)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.