Amazon s3 创建EC2 AMI映像

Amazon s3 创建EC2 AMI映像,amazon-s3,amazon-ec2,amazon-web-services,Amazon S3,Amazon Ec2,Amazon Web Services,我想为我的实例创建一个AMI,但是AWS上的以下提示让我感到害怕: The instance you're using as a template for a new image has the following volumes: /dev/sda1, vol-a9 (15 GiB), will delete on termination Total size of EBS volumes: 15 GiB. When you create an EBS image an EBS snapsho

我想为我的实例创建一个AMI,但是AWS上的以下提示让我感到害怕:

The instance you're using as a template for a new image has the following volumes:
/dev/sda1, vol-a9 (15 GiB), will delete on termination
Total size of EBS volumes: 15 GiB.
When you create an EBS image an EBS snapshot will also be created for each of the above volumes.
现在,当它说EBS卷将在终止时删除时,是指创建AMI的脚本终止,还是仅当我终止实例时

有一种方法可以说明这一点

终止时删除是一个可以关闭的标志,如果实例本身终止,它将删除卷。除非终止当前实例,否则当前EBS卷不会丢失。创建映像只会重新启动当前实例(您也可以禁用它,但不建议为确保一致性而禁用)


谢谢Jahufar,这正是我想要听到的