title: Elasticsearch backup to S3 using AWS Cloud plugin
body: <p>I recently started using elasticsearch together with logstash to setup an ELK stack for my servers.</p>
  
  <p>I'm using this plugin here:</p>
  
  <p>And I tried to simply create a repository to backup my snapshots of my indices:</p>
  
  <pre><code>curl -XPUT 'http://localhost:9200/_snapshot/es_backup' -d '{
      "type": "s3",
      "settings": {
              "bucket": "keyless-elasticsearch-backup",
      }
  }'
  </code></pre>
  
  <p>And I'm getting this:</p>
  
  <p><code>{"error":"RepositoryVerificationException[[es_backup] [i3KNe8D_Sh6UYwo2JwomwQ, 'RepositoryVerificationException[[es_backup] store location [myproj-elasticsearch-backup] is not shared between node [[Empath][i3KNe8D_Sh6UYwo2JwomwQ][myPC][inet[/192.168.2.125:9300]]] and the master node]']]]","status":500}
  </code></p>
  
  <p>I googled it a lot, but nothing comes up with anyone else having the same problem like me. </p>
  
  <p>First of all, I don't really understand the error. Can someone please explain what is it about and how can I fix it?</p>