...

>

Creating AWS Volumes

Creating AWS Volumes

Exploring the options to persist states

Exploring the Options to Persist State

If we want to persist a state that will survive even server failures, we have two options to choose.

Local storage

We could, for example, store data locally and replicate it to multiple servers. This way, a container could use local storage, knowing that the files are available on all the servers. Such a setup would be too complicated if we’d like to implement the process ourselves. We could use one of the volume drivers for that. However, we’ll opt for a more commonly used method to persist the state across failures. We’ll use external storage.

External storage

Since we’re running our cluster in AWS, we can choose ...