# Using S3 as storage for elasticsearch

**URL:** <https://discuss.elastic.co/t/using-s3-as-storage-for-elasticsearch/202986>\
**Category:** Elasticsearch\
**Created:** [October 10, 2019, 9:10am UTC](https://discuss.elastic.co/t/using-s3-as-storage-for-elasticsearch/202986 "2019-10-10T09:10:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mruthyu](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Post date:** [October 10, 2019, 9:10am UTC](https://discuss.elastic.co/t/using-s3-as-storage-for-elasticsearch/202986/1 "2019-10-10T09:10:00Z")

</div>

Is it possible to use the S3 as a data storage for elasticsearch? As the local storage and the EBS storage cost will be high in a scenario where TB/PB of data needs to be processed and indexed, using s3 as an option will help to reduce the storage cost.

---

<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:** [October 10, 2019, 9:27am UTC](https://discuss.elastic.co/t/using-s3-as-storage-for-elasticsearch/202986/2 "2019-10-10T09:27:50Z")

</div>

You can save snapshots of your indices on S3, but S3 doesn't support the features Elasticsearch needs for search. See this post for more details:

> [@Is there a way to install ealsticsearch in object storage env?](https://discuss.elastic.co/t/is-there-a-way-to-install-ealsticsearch-in-object-storage-env/199993/4):
>
> I don't think S3FS will work either. Elasticsearch expects its filesystem to behave like a filesystem, supporting features like fast atomic renames, cheap random access, consistent directory listings, and hard links. S3 doesn't have these features, and although S3FS looks a bit like a filesystem I think it also doesn't accurately simulate these features either.

---

<div class="post-metadata">

**Author:** ![mruthyu](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Post date:** [October 11, 2019, 6:02am UTC](https://discuss.elastic.co/t/using-s3-as-storage-for-elasticsearch/202986/3 "2019-10-11T06:02:54Z")

</div>

Sure. Thanks.

---

<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 8, 2019, 6:03am UTC](https://discuss.elastic.co/t/using-s3-as-storage-for-elasticsearch/202986/4 "2019-11-08T06:03:12Z")

</div>

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