If an Amazon EBS volume is the root device of an instance, can I detach it without stopping the instance?

If an Amazon EBS volume is the root device of an instance, can I detach it without stopping the instance?

If an Amazon EBS volume is the root device of an instance, can I detach it without stopping the instance?

A.
Yes but only if Windows instance

B.
No

C.
Yes

D.
Yes but only if a Linux instance

Explanation:



Leave a Reply 9

Your email address will not be published. Required fields are marked *


Vishal

Vishal

I think answer should be C..Yes
Because here the question is “Can I” not “Should I”

Magwif

Magwif

Vishal
the documentation says “you must stop the instance before you can detach the volume”
so your argument makes no sense

the answer is B, see the link in Ws post

Leo Kennedy A, Senior Consultant, Veeras Infotek, India

Leo Kennedy A, Senior Consultant, Veeras Infotek, India

In General, We should not or Cannot detach a root device while an instance is running. For Example in Virtual Environment, Can you remove/detach a virtual HDD from a VM while it is running. If you do,What happens…..So the Answer is Option B : No

mr_tienvu

mr_tienvu

I agree with the answer. B

puru

puru

B, we can un mount EBS volume attached seperatly, but we cannot unmount root instance EBS volume.

sandeep b

sandeep b

No Ans is B

Ganesh Ghube

Ganesh Ghube

B.
No