How to import EC2 snapshot from S3 backup?

0 votes

Hi, I want to know how to backup EC2 snapshots to S3 bucket and import it back afterward. But I want to do it using AWS CLI. I found an article on, in which it was told that you can use 'import' command. But i have trouble understanding how the command works. So any basic examples would be of great help.

Feb 22 in AWS by datageek
• 3,000 points
45 views

2 answers to this question.

0 votes

EC2 snapshots are by default stored on Amazon S3 standard storage. However, it's not possible to copy the snapshot to a specific S3 bucket using the AWS CLI. May there is some third party tool available using which you can achieve the required results. But my doubt is why would you want to download a snapshot to your s3 bucket? It's like paying for the snapshot twice!!!

answered Feb 22 by Archana
• 5,480 points
0 votes
You can visit the documentation for AWS EC2 VM import. You will get a solution there.
aws.amazon.com/ec2/vm-import
answered Feb 23 by Shashank
• 1,350 points

Related Questions In AWS

+3 votes
5 answers

How to move files from amazon ec2 to s3 bucket using command line

First Option sm3cmd Use s3cmd s3cmd get s3://AWS_S3_Bucket/dir/file Take a ...READ MORE

answered Aug 29, 2018 in AWS by Priyaj
• 56,160 points
1,513 views
0 votes
1 answer

How to transfer file from ec2 to s3?

I'm using s3cmd to store nightly exported database backup ...READ MORE

answered Jan 14 in AWS by neha
112 views
0 votes
1 answer

How to copy .csv file from Amazon S3 bucket?

Boto3 is the library to use for ...READ MORE

answered Jul 6, 2018 in AWS by Priyaj
• 56,160 points
327 views
0 votes
1 answer
0 votes
1 answer
–1 vote
1 answer

How to read a csv file stored in Amazon S3 using csv.DictReader

The code would be something like this: import ...READ MORE

answered Oct 25, 2018 in AWS by Archana
• 5,480 points
5,389 views