# Elasticsearch in heroku

**URL:** <https://discuss.elastic.co/t/elasticsearch-in-heroku/182034>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [May 21, 2019, 2:55pm UTC](https://discuss.elastic.co/t/elasticsearch-in-heroku/182034 "2019-05-21T14:55:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![leobaiano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leobaiano/32/43704_2.png) [@leobaiano](https://discuss.elastic.co/u/leobaiano)\
**Post date:** [May 21, 2019, 2:55pm UTC](https://discuss.elastic.co/t/elasticsearch-in-heroku/182034/1 "2019-05-21T14:55:54Z")

</div>

I would like a help / example deploy elasticsearch in heroku.

I have already seen that there are some add ons like Bonsai, however as far as I can see it does not allow modifying elasticsearch.yml and kibana.yml and I need this to enable SSO with SAML.

I can do what I need locally with a docker-compose.yml I have already created and I have already seen some tutorials to deploy in heroku with Dockerfile and docker-compose but I have not been successful, I have found several errors. So I came here to know if anyone has done something like this or could indicate some material, I already searched a lot in google and without success too.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [May 22, 2019, 12:58am UTC](https://discuss.elastic.co/t/elasticsearch-in-heroku/182034/2 "2019-05-22T00:58:14Z")

</div>

Do you want to run Elasticsearch yourself, or have it run for you.

Our Elastic Cloud Service offers a heroku addon for Elasticsearch: [https://elements.heroku.com/addons/foundelasticsearch](https://elements.heroku.com/addons/foundelasticsearch)

---

<div class="post-metadata">

**Author:** ![leobaiano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leobaiano/32/43704_2.png) [@leobaiano](https://discuss.elastic.co/u/leobaiano)\
**Post date:** [May 23, 2019, 12:19pm UTC](https://discuss.elastic.co/t/elasticsearch-in-heroku/182034/3 "2019-05-23T12:19:35Z")

</div>

Tks @TimV

I need some customizations to add SSO with SAML to kibana, I need to be able to modify elasticsearch.yml and kibana.yml, so I did not use the bonsai. Also I'm working on a proof of concept and from what I've seen it does not have a trial or free version of foundelasticsearch and it would not be interesting to sign the add on before approving PoC.

---

<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 20, 2019, 12:19pm UTC](https://discuss.elastic.co/t/elasticsearch-in-heroku/182034/4 "2019-06-20T12:19:41Z")

</div>

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