Do the Amazon EBS volumes persist independently from the running life of an Amazon EC2 instance?

Do the Amazon EBS volumes persist independently from the running life of an Amazon EC2 instance?

Do the Amazon EBS volumes persist independently from the running life of an Amazon EC2 instance?

A.
Only if instructed to when created

B.
Yes

C.
No



Leave a Reply 16

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


crumple

crumple

Answer is A.
When you create your EC2 instance and assign storage, the ROOT volume is set to be deleted on termination by default. Any additional volumes are set to remain as a default setting, but you can change either one of these if desired.

Aneesh Mohan

Aneesh Mohan

Answer is B , EBS is a separate service.

You are setting a flag “deleted on termination of the instance” of root EBS volume , which doesn’t mean than EBS volume lifetime is decided with EC2 instance , by enabling the flag deleted on termination of the instance” to a root EBS volume there will be a separate backend process created and which deletes the root EBS volume when event triggered by EC2 termination.Also this particular mapping only available for root EBS volume.

Da

Da

Yes, Answer is B

Saad

Saad

B.

The answer should be (A) if the question has the word “Root”.
And by default EBS volumes created, none root, don’t get deleted. They only get deleted if you check the box under “Delete on Termination”.

Thinker

Thinker

The tooltips for “delete on termination” box when create ec2 instance:
EBS volumes persist independently from the running life of an EC2 instance. However, you can choose to automatically delete an EBS volume when the associated instance is terminated.

seenagape

seenagape

I choose B

Ganesh Ghube

Ganesh Ghube

B.
Yes

imcool_adi

imcool_adi

Unless we specify “do not delete EBS when instance terminated”. The EBS Volume will be deleted when instance is terminated.

Robert

Robert

EBS volumes are by default are not deleted however you can select “delete on termination”

Brenda Portuguez Ledesma

Brenda Portuguez Ledesma

the correct answer Only if I specify (using either the AWS Console or the CLI) that it should do so.

Sherdil

Sherdil

Answer is “B”.. “Yes..

An EBS volume behaves like a raw, unformatted, external block device that you can attach to a single instance. The volume persists independently from the running life of an instance. After an EBS volume is attached to an instance, you can use it like any other physical hard

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Storage.html

Nrsun

Nrsun

https://aws.amazon.com/ec2/faqs/

answer is B

Q: What happens to my data when a system terminates?

The data stored on a local instance store will persist only as long as that instance is alive. However, data that is stored on an Amazon EBS volume will persist independently of the life of the instance. Therefore, we recommend that you use the local instance store for temporary data and, for data requiring a higher level of durability, we recommend using Amazon EBS volumes or backing up the data to Amazon S3. If you are using an Amazon EBS volume as a root partition, you will need to set the Delete On Terminate flag to “N” if you want your Amazon EBS volume to persist outside the life of the instance.