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, 2019 in AWS by datageek
• 3,050 points
505 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, 2019 by Archana
• 5,600 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, 2019 by Shashank
• 1,370 points

Related Questions In AWS

+3 votes
5 answers

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

Hey, 3 ways you can do this: To ...READ MORE

answered Oct 9, 2018 in AWS by Omkar
• 69,060 points
9,387 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, 2019 in AWS by neha
422 views
+1 vote
1 answer
0 votes
1 answer
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,600 points
22,128 views