My Amazon Elastic Compute Cloud (Amazon EC2) instance was terminated, but I want to recover or restore data from that instance.
Resolution
As part of an instance termination, Amazon EC2 deletes the data on the instance store volumes associated with the instance. By default, Amazon EC2 also automatically deletes the root Amazon Elastic Block Store (Amazon EBS) volume.
You can't recover the original EC2 instance or volumes that Amazon EC2 deleted as part of the termination process. Instead, you must recreate the terminated instance. Use one of the following methods:
Attach an EBS volume from the terminated instance to another EC2 instance. You can then access the data contained in those volumes.
To prevent instance termination and volume deletion in future, take the following actions:
Set DeleteOnTermination to False when you launch an EC2 instance to make sure that Amazon EC2 doesn't delete the EBS volumes of the terminated instance. Note: When you set DeleteOnTermination to False, you can use the same EBS volume to redeploy the instance.