End to end steps to set up InfluxDB & Grafana using Docker-Compose

This post details steps to create a monitoring environment with InfluxDB & Grafana on the Linux machine using Docker-Compose.

Using docker-compose to bring up containers gives a standardized network with a single command which of course saves time. Further to that, we will also verify the complete environment by adding data to InfluxDB and further verifying it through Grafana.

So let's get started.

To visit more such posts follow hashtag - #RealTimeMonitoring #InfluxDB #Docker #Grafana


Step 01 - Connect to AWS Instance

Step 02 - Install Docker

Step 03 - Set up docker-compose


Step 1 - Pre-requisite check and server preparation

Step 2 - Identify Docker Images

Step 3 - Strategize & Create Network

Step 4 - Strategize & Create Volumes

Step 5 - Create docker-compose.yml

Step 7 - Run Containers with Docker-Compose

Step 8 - Add Sample Data to InfluxDB

Step 9 - Create Grafana dashboard to view sample data

Complete Series: Real-Time Monitoring Using InfluxDB & Grafana

  • Avail Linux system. Else follow -Connect to AWS Instance

  • Make sure below ports are enabled for incoming traffic. In AWS EC2 enable ports by adding 3000 and 8086 ports in inbound rules.