How can I download the ec2 snapshot to my local computer?

0

Please provide clear instructions. Also instructions how I can extract the image so I can run it from a local machine can help.

Thanks.

ronenfe
asked 3 months ago295 views
1 Answer
3
profile picture
EXPERT
answered 3 months ago
profile picture
EXPERT
reviewed 3 months ago
  • I have already tried a few times, in my opinion it's not written clearly and missing information.

  • I recommend asking clarifying questions where you are confused and run into issues.

  • I have an EBS snapshot of the ec2 machine. I don't know if it can work with it?

    aws ec2 export-image --image-id snap-0f54423ccc74de06b --disk-image-format VHD --s3-export-location S3Bucket=my-export-bucket,S3Prefix=exports/

    An error occurred (InvalidParameter) when calling the ExportImage operation: The image ID (snap-0f54423ccc74de06b) provided is invalid. Please make sure the ID is correct.

  • aws ec2 export-image --image-id ami-0129baa76e4eaa35a --disk-image-format VHD --s3-export-location S3Bucket=myexportbucket12

    An error occurred (InvalidParameter) when calling the ExportImage operation: The service role vmimport provided does not exist or does not have sufficient permissions.

    I am playing with the settings for hours, this system is so hard to work with. I can't know the exact problem, So I have to repeat all the complicated permission settings over and over again.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions