问题
I am trying to reduce costs of my AWS system. I thought of moving some volumes I rarely use to Amazon Glacier, but I don't find any way I can do it inside AWS besides downloading the volume and uploading to Glacier, which sounds terrible.
I am wondering, is it possible to do this automatically? Assign some EC2 volumes to glacier directly from the EC2 console?
Thanks
回答1:
EBS volumes cannot be copied or migrated to Amazon Glacier.
EBS snapshots, even though they are stored in Amazon S3, also cannot be moved to Amazon Glacier.
There are 2 ways to put data into Amazon Glacier:
- Put the file/data directly into an Amazon Glacier vault.
- Put the file/data in Amazon S3, then use an Amazon S3 lifecycle to move the object(s) to Amazon Glacier.
You could use aws s3 sync
to copy your filesystem into S3, then have that moved to Glacier. But there is no magic solution for what you want to achieve.
来源:https://stackoverflow.com/questions/31236115/is-it-possible-to-move-ec2-volumes-to-amazon-glacier-without-having-to-download