Preserve data when an instance is terminated - Amazon Elastic Compute Cloud

Preserve data when an instance is terminated by setting the DeleteOnTermination attribute.