# Storj node easy mass deployment solution

**URL:** <https://forum.storj.io/t/storj-node-easy-mass-deployment-solution/20646>\
**Category:** Node Operators\
**Tags:** monitoring, docker, multiple-nodes, grafana\
**Created:** [December 9, 2022, 1:30am UTC](https://forum.storj.io/t/storj-node-easy-mass-deployment-solution/20646 "2022-12-09T01:30:39Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomaae](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/tomaae/32/1135_2.png) [@Tomaae](https://forum.storj.io/u/Tomaae)\
**Post date:** [December 9, 2022, 1:30am UTC](https://forum.storj.io/t/storj-node-easy-mass-deployment-solution/20646/1 "2022-12-09T01:30:40Z")

</div>

Full compose multinode deployment for storj-node with exporters and grafana, ideal for mass node deployment.

This is a compilation for multiple solutions, put together in one simple to use package.  
For detail on all solutions and credits, check out [github](https://github.com/tomaae/storj-deployment#credits). It would not be possible without them.

[storj-deployment on GitHub](https://github.com/tomaae/storj-deployment)

**Node features:**

- storj-node with log to file
- logrotate for storj-node
- preconfigured zksync
- storj exporter
- storj log exporter
- storj updater
- running on shared dedicated internal network

**Host and UI:**

- docker host OS monitoring
- prometheus + grafana configuration
- grafana storj and host os monitoring graphs
- simple website for host displaying all available web interfaces
- storj multinode optional deployment

**Tutorial video**  
Tutorial covers everything from docker instalation to deployment and configuration.  
_Included full closed captions in case you have problem understanding my accent and transcript of all used commands in comments._  
[![Tutorial](https://user-images.githubusercontent.com/23486452/206584124-81c8a3c5-0302-49bd-a1e9-5eab22f88808.png)](https://www.youtube.com/watch?v=7C2mGGZkcMk)

**UI Preview**  
Grafana storj node statistics (storj-exporter and storj-log-exporter)

 ![206063260-b472fdf0-bc39-4ed4-a1b2-dafa934a8733](https://storj-s3.bcdn.literatehosting.net/original/2X/3/340c7bc9a2b511d289518f5fd3f49ac44a3eebfa.png)

Grafana docker statistics (host-exporter)

 ![206063367-0df86143-a420-45a5-946f-c77544d51c57](https://storj-s3.bcdn.literatehosting.net/original/2X/6/69e185316acd3e95105f16112e50e178da7cecac.png)

List of web interfaces  
 ![205275296-3524e3db-f525-4d6b-818e-08e2646a51fe](https://storj-s3.bcdn.literatehosting.net/original/2X/2/2e066f9428abc96884c2092bffef67fce1422a9d.png)

**Deployment preview**  
 ![205275612-7faa28e9-57e2-4b1e-a0b9-7d2a2d3fc65a](https://storj-s3.bcdn.literatehosting.net/original/2X/6/6fbbf9c4b5d8c169862981d48cb0fa841c73f6e7.png)

storj-node stack

 ![205275465-39f29074-6b33-412d-b4e0-8c9678e09f12](https://storj-s3.bcdn.literatehosting.net/original/2X/c/cbda5ab7ca59d77e5baf9ceea2a187b49b2b692b.png)

storj-ui stack

 ![205275530-d2e18160-2909-4f4f-9eb7-ea859280a95a](https://storj-s3.bcdn.literatehosting.net/original/2X/6/6aaee3e6304587076c1dd1c0d15e014fe361c53e.png)

---

<div class="post-metadata">

**Author:** ![Tomaae](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/tomaae/32/1135_2.png) [@Tomaae](https://forum.storj.io/u/Tomaae)\
**Post date:** [December 9, 2022, 12:58pm UTC](https://forum.storj.io/t/storj-node-easy-mass-deployment-solution/20646/2 "2022-12-09T12:58:13Z")

</div>

I would also like to add monitoring and alert system. Something that would at least send an email to warn about issues.  
I was thinking of sensu, since I have experience in large scale with it, but that may be an overkill.  
Does anybody have any experience/suggestions with such monitoring for storj/docker?

---

<div class="post-metadata">

**Author:** ![lyoth](https://storj.bcdn.literatehosting.com/letter_avatar/lyoth/32/6_449c533f586939b6e5f246632a46421f.png) [@lyoth](https://forum.storj.io/u/lyoth)\
**Post date:** [December 10, 2022, 6:21am UTC](https://forum.storj.io/t/storj-node-easy-mass-deployment-solution/20646/3 "2022-12-10T06:21:15Z")

</div>

You can actually set it within grafana.  
I have it alert me in discord whenever a node has a problem.

---

<div class="post-metadata">

**Author:** ![Tomaae](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/tomaae/32/1135_2.png) [@Tomaae](https://forum.storj.io/u/Tomaae)\
**Post date:** [December 10, 2022, 11:48am UTC](https://forum.storj.io/t/storj-node-easy-mass-deployment-solution/20646/4 "2022-12-10T11:48:18Z")

</div>

that would be great. could you please point me in the right direction? I’m new to grafana.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [December 11, 2022, 4:53am UTC](https://forum.storj.io/t/storj-node-easy-mass-deployment-solution/20646/5 "2022-12-11T04:53:26Z")

</div>

> [@\[Tech Preview\] Email alerts with Grafana and Prometheus](https://forum.storj.io/t/tech-preview-email-alerts-with-grafana-and-prometheus/16156):
>
> I would like to setup email alerts for my storage nodes. It turns out the storage node already has a Prometheus endpoint. It is running on the debug endpoint /metrics. If you haven’t set the debug endpoint please visit [Guide to debug my storage node, uplink, s3 gateway, satellite](https://forum.storj.io/t/guide-to-debug-my-storage-node-uplink-s3-gateway-satellite/1372) I have already a Prometheus instance running and Grafana inclusive email alerts. Here are my configs: docker-compose.yaml version: "3.3" services: prometheus: restart: unless-stopped user: 993:991 ports…

---

<div class="post-metadata">

**Author:** ![Tomaae](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/tomaae/32/1135_2.png) [@Tomaae](https://forum.storj.io/u/Tomaae)\
**Post date:** [December 11, 2022, 2:24pm UTC](https://forum.storj.io/t/storj-node-easy-mass-deployment-solution/20646/6 "2022-12-11T14:24:50Z")

</div>

thank you. I will look into it and add it to deployment.

---

<div class="post-metadata">

**Author:** ![faga](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/faga/32/65_2.png) [@faga](https://forum.storj.io/u/faga)\
**Post date:** [December 12, 2022, 10:33pm UTC](https://forum.storj.io/t/storj-node-easy-mass-deployment-solution/20646/7 "2022-12-12T22:33:16Z")

</div>

I like messaging on telegram with uptime-kuma.

---

<div class="post-metadata">

**Author:** ![Tomaae](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/tomaae/32/1135_2.png) [@Tomaae](https://forum.storj.io/u/Tomaae)\
**Post date:** [December 13, 2022, 3:43am UTC](https://forum.storj.io/t/storj-node-easy-mass-deployment-solution/20646/8 "2022-12-13T03:43:03Z")

</div>

yea, I plan to look into multiple solutions to have more options  
not sure what would be the best yet  
mail notifications are basic and I certainly want those. then different type of instant notification for serious issues, like node crashing due to disk not being available and such.

---

<div class="post-metadata">

**Author:** ![Tomaae](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/tomaae/32/1135_2.png) [@Tomaae](https://forum.storj.io/u/Tomaae)\
**Post date:** [December 13, 2022, 10:19am UTC](https://forum.storj.io/t/storj-node-easy-mass-deployment-solution/20646/9 "2022-12-13T10:19:22Z")

</div>

grafana alerting seems to be moved from graphs to dedicated section which does not have option to import/export.  
so this will be a no-go, at least for now

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [December 15, 2022, 4:50am UTC](https://forum.storj.io/t/storj-node-easy-mass-deployment-solution/20646/10 "2022-12-15T04:50:00Z")

</div>

I believe you can add this type to the existing Prometheus too.

---

<div class="post-metadata">

**Author:** ![Tomaae](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/tomaae/32/1135_2.png) [@Tomaae](https://forum.storj.io/u/Tomaae)\
**Post date:** [December 15, 2022, 11:13am UTC](https://forum.storj.io/t/storj-node-easy-mass-deployment-solution/20646/11 "2022-12-15T11:13:20Z")

</div>

there may be a way to do this using grafana provisioning.  
this is new to me, so may take some researching and lots of testing.
