gpt4 book ai didi

amazon-s3 - 如何将 AMI 保存到 S3 存储桶?

转载 作者:行者123 更新时间:2023-12-02 19:29:46 29 4
gpt4 key购买 nike

我已使用 Amazon AWS 控制台创建了 AMI(EBS AMI)。该 AMI 附加了 2 个快照。现在我想将该 AMI 备份到 S3 存储桶。这可能吗?

我实际上需要执行此操作,然后才能将该 AMI 移动到不同区域中的存储桶并注册该 AMI 以在该不同区域中使用。

有什么线索吗?

最佳答案

更新

我最初的回答仍然适用于此类问题(见下文),但是,考虑到您实际上需要执行此操作才能将该 AMI 移动到 [...] 不同的区域,您将会很高兴 AWS 刚刚发布了 Cross Region EC2 AMI Copy为了解决这个长期存在的功能请求:

AMI Copy enables you to easily copy your Amazon Machine Images between AWS Regions. AMI Copy helps enable several key scenarios including:

  • Simple and Consistent Multi-Region Deployment - You can copy an AMI from one region to another, enabling you to easily launch consistent instances based on the same AMI into different regions.
  • Scalability - You can more easily design and build world-scale applications that meet the needs of your users, regardless of their location.
  • Performance - You can increase performance by distributing your application and locating critical components of your application in closer proximity to your users. You can also take advantage of region-specific features such as instance types or other AWS services.
  • Even Higher Availability - You can design and deploy applications across AWS regions, to increase availability.

初步回答

Now I want to backup that AMI to a S3 bucket. Is this possible?

同时Amazon EBS事实上,提供了创建卷的时间点快照的能力,这些快照将持久保存到 Amazon S3,此操作超出您的控制范围,完全由 EC2 处理,请参阅相应的常见问题解答 Will I be able to access my snapshots using the regular Amazon S3 APIs? :

No, snapshots are only available through the Amazon EC2 APIs.

您可以按照 Eric Hammond 的详尽文章 Copying EBS Boot AMIs Between EC2 Regions 来实现您的目标,它将指导您完成所有必需的步骤(尽管相当多)。

关于amazon-s3 - 如何将 AMI 保存到 S3 存储桶?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8260925/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com