Setup server monitoring with Prometheus Node Exporter and Grafana on EC2

Set Kyar Wa Lar
6 min readJun 20, 2021

Originally posted — https://setkyar.com/setup-server-monitoring-with-prometheus-node-exporter-and-grafana-on-ec2/

Today, I gonna write about how to set up server monitoring with Prometheus node exporter. Just doing the setup process is quite easy and there are tons of tutorials out there on the internet. So I am going to write about why I plan to use it. How I try to explore, learn.

Why I need to use Prometheus and it concept

Normally, we are checking our server statues with like top or htop commands. Or check from dashboards of AWS EC2 or DigitalOcean base on what you use. Those are okay at the beginning, but when you got lots of servers it’s quite a problem. There is no easy way to check all the servers statues easily.

We use Laravel Forge to manage our EC2 instances (servers). Forge added metric monitoring. I haven’t tried it out yet. But, base on the blog post it’s not really what I am looking for. But, I remember learning Prometheus from one of Lynda course.

I am reading the docs and checking out tutorials and found out Prometheus is the one I am looking for. After that, I try to setup Prometheus on my newly created EC2 instance. Before we go to the installation stage, let me explain a bit of the Prometheus flow.

Prometheus is pulling the data from the applications or services which expose Prometheus readable format data. For…

--

--