2011-05-26 157 views
6

我要創建我的實例的AMI,但我通過AWS以下提示嚇壞了:創建EC2 AMI圖像

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的腳本或僅當我終止實例?

回答

9

有一個post on AWS developer forum揭示了這一點。

上終止刪除是可關斷的標誌,如果實例本身終止,這將刪除的體積。除非您終止當前實例,否則您當前的EBS卷不會丟失。創建圖像只能重新啓動當前實例(您可以禁用過,但不建議以確保一致性)

+0

感謝Jahufar,這正是我需要的聽 – Ben 2011-05-29 16:43:02