Task:
Setup Grafana in your local environment on AWS EC2.
- Navigate to the AWS console, and create an EC2 instance named “grafana”
SSH console and login into the machine.
Download the GPG keys and add them to the trusted keys list.
“wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add”
Add it to the Grafana repository.
We need to update the system. “
sudo apt update
”
we need to install the Grafana.
“sudo apt install grafana”
After installation, add Grafana to auto-start and start the Grafana daemon itself.
“sudo systemctl enable grafana-server”
“sudo systemctl start grafana-server”
Installation of the Grafana repo is finished and ready to use. Now, check the status. As
“
sudo systemctl status grafana-server
”
Now, go to the browser and search with,
“<IP_of_EC2:3000>”
By default, username and password are set to admin admin
Let's explore Grafana more in the next blog.
Happy Learning!