# Elastic Stack on Raspberry Pi

**URL:** <https://discuss.elastic.co/t/elastic-stack-on-raspberry-pi/256261>\
**Category:** Community Ecosystem\
**Created:** [November 22, 2020, 11:40am UTC](https://discuss.elastic.co/t/elastic-stack-on-raspberry-pi/256261 "2020-11-22T11:40:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesgarside](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jamesgarside/32/109491_2.png) [@jamesgarside](https://discuss.elastic.co/u/jamesgarside)\
**Post date:** [November 22, 2020, 11:40am UTC](https://discuss.elastic.co/t/elastic-stack-on-raspberry-pi/256261/1 "2020-11-22T11:40:12Z")

</div>

Hi All,

I have been working on a project to make it possible for people to deploy an Elastic Stack on a Raspberry Pi.

Current versions

- 7.10.0
- 7.9.3

At current I have made this Docker Swarm based. This has various advantages, namely shared Secrets which assists with the deployment of Crypt.

An entire 3 Elasticsearch Node and 1 Kibana Node stack with full encryption can now be deployed by running one script.

My repo for this can be found here: [https://github.com/jamesgarside/elastic-stack-arm](https://github.com/jamesgarside/elastic-stack-arm)

I have also been working on a few other repositories for other Elastic services which I have modified to run on ARM. They are currently Docker based but hopefully today I will add a script to each of the repositories which will install the service using the package manager. This will mitigate the need for Docker if that be your desire.

Kibana: [https://github.com/jamesgarside/kibana-arm](https://github.com/jamesgarside/kibana-arm)

Logstash: [https://github.com/jamesgarside/logstash-arm](https://github.com/jamesgarside/logstash-arm)

**Technical bit**

Right, I’ll go through what was modified.

- **Kibana**

Kibana was actually pretty simple. The version of Node.Js which is packaged in the Official release of Kibana if for AMD64 not ARM, switching this out for an ARM version did the trick at getting Kibana to run.

For the Docker image I took the Official Dockerfile and just modified it to pull in an ARM version of `Node` as well as an ARM version of `dumb-init`.

- **Logstash**

Logstash was similar to Kibana but instead ships with an AMD64 version of `Java`, switching that out for an ARM version did the trick.

For the Docker image I again took the Official Dockerfile and switched out the Java version within.

The Dockerfile also copies in some files which are used when running the container. One of these files was called `env2yml` which is a binary used to read in Environment Variables which are then used as Logstash config. Of course this binary was compiled for AMD64 so I recompiled it for ARM and included that within the container instead.

Hopefully this is helpful for some of you.  
I will try to continue to support these projects when updates are released. I use these projects personally so this shouldn’t be an issue.  
Not sure how feasible this will be with 8.0 but I will look into it.

If anyone needs any support, please feel free to contact me.  
Also, if anyone has any improvements please submit a pull request.

James 🙂

**Repositories**

- Elastic Stack

Deploy a fully encrypted Elastic Stack with one script.

> **[jamesgarside/elastic-stack-arm](https://github.com/jamesgarside/elastic-stack-arm)**
>
> Run Elastic Stack on a Raspberry Pi. Contribute to jamesgarside/elastic-stack-arm development by creating an account on GitHub.

- Kibana

Contains info about running Kibana on ARM.

> **[jamesgarside/kibana-arm](https://github.com/jamesgarside/kibana-arm)**
>
> ARM build for Kibana. Contribute to jamesgarside/kibana-arm development by creating an account on GitHub.

- Logstash

Contains info about running Logstash on ARM.

> **[jamesgarside/logstash-arm](https://github.com/jamesgarside/logstash-arm)**
>
> Contribute to jamesgarside/logstash-arm development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![chuckmilam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chuckmilam/32/115928_2.png) [@chuckmilam](https://discuss.elastic.co/u/chuckmilam)\
**Post date:** [December 15, 2020, 3:42pm UTC](https://discuss.elastic.co/t/elastic-stack-on-raspberry-pi/256261/2 "2020-12-15T15:42:09Z")

</div>

Very nice! Hope to get a chance to play with this over the holiday break in my home lab.

---

<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:** [January 12, 2021, 3:42pm UTC](https://discuss.elastic.co/t/elastic-stack-on-raspberry-pi/256261/3 "2021-01-12T15:42:28Z")

</div>

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