# How can I not store data under $ES\_HOME/data while I'm using AWS S3

**URL:** <https://discuss.elastic.co/t/how-can-i-not-store-data-under-es-home-data-while-im-using-aws-s3/15486>\
**Category:** Elasticsearch\
**Created:** [January 30, 2014, 12:19am UTC](https://discuss.elastic.co/t/how-can-i-not-store-data-under-es-home-data-while-im-using-aws-s3/15486 "2014-01-30T00:19:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kimjmin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimjmin/32/15223_2.png) [@kimjmin](https://discuss.elastic.co/u/kimjmin)\
**Post date:** [January 30, 2014, 12:19am UTC](https://discuss.elastic.co/t/how-can-i-not-store-data-under-es-home-data-while-im-using-aws-s3/15486/1 "2014-01-30T00:19:30Z")

</div>

Hi, I'm using elasticsearch on AWS. with EC2 and S3, following guide  
[http://www.elasticsearch.org/tutorials/elasticsearch-on-ec2/](http://www.elasticsearch.org/tutorials/elasticsearch-on-ec2/)

Everything seems work fine, just one thing,  
When I put data into elasticsearch, S3 creates datas, but also there are  
datas created under $ES\_HOME/data path.

Is there a way to use only S3 storage for es datas?  
I mean if I put data into es, it will store only in S3 and will not copy  
into /data .  
because EC2 volume is too small for my working logs.

Thanks.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5a679e6d-da07-458f-bd3a-0519c0159150%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5a679e6d-da07-458f-bd3a-0519c0159150%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 1:54am UTC](https://discuss.elastic.co/t/how-can-i-not-store-data-under-es-home-data-while-im-using-aws-s3/15486/2 "2017-07-06T01:54:05Z")

</div>

Closed on July 6, 2017, 1:54am UTC


