By default, Amazon EC2 terminates Spot Instances when they're interrupted. However, when you create the Spot instance, you can change the interruption behavior so that Amazon EC2 stops or hibernates interrupted Spot instances.
When Amazon EC2 terminates an instance, it also deletes the data on the instance store volumes. By default, Amazon EC2 also deletes the Amazon Elastic Block Store (Amazon EBS) root volume. You can't automatically recover a terminated instance.
To restore a Spot Instance, take one of the following actions:
Set the DeleteOnTermination attribute for your Amazon EBS volumes to False to preserve the volume data when your instance terminates. You can use the preserved volumes to create an Amazon Machine Image (AMI) and launch a new instance.