Skip to content

How do I recreate a terminated EC2 instance?

2 minute read
0

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:

To prevent instance termination and volume deletion in future, take the following actions:

Related information

How do I recover an accidentally deleted AMI?

My Spot Instance was terminated. Can I recover it?

How do I protect my data against accidental EC2 instance termination?

AWS OFFICIALUpdated 6 months ago