Day 73- 90DaysOfDevOps

Grafana Installation

·

2 min read

Day 73- 90DaysOfDevOps

Hey Learners! Welcome back. We understood the basic concept of Grafana. In this challenge, we'll learn how to set up Grafana on AWS EC2 instances. Let's start...

Task 1- Set up Grafana in your local environment on AWS EC2

Prerequisites:-

  • AWS EC2 instance with SSH access

Steps:-

  1. Log in to the AWS console

  2. SSH in to EC2 instance

  3. Download the GPG keys and add them to the trusted keys list. use wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add command.

  4. Update the system and Add the Grafana Repository using the sudo apt-add-repository "deb https://packages.grafana.com/oss/deb stable main" command.

  5. Update the system using the sudo apt update command and install Grafana using the sudo apt install grafana command.

  6. Allow port number 3000 in the EC2 instance's security group.

  7. Now first restart the service using the sudo /bin/systemctl start grafana-server command. Check the status of the same service.

  8. Go to the browser and hit the public IP of the EC2 Instance with port 3000

  9. Use admin as username and admin as password as well to log in

Great! We successfully installed Grafana on the EC2 instance.

Thank you so much for taking the time to read till the end! Hope you found this blog informative.

Feel free to explore more of my content, and don't hesitate to reach out if need any assistance from me or in case of you have any questions.

Find me on:- Hashnode LinkedIn Github

Happy Learning!