Docker Community Forums

Share and learn in the Docker community.

Elasticsearch with Docker on AWS


(Martycurran) #1

Hi
I’d like to run elasticsearch with docker sharding over a number of AWS hosts and each host having a mounted volume so that the data persists. I’d also need the master/discovery service to all work should one go down
From a compose file I can get this to work on one VM (all containers on the same). I have also been able to get a swarm up and running on AWS.
How can I get the containers to deploy on the separate AWS hosts, shard, persist the data and appoint master etc

Thanks