# Do we need to have the Elasticsearch and the web application installed on same server?

**URL:** <https://discuss.elastic.co/t/do-we-need-to-have-the-elasticsearch-and-the-web-application-installed-on-same-server/43482>\
**Category:** Elasticsearch\
**Created:** [March 4, 2016, 7:19am UTC](https://discuss.elastic.co/t/do-we-need-to-have-the-elasticsearch-and-the-web-application-installed-on-same-server/43482 "2016-03-04T07:19:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![prashanthrd](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@prashanthrd](https://discuss.elastic.co/u/prashanthrd)\
**Post date:** [March 4, 2016, 7:19am UTC](https://discuss.elastic.co/t/do-we-need-to-have-the-elasticsearch-and-the-web-application-installed-on-same-server/43482/1 "2016-03-04T07:19:12Z")

</div>

Hi Friends,

Currently we are testing to use elasticsearch with our web application. The web application is installed on one server, while ealsticsearch is installed on another server. Is it possible to use elasticsearch in this way.? What is the ideal approach?. Kindly suggest any documents.

Thanks a lot,  
Best Regards

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [March 4, 2016, 7:39am UTC](https://discuss.elastic.co/t/do-we-need-to-have-the-elasticsearch-and-the-web-application-installed-on-same-server/43482/2 "2016-03-04T07:39:29Z")

</div>

> Is it possible to use elasticsearch in this way.?

Yes, of course.

> What is the ideal approach?

Running ES on dedicated machines is often ideal but it's not always the best use of money.

---

<div class="post-metadata">

**Author:** ![prashanthrd](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@prashanthrd](https://discuss.elastic.co/u/prashanthrd)\
**Post date:** [March 4, 2016, 3:51pm UTC](https://discuss.elastic.co/t/do-we-need-to-have-the-elasticsearch-and-the-web-application-installed-on-same-server/43482/3 "2016-03-04T15:51:59Z")

</div>

Thank you for your response.  
I need to use Spring Data with Elasticsearch. Can you please suggest, where I can find good documentation with many examples.

---

<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:** [March 4, 2016, 4:19pm UTC](https://discuss.elastic.co/t/do-we-need-to-have-the-elasticsearch-and-the-web-application-installed-on-same-server/43482/4 "2016-03-04T16:19:52Z")

</div>

I guess here: [http://docs.spring.io/spring-data/elasticsearch/docs/current/reference/html/](http://docs.spring.io/spring-data/elasticsearch/docs/current/reference/html/)

Note that spring data for elasticsearch \> 2.0.0 does not seem to be released yet.

---

<div class="post-metadata">

**Author:** ![prashanthrd](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@prashanthrd](https://discuss.elastic.co/u/prashanthrd)\
**Post date:** [March 4, 2016, 6:27pm UTC](https://discuss.elastic.co/t/do-we-need-to-have-the-elasticsearch-and-the-web-application-installed-on-same-server/43482/5 "2016-03-04T18:27:37Z")

</div>

Thanks for your valuable suggestion.

---

<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 5, 2017, 11:11pm UTC](https://discuss.elastic.co/t/do-we-need-to-have-the-elasticsearch-and-the-web-application-installed-on-same-server/43482/6 "2017-07-05T23:11:07Z")

</div>


