Grafana On AWS Instance …

Naman Sharma
3 min readAug 22, 2023

What is Grafana ?

Grafana is a multi-platform open source analytics and interactive visualization web application. It provides charts, graphs, and alerts for the web when connected to supported data sources. It can be easily installed using Docker or Docker Compose.Grafana allows for seamless visualization and movement of data between teams and team members so that they can get to the root of a problem quickly and solve it. Insights from Grafana dashboards can be shared: Across a company — even to coworkers who aren’t Grafana users themselves.

Steps to launch Grafana in EC2 instance :

Step 1 : Login to AWS console and Launch an instance.

Select Red Hat AMI .
Select key pair .
Network setting.
Connect to instance .

Step 2 : Download the GPG keys and add them to the trusted keys list after installing Grafana according to its installation instructions , add it to the Grafana repository.

wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add
sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"

Step 3 : Install the Grafana .

sudo apt update
sudo apt install grafana

Step 4 : Start the Grafana service .

sudo systemctl start grafana-server
systemctl enable grafana-server
systemtctl status grafana-server

Step 5 : Access the Grafana web interface by going to your EC2 instance’s IP address or domain name in your web browser and then selecting the standard Grafana port (3000).

Edit inbound rules .
netstat -tnlp.
http://ip:3000/login

Thankyou for reading .

--

--

Naman Sharma

Hi there! I'm excited to be sharing my ideas with you on this platform. I'm a curious and creative individual with a passion for exploring new topics.