# Create Repository with S3 Protocol on Bucket Cloud on Premise

**URL:** <https://discuss.elastic.co/t/create-repository-with-s3-protocol-on-bucket-cloud-on-premise/287523>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [October 25, 2021, 2:41am UTC](https://discuss.elastic.co/t/create-repository-with-s3-protocol-on-bucket-cloud-on-premise/287523 "2021-10-25T02:41:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alfianaf](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alfianaf/32/93192_2.png) [@alfianaf](https://discuss.elastic.co/u/alfianaf)\
**Post date:** [October 25, 2021, 2:41am UTC](https://discuss.elastic.co/t/create-repository-with-s3-protocol-on-bucket-cloud-on-premise/287523/1 "2021-10-25T02:41:23Z")

</div>

Hello, atm my company have cloud on premise storage with S3 protocol  
I want to create snapshot repository on that storage,  
is this possible to do, because my storage is not based on aws, but only use the s3 protocol

Thanks in advance

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 25, 2021, 3:25am UTC](https://discuss.elastic.co/t/create-repository-with-s3-protocol-on-bucket-cloud-on-premise/287523/2 "2021-10-25T03:25:59Z")

</div>

Technically we only directly support aws's S3. It might work, and you'd need to try it.

---

<div class="post-metadata">

**Author:** ![alfianaf](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alfianaf/32/93192_2.png) [@alfianaf](https://discuss.elastic.co/u/alfianaf)\
**Post date:** [October 25, 2021, 3:31am UTC](https://discuss.elastic.co/t/create-repository-with-s3-protocol-on-bucket-cloud-on-premise/287523/3 "2021-10-25T03:31:33Z")

</div>

thanks for the answer, I will post the update later after I try the thing I asked,

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 25, 2021, 11:41am UTC](https://discuss.elastic.co/t/create-repository-with-s3-protocol-on-bucket-cloud-on-premise/287523/4 "2021-10-25T11:41:22Z")

</div>

And make sure to use a recent version of Elasticsearch. 🙂

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [October 25, 2021, 12:20pm UTC](https://discuss.elastic.co/t/create-repository-with-s3-protocol-on-bucket-cloud-on-premise/287523/5 "2021-10-25T12:20:30Z")

</div>

What is the local S3 storage that you are using?

Elasticsearch supports [S3-compatible](https://www.elastic.co/guide/en/elasticsearch/plugins/7.15/repository-s3-client.html#repository-s3-compatible-services) repositories, but they need to be fully compatible with AWS S3.

From the docs you have:

> Note that some storage systems claim to be S3-compatible without correctly supporting the full S3 API. The `repository-s3` plugin requires full compatibility with S3. In particular it must support the same set of API endpoints, return the same errors in case of failures, and offer a consistency model no weaker than S3’s when accessed concurrently by multiple nodes.

One example of an S3 compatible storage that is supported is [MinIO](https://min.io).

---

<div class="post-metadata">

**Author:** ![alfianaf](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alfianaf/32/93192_2.png) [@alfianaf](https://discuss.elastic.co/u/alfianaf)\
**Post date:** [October 25, 2021, 7:54pm UTC](https://discuss.elastic.co/t/create-repository-with-s3-protocol-on-bucket-cloud-on-premise/287523/6 "2021-10-25T19:54:31Z")

</div>

thanks for the point, I will keep in mind about that

---

<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:** [November 22, 2021, 7:54pm UTC](https://discuss.elastic.co/t/create-repository-with-s3-protocol-on-bucket-cloud-on-premise/287523/7 "2021-11-22T19:54:58Z")

</div>

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