Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (12.9k points)

I have my db kept at /mnt, using ephemeral storage that comes with ec2 instance. To take the backup using ec2 api tools we need a volume id, but in the aws console I can find the volume id of only the 8gb root storage.

What should I do if want the backup of ephemeral storage? Is there any alternative for backing up instance storage?

closed

1 Answer

+1 vote
by (18.2k points)
selected by
 
Best answer

You should never store anything valuable on ephemeral storage in Amazon EC2 instances. As ephemeral storage will be lost as soon as the instance is stopped. it's meant for the temporary data only that you can afford to lose.

You cannot take backups of ephemeral storage using the concepts of snapshots as they only apply on EBS volumes.

So in order to back up your ephemeral storage, you will have to use a regular operating system level backup tool of your choice that supports Amazon S3 so that you can keep your backup in AWS only

Related questions

Want to get 50% Hike on your Salary?

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

0 votes
1 answer

Browse Categories

...