# I cant access S3 repo CEPH using repository-s3

**URL:** <https://discuss.elastic.co/t/i-cant-access-s3-repo-ceph-using-repository-s3/180621>\
**Category:** Elasticsearch\
**Created:** [May 10, 2019, 8:42pm UTC](https://discuss.elastic.co/t/i-cant-access-s3-repo-ceph-using-repository-s3/180621 "2019-05-10T20:42:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcio\_Roberto\_Miran](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcio_roberto_miran/32/46017_2.png) [@Marcio\_Roberto\_Miran](https://discuss.elastic.co/u/Marcio_Roberto_Miran)\
**Post date:** [May 10, 2019, 8:42pm UTC](https://discuss.elastic.co/t/i-cant-access-s3-repo-ceph-using-repository-s3/180621/1 "2019-05-10T20:42:47Z")

</div>

Hi,  
im using the elasticsearch oss 6.4.3 and repository-s3. I want send my snapshots to a CEPH repository. My problem is i cant send, always is returned a error. IMO the pluging try create repository in amazon and not accept my endpoint.

My curl:

curl -XPUT 'localhost:9200/\_snapshot/backup' -H 'Content-Type: application/json' -d '{"type": "s3","settings": {"bucket": "elasticsearch", "endpoint": "[http://xxxxxxxxxx](http://xxxxxxxxxx)","protocol": "http","access\_key":"xxxxxxx"secret\_key": "xxxxxxxxx"}}'

the result is:  
{  
"error" : {  
"root\_cause" : [  
{  
"type" : "repository\_verification\_exception",  
"reason" : "[backup] path [elasticsearch/snapshot] is not accessible on master node"  
}  
],  
"type" : "repository\_verification\_exception",  
"reason" : "[backup] path [elasticsearch/snapshot] is not accessible on master node",  
"caused\_by" : {  
"type" : "i\_o\_exception",  
"reason" : "Unable to upload object [elasticsearch/snapshot/tests-OBhybT-sQoG0ZKd7y1F52A/master.dat] using a single upload",  
"caused\_by" : {  
"type" : "amazon\_s3\_exception",  
"reason" : "The AWS Access Key Id you provided does not exist in our records. (Service: Amazon S3; Status Code: 403; Error Code: InvalidAccessKeyId; Request ID: 8C292056B17858B1; S3 Extended Request ID: Z/ova9doFLBjbFH2Ef8nTaUQwpp4EcQLKn4XK6ePOamQb8A8USlNcjzhzLGBmkgnHzc2Nao6mPA=)"  
}  
}  
},  
"status" : 500  
}

Anybody help me?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [May 11, 2019, 7:21am UTC](https://discuss.elastic.co/t/i-cant-access-s3-repo-ceph-using-repository-s3/180621/2 "2019-05-11T07:21:25Z")

</div>

According to the [docs](https://www.elastic.co/guide/en/elasticsearch/plugins/6.4/repository-s3-client.html) you should put the access key and secret key in the keystore and the other client settings like `endpoint` in the `elasticsearch.yml` file.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 8, 2019, 7:21am UTC](https://discuss.elastic.co/t/i-cant-access-s3-repo-ceph-using-repository-s3/180621/3 "2019-06-08T07:21:36Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
