Is it possible to move EC2 volumes to Amazon Glacier without having to download and upload it?

别说谁变了你拦得住时间么 提交于 2019-12-29 06:48:29

问题


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:

  1. Put the file/data directly into an Amazon Glacier vault.
  2. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!