Restore the EBS volume on instance termination - AWS

0 votes
I have an EC2 instance and as usual, it has an EBS volume attached. Now th thing is, I do not need the instance and I am planning on terminating it. But I need the EBS volume. If I am not wrong, the volume will get deleted as the default action with the instance termination. How do I make sure my EBS does not get deleted?
Oct 21, 2019 in AWS by Hannah
• 18,570 points

1 answer to this question.

0 votes
There is a boolean term called DeleteOnTermination which is by default set to true. This variable is responsible for deleting the EBS volume on instance termination. If you wish to keep the EBS volume even after instance termination, you can explicitly set the flag value to False.
answered Oct 21, 2019 by Pearl

Related Questions In AWS

0 votes
1 answer

Attach EBS Volume from one region to an instance on another region

No @Nik, you cannot do this. The ...READ MORE

answered Apr 12, 2019 in AWS by Jayant
0 votes
1 answer

Not able to access the data on EBS in AWS.

Hi@akhtar, You cannot access the data on EBS ...READ MORE

answered May 5, 2020 in AWS by MD
• 95,320 points
+1 vote
2 answers

How do I run python script on aws EC2 instance(ubuntu)?

I believe that you are using the ...READ MORE

answered Apr 17, 2018 in AWS by Cloud gunner
• 4,650 points
0 votes
1 answer