0 votes
1 view
in AWS by (5.8k 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?

1 Answer

+1 vote
by (18.5k 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

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...