Is data persisted in a cassandra droplet?

June 18, 2019 238 views
DigitalOcean Docker

I am very new to docker and digitalocean.
I am running docker-machine and docker run to setup a cassandra droplet.
However, I am not sure if this is correct.

Is the data persisted in the droplet somehow or would I loose the data if I have to restart the droplet for some reason? (like if cassandra hangs or sort of)

1 Answer

All droplets have persistent storage, so if you need to restart a service or the droplet itself you will not lose any data.

The same is true for attaching block volumes, the data is persistent.

You would only lose data if you “destroy” the droplet or the attached volume.

Droplets and block storage are not ephemeral.

Have another answer? Share your knowledge.