问题描述
我已经使用了亚马逊AWS控制台创建的AMI(EBS AMI)。这AMI连接到它2快照。现在我想备份AMI到S3桶。这可能吗?
其实,我必须这样做才能够再往前的AMI到一个水桶在不同的地区并注册AMI在不同的地区使用。
任何线索?
更新
我最初的回答仍然适用有关的问题,因为这样(见下文),但考虑到你的真的需要这样做是为了能够再往前的AMI,以[...]不同的区域,你会很高兴的AWS刚刚发布跨区域的EC2 AMI复制来解决这一长期存在的功能要求:
初始答案
在亚马逊EBS 的确实的提供了创建点即时快照的能力卷,这是坚持到Amazon S3 的,这种操作是你的控制之外,并且完全由EC2处理,请参见相应的常见问题解答我能否使用常规的Amazon S3 API访问我的快照:
您可以通过以下埃里克·哈蒙德的精心文章复制EBS启动的AMI EC2地区之间实现你的目标,指导您完成所有必要的步骤(颇有些虽然)。
I've created an AMI(EBS AMI) using the Amazon AWS console. That AMI has 2 snapshots attached to it.Now I want to backup that AMI to a S3 bucket. Is this possible?
I actually need to do this to be able to then move that AMI to a bucket in a different region and register that AMI for use in that different region.
Any clues?
Update
My initial answer still applies concerning the question as such (see below), however, given you actually need to do this to be able to then move that AMI to [...] a different region, you will be pleased that AWS has just released Cross Region EC2 AMI Copy to address this long standing feature request:
Initial Answer
While Amazon EBS indeed provides the ability to create point-in-time snapshots of volumes, which are persisted to Amazon S3, this operation is outside of your control and entirely handled by EC2, see the respective FAQ Will I be able to access my snapshots using the regular Amazon S3 APIs?:
You can achieve your goal by following Eric Hammond's elaborate article Copying EBS Boot AMIs Between EC2 Regions, which guides you through all required steps (quite some though).
这篇关于如何保存的AMI到S3存储?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!