# \[Self-hosted Mender 1.7\] What is the function of Redis and Elasticsearch?

**URL:** <https://hub.mender.io/t/self-hosted-mender-1-7-what-is-the-function-of-redis-and-elasticsearch/211>\
**Category:** General Discussions\
**Created:** [February 11, 2019, 10:33am UTC](https://hub.mender.io/t/self-hosted-mender-1-7-what-is-the-function-of-redis-and-elasticsearch/211 "2019-02-11T10:33:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![erikhh](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/erikhh/32/102_2.png) [@erikhh](https://hub.mender.io/u/erikhh)\
**Post date:** [February 11, 2019, 10:33am UTC](https://hub.mender.io/t/self-hosted-mender-1-7-what-is-the-function-of-redis-and-elasticsearch/211/1 "2019-02-11T10:33:48Z")

</div>

Hi,

I’m setting up Mender on AWS with ECS by using the integration environment as an example.

I can’t really work out what the function is of Redis and Elasticsearch. Both are not mentioned in the diagram in the documentation. And when I remove them from the Docker-compose files everything seems to function normally.

Do they have a function still? Or is it a legacy thing?

Cheers,  
Erik

---

<div class="post-metadata">

**Author:** ![0lmi](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/0lmi/32/133_2.png) [@0lmi](https://hub.mender.io/u/0lmi)\
**Post date:** [February 11, 2019, 12:06pm UTC](https://hub.mender.io/t/self-hosted-mender-1-7-what-is-the-function-of-redis-and-elasticsearch/211/2 "2019-02-11T12:06:07Z")

</div>

Hi, @erikhh

Both Redis and Elasticsearch are required for [Conductor](https://netflix.github.io/conductor/). Some API calls requires calling multiply microservices and that is what conductor does. In open source mender backend version it’s used for devices provisioning and decommissioning (you can find the workflows in [mender-conductor](https://github.com/mendersoftware/mender-conductor/tree/master/server/workflows) repo on github) and we use it more intensively in Hosted Mender and Enterprise versions for advanced features.

---

<div class="post-metadata">

**Author:** ![erikhh](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/erikhh/32/102_2.png) [@erikhh](https://hub.mender.io/u/erikhh)\
**Post date:** [February 11, 2019, 3:43pm UTC](https://hub.mender.io/t/self-hosted-mender-1-7-what-is-the-function-of-redis-and-elasticsearch/211/3 "2019-02-11T15:43:48Z")

</div>

Hi @0lmi

Ah, that would explain the 500 I got when accepting new devices 🙂  
Funny how the device does get accepted though. The only thing that really does not seem to work at all without conductor present is decommissioning devices.  
Thanks!

Cheers,  
Erik

---

<div class="post-metadata">

**Author:** ![sabjorn](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@sabjorn](https://hub.mender.io/u/sabjorn)\
**Post date:** [February 19, 2019, 10:21pm UTC](https://hub.mender.io/t/self-hosted-mender-1-7-what-is-the-function-of-redis-and-elasticsearch/211/4 "2019-02-19T22:21:19Z")

</div>

Some documentation in the README for `mender-conductor` would be very helpful.

I also missed this component. Likely because it is not in the Integration [readme](https://github.com/mendersoftware/integration#how-to-use-in-production)…
