Stateful Workloads Overview
Nomad allows users to mount persistent data from local or remote storage volumes into task environments in several ways: Container Storage Interface plugins, Nomad Host Volume support, and Docker Volume drivers.
Stateful Workloads with Nomad Host Volumes
Configure and deploy a host volume to support a MySQL workload that requires persistent storage.
Stateful Workloads with Container Storage Interface
Configure and deploy the AWS EBS volume CSI plugin to connect an EBS volume to a MySQL workload that requires persistent storage.
Stateful Workloads with Portworx
Deploy a MySQL database using the Portworx Docker-volume driver to enable persistent volumes.