6
votes

I want to create an AMI of my instance but I'm frightened by the following prompt on 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.

Now when it says that the EBS volume will delete on termination, does it mean termination of the script that creates the AMI or just when I terminate the Instance?

1

1 Answers

9
votes

There is a post on AWS developer forum that sheds light to this.

Delete on termination is a flag that can be turned off, which will remove the volume if the instance itself is terminated. Your current EBS volume will not be lost unless you terminate your current instance. Creating an image will only restart your current instance (You can disable that too, but not recommended to ensure consistency)