Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
4 views
in AWS by (19.1k points)
So, I have created these snapshots for few of my EC2 instances. I want a way to import the contents of the snapshot into an S3 bucket. How can I do this?

1 Answer

0 votes
by (44.4k points)

First, your snapshots are already stored in S3 but you will not be able to see it. So, why do you want to keep the same contents in S3?

But still, I will provide you with a way to do this. Follow these steps, so that you can get your EBS contents into S3.

  1. First, create an EBS volume with the available snapshot
  2. Create an EC2 instance and attach this volume to it
  3. Now, copy the contents of this volume into S3 straight from your instance using AWS CLI commands
  4. Terminate the EC2 instance and delete the EBS volume to stop getting billed for them

This is one way to do it, but if you provide a more explanatory question, I can provide a better solution. Hope this helps!

Related questions

0 votes
1 answer
asked Jan 16, 2020 in AWS by R. Raman (790 points)
Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer
asked Feb 8, 2020 in AWS by Amenda (1.4k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...