AWS AMI自动快照快照、AWS、AMI

2023-09-11 10:54:35 作者:空城旧梦°你已不在

确实亚马逊支持任何类型的可以为每个单独的AMI / EBS?

does Amazon support any kind of automatic scheduled snapshots that can be configured for each single AMI/EBS?

我的目标是让每个AMI备份本身经常不依赖于外部脚本和类似。

my goal is to have each AMI backup itself regularly without relying on external scripts and similar.

感谢

推荐答案

您可以使用AWS命令行工具来自动EBS快照。只是安排一个cron作业或相似的站在你EBS所需的间隔运行 EC2创建快照命令的音量。

You can use the AWS command-line tools to automate EBS snapshots. Just schedule a cron job or similar to run ec2-create-snapshot command at the desired interval on your ebs volume.

您也可以进行API调用通过HTTP做同样的事情,如果你不想安装的命令行工具。

You can also make API calls over http to do the same thing, if you don't want to install the command line tools.

有关创建EBS快照的链接以获取更多信息。

See the link for more information on creating EBS snapshots.

http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/ebs-creating-snapshot.html