<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Laurent ✤ on Medium]]></title>
        <description><![CDATA[Stories by Laurent ✤ on Medium]]></description>
        <link>https://medium.com/@laurent-coglitore?source=rss-f17426e4ef4d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dyOLlYBFVO578kqwE2SjLQ@2x.jpeg</url>
            <title>Stories by Laurent ✤ on Medium</title>
            <link>https://medium.com/@laurent-coglitore?source=rss-f17426e4ef4d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 09:01:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@laurent-coglitore/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Syntropy – Le nouveau protocole de routage décentralisé vise à remplacer BGP > DARP]]></title>
            <link>https://laurent-coglitore.medium.com/syntropy-le-nouveau-protocole-de-routage-d%C3%A9centralis%C3%A9-vise-%C3%A0-remplacer-bgp-darp-f63038bcfc88?source=rss-f17426e4ef4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f63038bcfc88</guid>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[bgp]]></category>
            <category><![CDATA[darp]]></category>
            <category><![CDATA[routing]]></category>
            <category><![CDATA[syntropy]]></category>
            <dc:creator><![CDATA[Laurent ✤]]></dc:creator>
            <pubDate>Sun, 14 Mar 2021 20:01:13 GMT</pubDate>
            <atom:updated>2021-03-14T20:01:13.725Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*5Rv_Imhb0w0VYMYdr_fWBg@2x.jpeg" /></figure><p>Le Border Gateway Protocol a été décrit pour la première fois en 1989. Selon Wikipédia est utilisé sur Internet depuis 1994.</p><p>Mais maintenant, une startup nommée Syntropy vise à remplacer BGP comme méthode de routage par défaut d’Internet, en utilisant des nœuds du monde entier pour collecter constamment des données sur les inefficacités du réseau actuel</p><p>L’intelligence est ensuite utilisée pour acheminer les données via les itinéraires les plus efficaces. Des tests réels avec des centaines de serveurs ont prouvés que les latences peuvent être réduites de dizaines à centaines de millisecondes.</p><p>Les connexions sont chiffrées par défaut et la gigue est également réduite. Finalement, les serveurs gérés par l’entreprise sont complétés par des dizaines de milliers de nœuds gérés par des utilisateurs / appareils intelligents, qui sont récompensés pour leur travail.</p><p>L’équipe a récemment été rejointe par l’ancien vice-président principal de Verizon Shawn Hakl et l’ancien chef des produits chez AT&amp;T Roman Pacewicz. L’un des fondateurs de Syntropy est le co-fondateur d’Equinix et de NANOG Bill Norton. Syntropy est un partenaire Oracle et Microsoft, et se transforme en fondation et DAO pour régir le travail de protocole.</p><p>Le protocole de routage autonome décentralisé (ou DARP) vient d’être ouvert pour les tests de la communauté, et le système est en ligne sur</p><p><a href="https://darp.syntropystack.com/">DARP</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f63038bcfc88" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SyntropyStack — ANSIBLE — Logging solution with ElasticSearch, Kibana, Fluentd and Nginx — Part 2]]></title>
            <link>https://laurent-coglitore.medium.com/syntropystack-ansible-logging-solution-with-elasticsearch-kibana-fluentd-and-nginx-part-2-753dd5c9bc2d?source=rss-f17426e4ef4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/753dd5c9bc2d</guid>
            <dc:creator><![CDATA[Laurent ✤]]></dc:creator>
            <pubDate>Wed, 20 Jan 2021 11:18:52 GMT</pubDate>
            <atom:updated>2021-01-23T21:25:48.693Z</atom:updated>
            <content:encoded><![CDATA[<h3>SyntropyStack — ANSIBLE — Logging solution with ElasticSearch, Kibana, Fluentd and Nginx — Part 2</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/0*P-dEKRb8fbVoeTbM.png" /></figure><p>In this tutorial, we will be creating a logging network with Kibana, ElasticSearch, Fluentd and Nginx (with Let’s Encrypt SSL certificates). To deploy our network, we will be using the Syntropy Stack, Docker and Ansible.</p><p>I would put you at the end of this article, a detailed link allowing you to mount this architecture.</p><h3>Start Syntropy Agent with Docker</h3><pre>sudo docker run --network=&quot;host&quot; --restart=on-failure:10 --cap-add=NET_ADMIN --cap-add=SYS_MODULE \<br>-v /var/run/docker.sock:/var/run/docker.sock:ro \<br>--device /dev/net/tun:/dev/net/tun --name=syntropynet-agent \<br>-e SYNTROPY_API_KEY=CHANGE ME \<br>-e SYNTROPY_TAGS=CHANGE ME \<br>-e SYNTROPY_PROVIDER=CHANGE ME \<br>-e SYNTROPY_AGENT_NAME=CHANGE ME \<br>-e SYNTROPY_NETWORK_API=&#39;docker&#39; \<br>-d syntropynet/agent:stable</pre><p>The VM of different vendors register on the SyntropyStack interface thanks to the agent launched by Docker on Ansible.</p><h3>Certificat SSL LetsEncrypt / DNS</h3><p>For my access to be secure, it was necessary to create a LetsEncrypt SSL certificate and pair it with a domain name. In this example, I use DuckDNS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3gJ0dH6vfBlDDsqH.png" /><figcaption><a href="https://www.duckdns.org/">Duck DNS (www.duckdns.org)</a></figcaption></figure><h3>The creation of several sub-networks</h3><p>Launch services on each dedicated VM. Be careful by launching them on a different subnet</p><pre>sudo docker network create --subnet 172.20.0.0/24 syntropynet<br>sudo docker network create --subnet 172.21.0.0/24 syntropynet<br>sudo docker network create --subnet 172.22.0.0/24 syntropynet</pre><p>Here are some explanations for each service:</p><p>To distinguish VM and Services, it is necessary to mount them on different IP address plans. Ports were not to be exposed to the Internet, except for 443.</p><h3>VM Providers</h3><ul><li>VM1: Kibana + Nginx</li><li>VM2: ElasticSearch</li><li>VM3: Fluentd</li></ul><p>Here are some explanations for each service:</p><ul><li><strong>Nginx</strong>: is a web server which can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. The software was created by Igor Sysoev and first publicly released in 2004.</li><li><strong>ElastiSearch:</strong> is software that uses Lucene for indexing and data retrieval. It provides a distributed and multi-entity search engine through a REST interface. It is software written in Java distributed under the Elastic license.</li><li><strong>Fluentd: </strong>is an open source, cross-platform data collection software project originally developed at Treasure Data. It is written primarily in the Ruby programming language.</li></ul><p>To distinguish VM and Services, it is necessary to mount them on different IP address plans. Ports were not to be exposed to the Internet, except for 443.</p><h3>Ansible</h3><p>Ansible is an open source software platform for configuring and managing computers. It combines the deployment of multi-node software, the execution of ad-hoc tasks, and configuration management. It manages the various nodes through SSH and does not require the installation of any additional software on them. Modules communicate through standard output in JSON notation and can be written in any programming language. The system uses YAML to express reusable descriptions of systems, called playbooks</p><p>In order for all the services to be built, several YAML files are made.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*34--9Ad0VtgWPLXGH_Th2g.png" /><figcaption>tree Ansible</figcaption></figure><h3>Installation</h3><p>Copy the entire roles directory to your controller server</p><p>Install the Syntropy Ansible Galaxy Collection.</p><pre>ansible-galaxy collection install git@github.com:SyntropyNet/syntropy-ansible-collection.git</pre><p>Navigate to your local ansible directory:</p><pre>cd /root/.ansible/collections/ansible_collections/syntropynet/syntropy</pre><p>Install the Python dependencies.</p><pre>pip3 install -U -r requirements.txt</pre><h3>Authentication</h3><p>Generate an API Token by logging in using the CLI:</p><pre>syntropyctl login {syntropy stack user name} { syntropy stack password}</pre><h3>Provision your Virtual Machines</h3><p>Info:</p><ul><li>For Python &gt;= 2.7 [servers:vars] ansible_python_interpreter=/usr/bin/python3</li><li>For Python &lt;= 2.7 [servers:vars] ansible_python_interpreter=/usr/bin/python</li></ul><pre>[kibana]<br>yourfirstpubip ansible_python_interpreter=/usr/bin/python3<br>[elasticsearch]<br>yoursecondpubip ansible_python_interpreter=/usr/bin/python3<br>[fluentd]<br>localhost ansible_python_interpreter=/usr/bin/python3</pre><p>Test Connection: ansible -m ping all</p><p>Output result:</p><pre>localhost | SUCCESS =&gt; {<br>    &quot;changed&quot;: false,<br>    &quot;ping&quot;: &quot;pong&quot;<br>}<br>*.*.*.* | SUCCESS =&gt; {<br>    &quot;changed&quot;: false,<br>    &quot;ping&quot;: &quot;pong&quot;<br>}<br>*.*.*.* | SUCCESS =&gt; {<br>    &quot;changed&quot;: false,<br>    &quot;ping&quot;: &quot;pong&quot;<br>}</pre><h3>Deploy Agent / Services / Network with Ansible Playbook</h3><p>The power of Ansible is that everything is done from a single server. All this does automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/0*bENSRDi-oe56oawE.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VLKT1s63IXmFk8-n.png" /></figure><h3>Kibana</h3><p>Kibana<strong> </strong>is a data visualization plugin for Elasticsearch released under the Apache free license version 2. It provides visualization functions on content indexed in an Elasticsearch cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZdkfnMBdqcjjHcdt.png" /></figure><ul><li>Simulate a log with curl command since <strong>Fluentd</strong>:</li></ul><p>curl -X POST -d &#39;json={&quot;message&quot;:&quot;Hello Syntropy World&quot;}&#39; 172.22.0.2:9880/TEST</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DweAsJVEB6WNuwIZ.png" /></figure><p>In conclusion, this exercise allowed us to highlight that with different VM connected via an encrypted tunnel, it is possible to build an architecture as if you were in a local network safely;-)<br>Thanks to Ansible, you make your life easier because everything is controlled from a single server.</p><h3>Video tutorial</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FS66WdMzOerI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DS66WdMzOerI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FS66WdMzOerI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f1daaadb209312673baa3b5b695c59f9/href">https://medium.com/media/f1daaadb209312673baa3b5b695c59f9/href</a></iframe><h3>GitHub Tutorial</h3><p><a href="https://github.com/lorenzo8769/syntropynet-use-cases/tree/log2-aut-1/elastic-kibana-fluentd-ansible">syntropynet-use-cases/elastic-kibana-fluentd-ansible at log2-aut-1 · lorenzo8769/syntropynet-use-cases (github.com)</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=753dd5c9bc2d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SyntropyStack — Manual and SyntropyCTL — Monitoring solution with Grafana, Prometheus…]]></title>
            <link>https://laurent-coglitore.medium.com/syntropystack-manual-and-syntropyctl-monitoring-solution-with-grafana-prometheus-2af38a478f74?source=rss-f17426e4ef4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2af38a478f74</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[syntropyctl]]></category>
            <category><![CDATA[syntropystack]]></category>
            <category><![CDATA[gr]]></category>
            <category><![CDATA[syntropy]]></category>
            <dc:creator><![CDATA[Laurent ✤]]></dc:creator>
            <pubDate>Sat, 16 Jan 2021 22:46:35 GMT</pubDate>
            <atom:updated>2021-01-23T21:14:25.651Z</atom:updated>
            <content:encoded><![CDATA[<h3>SyntropyStack — Manual and SyntropyCTL — Monitoring solution with Grafana, Prometheus, Node_exporter and Nginx — Part 4</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/0*qMmOLUMMxpQLXqyn.png" /></figure><p>In this tutorial, we will be creating a monitoring network with node_exporter, Prometheus, Grafana and Nginx (with Let’s Encrypt SSL certificates). To deploy our network, we will be using the Syntropy Stack, Docker and SyntropyCLI</p><p>Syntropy Stack allows us to quickly connect application services (Apache, nginx, Grafana, InfluxDB, MariaDB, etc.) with optimized and encrypted connections by default. It’s compatible with any device or service, running on a cloud, on-premise or edge locations.</p><h3>Start Syntropy Agent with Docker</h3><pre>sudo docker run --network=&quot;host&quot; --restart=on-failure:10 --cap-add=NET_ADMIN --cap-add=SYS_MODULE \<br>-v /var/run/docker.sock:/var/run/docker.sock:ro \<br>--device /dev/net/tun:/dev/net/tun --name=syntropynet-agent \<br>-e SYNTROPY_API_KEY=CHANGE ME \<br>-e SYNTROPY_TAGS=CHANGE ME \<br>-e SYNTROPY_PROVIDER=CHANGE ME \<br>-e SYNTROPY_AGENT_NAME=CHANGE ME \<br>-e SYNTROPY_NETWORK_API=&#39;docker&#39; \<br>-d syntropynet/agent:stable</pre><p>The VM of different vendors register on the SyntropyStack interface thanks to the agent launched by Docker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/60/0*HUnb-icX25XsmHvb" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rRWnKfOj2DiMUxaa.png" /></figure><p>End-Points SyntropyStack</p><h3>Certificat SSL LetsEncrypt</h3><p>For my access to be secure, it was necessary to create a LetsEncrypt SSL certificate and pair it with a domain name. In this example, I use DuckDNS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/60/0*WHhwjtuHfz14XNGb" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SR6ZHW421-v7Vxhs.png" /></figure><p><a href="https://www.duckdns.org/">Duck DNS (www.duckdns.org)</a></p><h3>The creation of several sub-networks</h3><p>Launch services on each dedicated VM. Be careful by launching them on a different subnet</p><pre>sudo docker network create --subnet 172.20.0.0/24 syntropynetsudo docker network create --subnet 172.21.0.0/24 syntropynetsudo docker network create --subnet 172.22.0.0/24 syntropynet</pre><p>Here are some explanations for each service:</p><p>To distinguish VM and Services, it is necessary to mount them on different IP address plans. Ports were not to be exposed to the Internet, except for 443.</p><h3>Build 3x VM</h3><h3>First VM</h3><p>Three Docker images will be required. We mount a Proxy Revers by exposing port 443 to be coupled with a LetsEncrypt SSL certificate + a domain name. All that will depend on the Grafana image.</p><pre>sudo docker run --detach --net=syntropynet \<br>--name nginx-proxy \<br>--publish 80:80 \<br>--publish 443:443 \<br>--volume /etc/nginx/certs \<br>--volume /etc/nginx/vhost.d \<br>--volume /usr/share/nginx/html \<br>--volume /var/run/docker.sock:/tmp/docker.sock:ro \<br>jwilder/nginx-proxysudo docker run --detach --net=syntropynet \<br>--name nginx-proxy-letsencrypt \<br>--volumes-from nginx-proxy \<br>--volume /var/run/docker.sock:/var/run/docker.sock:ro \<br>--volume /etc/acme.sh \<br>--env &quot;DEFAULT_EMAIL=mail@domain&quot; \<br>jrcs/letsencrypt-nginx-proxy-companionsudo docker run --detach --net=syntropynet \<br>--name grafana \<br>--env &quot;VIRTUAL_HOST=DuckDNSDomain&quot; \<br>--env &quot;VIRTUAL_PORT=3000&quot; \<br>--env &quot;LETSENCRYPT_HOST=DuckDNSDomain&quot; \<br>--env &quot;LETSENCRYPT_EMAIL=mail@domain&quot; \<br>--env &quot;GF_SECURITY_ADMIN_USER=admin&quot; \<br>--env &quot;GF_SECURITY_ADMIN_PASSWORD=syntropy&quot; \<br>--env &quot;GF_USERS_ALLOW_SIGN_UP=false&quot; \<br>grafana/grafana</pre><ul><li><strong>Nginx</strong>: is a web server which can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. The software was created by Igor Sysoev and first publicly released in 2004.</li><li><strong>Grafana:</strong> free software licensed Apache 2.0 that allows data visualization. It allows dashboards and graphs to be made from multiple sources including time databases such as Graphite, InfluxDB and OpenTSDB</li></ul><h3>Second VM</h3><p>A fourth Docker image to launch promiseheus without exposing port 9090 to the internet.</p><pre>sudo docker run --net=syntropynet -d --name prometheus -v $PWD/prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus:latest</pre><ul><li><strong>Prometheus:</strong> free computer monitoring software and alert generator. It records real-time metrics in a time series database based on the input point content exposed using the HTTP protocol.</li></ul><h3>Third VM</h3><p>And finally a fifth image for Node-Exporter.</p><pre>sudo docker run --net=syntropynet -d --name node-exporter quay.io/prometheus/node-exporter</pre><ul><li><strong>Node_exporter: </strong>will expose all metrics from enabled collectors by default. This is the recommended way to collect metrics to avoid errors when comparing metrics of different families. For advanced use the<strong> </strong>node_exporter can be passed an optional list of collectors to filter metrics.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q5dn4-sz1kqKM3sD.png" /></figure><h3>SyntropyCLI</h3><p>SyntropyCTL is a pretty powerful tool that will allow you to build your network in a few command lines.</p><h3>Create your Network SyntropyStack — There are many ways:</h3><ul><li>Solution 1 -using SyntropyCTL command</li></ul><pre>syntropyctl create-network</pre><pre>syntropyctl get-networks</pre><pre>syntropyctl get-endpoints</pre><pre>syntropyctl configure-endpoints --enable-all-services &lt;Agent_ID&gt;</pre><pre>syntropyctl create-connections -j &lt;network_name&gt; &lt;VM1_id&gt; &lt;VM2_id&gt; &lt;VM2_id&gt; &lt;VM3_id&gt;</pre><p>Result:</p><pre>[<br>    {<br>        &quot;agent_connection_id&quot;: 26278,<br>        &quot;agent_1_id&quot;: 640,<br>        &quot;agent_interface_1_id&quot;: 2675,<br>        &quot;agent_2_id&quot;: 641,<br>        &quot;agent_interface_2_id&quot;: 2676,<br>        &quot;network_id&quot;: 318,<br>        &quot;agent_connection_created_at&quot;: &quot;2021-01-16T13:19:51.870&quot;,<br>        &quot;agent_connection_updated_at&quot;: &quot;2021-01-16T13:19:51.870&quot;,<br>        &quot;agent_connection_modified_at&quot;: &quot;2021-01-16T13:19:51.870&quot;,<br>        &quot;agent_sdn_policy_id&quot;: null,<br>        &quot;agent_connection_link_tag&quot;: &quot;PUBLIC&quot;,<br>        &quot;agent_connection_status&quot;: &quot;PENDING&quot;,<br>        &quot;agent_connection_status_reason&quot;: null,<br>        &quot;agent_connection_last_handshake&quot;: null,<br>        &quot;agent_connection_tx_bytes_total&quot;: null,<br>        &quot;agent_connection_rx_bytes_total&quot;: null,<br>        &quot;agent_connection_latency_ms&quot;: null,<br>        &quot;agent_connection_packet_loss&quot;: null<br>    },<br>    {<br>        &quot;agent_connection_id&quot;: 26279,<br>        &quot;agent_1_id&quot;: 641,<br>        &quot;agent_interface_1_id&quot;: 2676,<br>        &quot;agent_2_id&quot;: 642,<br>        &quot;agent_interface_2_id&quot;: 2677,<br>        &quot;network_id&quot;: 318,<br>        &quot;agent_connection_created_at&quot;: &quot;2021-01-16T13:19:51.870&quot;,<br>        &quot;agent_connection_updated_at&quot;: &quot;2021-01-16T13:19:51.870&quot;,<br>        &quot;agent_connection_modified_at&quot;: &quot;2021-01-16T13:19:51.870&quot;,<br>        &quot;agent_sdn_policy_id&quot;: null,<br>        &quot;agent_connection_link_tag&quot;: &quot;PUBLIC&quot;,<br>        &quot;agent_connection_status&quot;: &quot;PENDING&quot;,<br>        &quot;agent_connection_status_reason&quot;: null,<br>        &quot;agent_connection_last_handshake&quot;: null,<br>        &quot;agent_connection_tx_bytes_total&quot;: null,<br>        &quot;agent_connection_rx_bytes_total&quot;: null,<br>        &quot;agent_connection_latency_ms&quot;: null,<br>        &quot;agent_connection_packet_loss&quot;: null<br>    }<br>]</pre><ul><li>Solution 2 — using SyntropyNAC command and YAML template</li></ul><pre>connections:<br>  VM2:<br>    connect_to:<br>      Grafana:<br>        services:<br>          - grafana<br>        type: tag<br>      Node_Exporter:<br>        services:<br>          - node-exporter<br>        type: tag<br>    services:<br>      - prometheus<br>    type: endpoint<br>name: MON4<br>state: present<br>topology: P2M</pre><pre>syntropynac configure-networks --dry-run MON4.yaml</pre><p>Result:</p><pre>Configuring network MON4<br>Created network MON4 with id 319<br>Created 2 connections for network MON4<br>Configured 2 connections and 2 subnets for network MON4<br>Done</pre><h3>Grafana</h3><p>Now that all services are communicating together, we have the option to get to the Grafana interface by typing the address of our domain name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/0*uIgfbROSbB6rpOLM.png" /></figure><p>In order for Grafana to reassemble the metrics that Promotheus receives from Node_Exporter, it is necessary to identify the Docker DataSource IP of the Prometheus server. By installing a template, here is the result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zuykVD8-Ue5I8cRm.png" /></figure><p>In conclusion, this exercise allowed us to highlight that with different VM connected via an encrypted tunnel, it is possible to build an architecture as if you were in a local network safely;-)</p><p>Without using the UI platform, it’s also easy to build the network through the SyntropyCLI.</p><h3>Video tutorial</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FWCn3dWsI8bY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DWCn3dWsI8bY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FWCn3dWsI8bY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/293f4fd632023fb1f1a06a39bedf2340/href">https://medium.com/media/293f4fd632023fb1f1a06a39bedf2340/href</a></iframe><h3>GitHub Tutorial</h3><p><a href="https://github.com/SyntropyNet/syntropy-devops-integrations/tree/main/grafana-prometheus-node_exporter-mixed-2">syntropy-devops-integrations/grafana-prometheus-node_exporter-mixed-2 at main · SyntropyNet/syntropy-devops-integrations (github.com)</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2af38a478f74" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SyntropyStack — ANSIBLE— Monitoring solution with Grafana, Prometheus, Node_exporter and Nginx —…]]></title>
            <link>https://laurent-coglitore.medium.com/syntropystack-ansible-monitoring-solution-with-grafana-prometheus-node-exporter-and-nginx-d4079787c36d?source=rss-f17426e4ef4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4079787c36d</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[syntropystack]]></category>
            <category><![CDATA[syntropy]]></category>
            <category><![CDATA[grafana]]></category>
            <category><![CDATA[ansible]]></category>
            <dc:creator><![CDATA[Laurent ✤]]></dc:creator>
            <pubDate>Fri, 15 Jan 2021 15:37:11 GMT</pubDate>
            <atom:updated>2021-01-23T21:15:53.362Z</atom:updated>
            <content:encoded><![CDATA[<h3>SyntropyStack — ANSIBLE— Monitoring solution with Grafana, Prometheus, Node_exporter and Nginx — Part 2</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*pBSrkbsaSCdoplMuQw_4eQ.png" /></figure><p>In this tutorial, we will be creating a monitoring network with node_exporter, Prometheus, Grafana and Nginx (with Let’s Encrypt SSL certificates). To deploy our network, we will be using the Syntropy Stack, Docker and Ansible.</p><p>I would put you at the end of this article, a detailed link allowing you to mount this architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ePSeineiVV7dHA13ifEGXA.png" /></figure><h3>Start Syntropy Agent with Docker</h3><pre>sudo docker run --network=&quot;host&quot; --restart=on-failure:10 --cap-add=NET_ADMIN --cap-add=SYS_MODULE \<br>-v /var/run/docker.sock:/var/run/docker.sock:ro \<br>--device /dev/net/tun:/dev/net/tun --name=syntropynet-agent \<br>-e SYNTROPY_API_KEY=CHANGE ME \<br>-e SYNTROPY_TAGS=CHANGE ME \<br>-e SYNTROPY_PROVIDER=CHANGE ME \<br>-e SYNTROPY_AGENT_NAME=CHANGE ME \<br>-e SYNTROPY_NETWORK_API=&#39;docker&#39; \<br>-d syntropynet/agent:stable</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iwJgwtlXomLZ7dlUeePxhw.png" /></figure><p>The VM of different vendors register on the SyntropyStack interface thanks to the agent launched by Docker on Ansible.</p><h3>Certificat SSL LetsEncrypt</h3><p>For my access to be secure, it was necessary to create a LetsEncrypt SSL certificate and pair it with a domain name. In this example, I use DuckDNS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-p5Gokja6cO8wle9.png" /><figcaption><a href="https://www.duckdns.org/">Duck DNS (www.duckdns.org)</a></figcaption></figure><h3>The creation of several sub-networks</h3><p>Launch services on each dedicated VM. Be careful by launching them on a different subnet</p><pre>sudo docker network create --subnet 172.20.0.0/24 syntropynet<br>sudo docker network create --subnet 172.21.0.0/24 syntropynet<br>sudo docker network create --subnet 172.22.0.0/24 syntropynet</pre><p>Here are some explanations for each service:</p><p>To distinguish VM and Services, it is necessary to mount them on different IP address plans. Ports were not to be exposed to the Internet, except for 443.</p><h3>Build 3x VM</h3><ul><li>VM1: Nginx + Grafana</li><li>VM2: Prometheus</li><li>VM3: Node-Exporter</li></ul><p>Here are some explanations for each service:</p><ul><li><strong>Nginx</strong>: is a web server which can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. The software was created by Igor Sysoev and first publicly released in 2004.</li><li><strong>Grafana:</strong> free software licensed Apache 2.0 that allows data visualization. It allows dashboards and graphs to be made from multiple sources including time databases such as Graphite, InfluxDB and OpenTSDB</li><li><strong>Prometheus:</strong> free computer monitoring software and alert generator. It records real-time metrics in a time series database based on the input point content exposed using the HTTP protocol.</li><li><strong>Node_exporter: </strong>will expose all metrics from enabled collectors by default. This is the recommended way to collect metrics to avoid errors when comparing metrics of different families. For advanced use the<strong> </strong>node_exporter can be passed an optional list of collectors to filter metrics.</li></ul><p>To distinguish VM and Services, it is necessary to mount them on different IP address plans. Ports were not to be exposed to the Internet, except for 443.</p><h3>ANSIBLE</h3><p>Ansible is a free software platform for setting up and managing computers. It combines multi-node software deployment, ad-hoc task execution, and configuration management. It manages the various nodes through SSH and does not require the installation of any additional software on them. The modules communicate via the standard JSON notation output and can be written in any programming language. The system uses YAML to express reusable descriptions of systems, called playbook.</p><h4>Installation</h4><p>Copy the entire roles directory to <strong>your controller server</strong></p><p>Install the Syntropy Ansible Galaxy Collection.</p><pre>ansible-galaxy collection install git@github.com:SyntropyNet/syntropy-ansible-collection.git</pre><p>Navigate to your local ansible directory:</p><pre>cd /root/.ansible/collections/ansible_collections/syntropynet/syntropy</pre><p>Install the Python dependencies.</p><pre>pip3 install -U -r requirements.txt</pre><h4>Authentication</h4><p>Generate an API Token by logging in using the CLI:</p><pre>syntropyctl login {syntropy stack user name} { syntropy stack password}</pre><h4>Provision your Virtual Machines</h4><p>Info:</p><ul><li>For Python &gt;= 2.7 [servers:vars] ansible_python_interpreter=/usr/bin/python3</li><li>For Python &lt;= 2.7 [servers:vars] ansible_python_interpreter=/usr/bin/python</li></ul><pre>[nginx]<br>yourfirstpubip ansible_python_interpreter=/usr/bin/python3</pre><pre>[prometheus]<br>yoursecondpubip ansible_python_interpreter=/usr/bin/python3</pre><pre>[node-exporter]<br>localhost ansible_python_interpreter=/usr/bin/python3</pre><p>Test Connection: ansible -m ping all</p><p>Output result:</p><pre>localhost | SUCCESS =&gt; {<br>    &quot;changed&quot;: false,<br>    &quot;ping&quot;: &quot;pong&quot;<br>}<br>*.*.*.* | SUCCESS =&gt; {<br>    &quot;changed&quot;: false,<br>    &quot;ping&quot;: &quot;pong&quot;<br>}<br>*.*.*.* | SUCCESS =&gt; {<br>    &quot;changed&quot;: false,<br>    &quot;ping&quot;: &quot;pong&quot;<br>}</pre><h3>Deploy Agent / Services / Network with Ansible Playbook</h3><p>The power of Ansible is that everything is done from a single server. All this does automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oYy1kYG2ldOI-sHNih9hIA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vsxt0y4pL_RLquH5ndPA-Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*whoaTCmwrSfaGxH9HIKrdg.png" /></figure><h3>Grafana</h3><p>Now that all services are communicating together, we have the option to get to the Grafana interface by typing the address of our domain name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/0*vEJdXtz19U8ssbH1.png" /></figure><p>In order for Grafana to reassemble the metrics that Promotheus receives from Node_Exporter, it is necessary to identify the Docker DataSource IP of the Prometheus server. By installing a template, here is the result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AanrWdO8jiZvcNJlHO19rg.png" /></figure><p>In conclusion, this exercise allowed us to highlight that with different VM connected via an encrypted tunnel, it is possible to build an architecture as if you were in a local network safely;-)</p><p>Thanks to Ansible, you make your life easier because everything is controlled from a single server.</p><h3>Video tutorial</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FFpxKgkwje8E%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFpxKgkwje8E&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FFpxKgkwje8E%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a325c41413ff88caeaefc23fc3a6a1ba/href">https://medium.com/media/a325c41413ff88caeaefc23fc3a6a1ba/href</a></iframe><h3>GitHub Tutorial</h3><p><a href="https://github.com/SyntropyNet/syntropy-devops-integrations/tree/main/grafana-prometheus-node_exporter-ansible">syntropy-devops-integrations/grafana-prometheus-node_exporter-ansible at main · SyntropyNet/syntropy-devops-integrations (github.com)</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4079787c36d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SyntropyStack — UI — Nginx and curl client — Part 1]]></title>
            <link>https://laurent-coglitore.medium.com/syntropystack-nginx-and-curl-client-50736fb0d4e9?source=rss-f17426e4ef4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/50736fb0d4e9</guid>
            <category><![CDATA[syntropy]]></category>
            <category><![CDATA[curl]]></category>
            <category><![CDATA[syntropystack]]></category>
            <category><![CDATA[nginx]]></category>
            <dc:creator><![CDATA[Laurent ✤]]></dc:creator>
            <pubDate>Tue, 05 Jan 2021 20:26:21 GMT</pubDate>
            <atom:updated>2021-01-23T20:49:43.681Z</atom:updated>
            <content:encoded><![CDATA[<h3>SyntropyStack —UI — Nginx and curl client — Part 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*d66W3cVXQpuAE6raeVe_7A.png" /></figure><p>In this tutorial, we will interconnect two Vm through syntropystack in order to execute a CURL command from the VM1 Cloud to the Nginx VM2 server.</p><h3>Start Syntropy Agent with Docker</h3><pre>sudo docker run --network=&quot;host&quot; --restart=on-failure:10 --cap-add=NET_ADMIN --cap-add=SYS_MODULE \<br>-v /var/run/docker.sock:/var/run/docker.sock:ro \<br>--device /dev/net/tun:/dev/net/tun --name=syntropynet-agent \<br>-e SYNTROPY_API_KEY=CHANGE ME \<br>-e SYNTROPY_TAGS=CHANGE ME \<br>-e SYNTROPY_PROVIDER=CHANGE ME \<br>-e SYNTROPY_AGENT_NAME=CHANGE ME \<br>-e SYNTROPY_NETWORK_API=&#39;docker&#39; \<br>-d syntropynet/agent:stable</pre><h3>Build 2x VM</h3><ul><li>First VM: Nginx You can’t use -p flag</li><li>Second VM: Cloud1 with commande <strong>CURL</strong></li></ul><p>Here are some explanations for each service:</p><ul><li><strong>Nginx</strong>: is a web server which can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. The software was created by Igor Sysoev and first publicly released in 2004.</li><li><strong>Curl:</strong> is an online command interface, designed to retrieve the contents of a resource accessible through a computer network.</li></ul><p>The VM of different vendors register on the SyntropyStack interface thanks to the agent launched by Docker.</p><h3>Create your Network SyntropyStack</h3><p>Innovation is to be able to connect these VMs with one click. An encrypted Tunnel is then built. In order for services to communicate with each other, they must be linked together:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UXgj5U13gMqYSA0y.png" /></figure><h3>CURL Command</h3><p>When we launch the CURL command to the Nginx server, we will get this</p><pre>curl <a href="http://nginx_docker_ip/">http://nginx_docker_ip</a></pre><pre>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br>&lt;title&gt;Welcome to nginx!&lt;/title&gt;<br>&lt;style&gt;<br>    body {<br>        width: 35em;<br>        margin: 0 auto;<br>        font-family: Tahoma, Verdana, Arial, sans-serif;<br>    }<br>&lt;/style&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br>&lt;h1&gt;Welcome to nginx!&lt;/h1&gt;<br>&lt;p&gt;If you see this page, the nginx web server is successfully installed and<br>working. Further configuration is required.&lt;/p&gt;</pre><pre>&lt;p&gt;For online documentation and support please refer to<br>&lt;a href=&quot;http://nginx.org/&quot;&gt;nginx.org&lt;/a&gt;.&lt;br/&gt;<br>Commercial support is available at<br>&lt;a href=&quot;http://nginx.com/&quot;&gt;nginx.com&lt;/a&gt;.&lt;/p&gt;</pre><pre>&lt;p&gt;&lt;em&gt;Thank you for using nginx.&lt;/em&gt;&lt;/p&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><p>Congratulations, your architecture is up and running ;-)</p><p>In conclusion, we were able to demonstrate that we were able to interrogate a Nginx server without going through the internet.</p><h3>Video tutorial</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FPSjt2vjC36M%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DPSjt2vjC36M&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FPSjt2vjC36M%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1f79387697383f6586a5c356fde9fbc2/href">https://medium.com/media/1f79387697383f6586a5c356fde9fbc2/href</a></iframe><h3>GitHub Tutorial</h3><p><a href="https://github.com/SyntropyNet/syntropy-devops-integrations/tree/main/nginx-and-curl-client">syntropy-devops-integrations/nginx-and-curl-client at main · SyntropyNet/syntropy-devops-integrations (github.com)</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50736fb0d4e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SyntropyStack — UI — Monitoring solution with Grafana, Prometheus, Node_exporter and Nginx — Part 1]]></title>
            <link>https://laurent-coglitore.medium.com/syntropystack-monitoring-solution-with-grafana-prometheus-node-exporter-and-nginx-92980ec0435a?source=rss-f17426e4ef4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/92980ec0435a</guid>
            <category><![CDATA[syntropy-dev]]></category>
            <category><![CDATA[grafana]]></category>
            <category><![CDATA[prometheus]]></category>
            <category><![CDATA[syntropystack]]></category>
            <category><![CDATA[monitoring]]></category>
            <dc:creator><![CDATA[Laurent ✤]]></dc:creator>
            <pubDate>Tue, 05 Jan 2021 20:18:06 GMT</pubDate>
            <atom:updated>2021-01-22T20:05:49.874Z</atom:updated>
            <content:encoded><![CDATA[<h3>SyntropyStack — UI — Monitoring solution with Grafana, Prometheus, Node_exporter and Nginx — Part 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*M2zgPsk_SkgnOLMwIugq3Q.png" /></figure><p>In this tutorial, we will be creating a monitoring network with node_exporter, Prometheus, Grafana and Nginx (with Let’s Encrypt SSL certificates). To deploy our network, we will be using the Syntropy Stack.</p><p>Syntropy Stack allows us to quickly connect application services (Apache, nginx, Grafana, InfluxDB, MariaDB, etc.) with optimized and encrypted connections by default. It’s compatible with any device or service, running on a cloud, on-premise or edge locations.</p><p>If you are an inexperienced developer, the interface will make this easier, but keep in mind that you can also achieve the same using Syntropy Stack’s command-line tool or Ansible collections. You could also define the network in the YAML file. Edit appropriately for each tutorial</p><h3>Start Syntropy Agent with Docker</h3><pre>sudo docker run --network=&quot;host&quot; --restart=on-failure:10 --cap-add=NET_ADMIN --cap-add=SYS_MODULE \<br>-v /var/run/docker.sock:/var/run/docker.sock:ro \<br>--device /dev/net/tun:/dev/net/tun --name=syntropynet-agent \<br>-e SYNTROPY_API_KEY=CHANGE ME \<br>-e SYNTROPY_TAGS=CHANGE ME \<br>-e SYNTROPY_PROVIDER=CHANGE ME \<br>-e SYNTROPY_AGENT_NAME=CHANGE ME \<br>-e SYNTROPY_NETWORK_API=&#39;docker&#39; \<br>-d syntropynet/agent:stable</pre><p>The VM of different vendors register on the SyntropyStack interface thanks to the agent launched by Docker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kANkiOtiBh4RzXFD.png" /><figcaption>End-Points SyntropyStack</figcaption></figure><h3><strong>Certificat SSL LetsEncrypt</strong></h3><p>For my access to be secure, it was necessary to create a LetsEncrypt SSL certificate and pair it with a domain name. In this example, I use DuckDNS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-p5Gokja6cO8wle9.png" /><figcaption><a href="https://www.duckdns.org/">Duck DNS (www.duckdns.org)</a></figcaption></figure><h3>The creation of several sub-networks</h3><p>Launch services on each dedicated VM. Be careful by launching them on a different subnet</p><pre>sudo docker network create --subnet 172.20.0.0/24 syntropynet</pre><pre>sudo docker network create --subnet 172.21.0.0/24 syntropynet</pre><pre>sudo docker network create --subnet 172.22.0.0/24 syntropynet</pre><p>Here are some explanations for each service:</p><p>To distinguish VM and Services, it is necessary to mount them on different IP address plans. Ports were not to be exposed to the Internet, except for 443.</p><h3>Build 3x VM</h3><h4>First VM</h4><p>Three Docker images will be required. We mount a Proxy Revers by exposing port 443 to be coupled with a LetsEncrypt SSL certificate + a domain name. All that will depend on the Grafana image.</p><pre>sudo docker run --detach --net=syntropynet \<br>--name nginx-proxy \<br>--publish 80:80 \<br>--publish 443:443 \<br>--volume /etc/nginx/certs \<br>--volume /etc/nginx/vhost.d \<br>--volume /usr/share/nginx/html \<br>--volume /var/run/docker.sock:/tmp/docker.sock:ro \<br>jwilder/nginx-proxy</pre><pre>sudo docker run --detach --net=syntropynet \<br>--name nginx-proxy-letsencrypt \<br>--volumes-from nginx-proxy \<br>--volume /var/run/docker.sock:/var/run/docker.sock:ro \<br>--volume /etc/acme.sh \<br>--env &quot;DEFAULT_EMAIL=mail@domain&quot; \<br>jrcs/letsencrypt-nginx-proxy-companion</pre><pre>sudo docker run --detach --net=syntropynet \<br>--name grafana \<br>--env &quot;VIRTUAL_HOST=DuckDNSDomain&quot; \<br>--env &quot;VIRTUAL_PORT=3000&quot; \<br>--env &quot;LETSENCRYPT_HOST=DuckDNSDomain&quot; \<br>--env &quot;LETSENCRYPT_EMAIL=mail@domain&quot; \<br>--env &quot;GF_SECURITY_ADMIN_USER=admin&quot; \<br>--env &quot;GF_SECURITY_ADMIN_PASSWORD=syntropy&quot; \<br>--env &quot;GF_USERS_ALLOW_SIGN_UP=false&quot; \<br>grafana/grafana</pre><ul><li><strong>Nginx</strong>: is a web server which can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. The software was created by Igor Sysoev and first publicly released in 2004.</li><li><strong>Grafana:</strong> free software licensed Apache 2.0 that allows data visualization. It allows dashboards and graphs to be made from multiple sources including time databases such as Graphite, InfluxDB and OpenTSDB</li></ul><h4>Second VM</h4><p>A fourth Docker image to launch promiseheus without exposing port 9090 to the internet.</p><pre>sudo docker run --net=syntropynet -d --name prometheus -v $PWD/prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus:latest</pre><ul><li><strong>Prometheus:</strong> free computer monitoring software and alert generator. It records real-time metrics in a time series database based on the input point content exposed using the HTTP protocol.</li></ul><h4>Third VM</h4><p>And finally a fifth image for Node-Exporter.</p><pre>sudo docker run --net=syntropynet -d --name node-exporter quay.io/prometheus/node-exporter</pre><ul><li><strong>Node_exporter: </strong>will expose all metrics from enabled collectors by default. This is the recommended way to collect metrics to avoid errors when comparing metrics of different families. For advanced use the<strong> </strong>node_exporter can be passed an optional list of collectors to filter metrics.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*O_TrLluEI0kiOnxv.png" /></figure><h3>Create your Network SyntropyStack</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/0*_T5379qV64vSFm5A.png" /></figure><p>Innovation is to be able to connect these VMs with one click. An encrypted Tunnel is then built. In order for services to communicate with each other, they must be linked together:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/0*QjTL70mptrELleMJ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OHNxc4pZvIIPW0Lr.png" /></figure><h3>Grafana</h3><p>Now that all services are communicating together, we have the option to get to the Grafana interface by typing the address of our domain name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/0*BkCxV41dIV70PIsb.png" /></figure><p>In order for Grafana to reassemble the metrics that Promotheus receives from Node_Exporter, it is necessary to identify the Docker DataSource IP of the Prometheus server. By installing a template, here is the result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MHg0fGPKwfD0c0V3.png" /></figure><p>In conclusion, this exercise allowed us to highlight that with different VM connected via an encrypted tunnel, it is possible to build an architecture as if you were in a local network safely;-)</p><h3>Video tutorial</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FA-j_X0O4xGs%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DA-j_X0O4xGs&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FA-j_X0O4xGs%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8e052b09f98d593a9c690c587ddb6da5/href">https://medium.com/media/8e052b09f98d593a9c690c587ddb6da5/href</a></iframe><h3>GitHub Tutorial</h3><p><a href="https://github.com/SyntropyNet/syntropy-devops-integrations/tree/main/grafana-prometheus-node_exporter-ui">syntropy-devops-integrations/grafana-prometheus-node_exporter-ui at main · SyntropyNet/syntropy-devops-integrations (github.com)</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92980ec0435a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>