DevOps Project - 8 (Monitoring)
We will cover this project in two parts.
The first part will contain the setup of Grafana in the local environment.
In the second part, we will see how we can monitor EC2, Containers, AWS cloud billing, etc.
Let's begin with the Garfana installation and setup.
1.?????Goto the AWS console, and create an EC2 instance named “grafana”.
2.?????Now, allow the inbound port 3000 from the “Security Group”.
3.?????Now, take the ssh console and login into the machine.
4.?????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”
5.?????Now, add it to the Grafana repository.
“sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"”
6.?????Once it has been added, we need to update the system.
“sudo apt update”
7.?????Now, we need to install the Grafana.
“sudo apt install grafana”
8.?????After installation, add Grafana to auto-start and start the Grafana daemon itself.
“sudo systemctl enable grafana-server”
“sudo systemctl start grafana-server”
9.?????The installation of the Grafana repo is finished and ready to use.
10.??Now, check the status. As
“sudo systemctl status grafana-server”
11.??Now, goto the browser and search with,
“<IP_of_EC2:3000>”
Bingo….
12.??Use,
Username: admin
Password: admin
13.??You will be entered in the Garfana dashboard.
Hope you found this helpful. Do connect/ follow for more such content.
~ Chetan Rakhra.
DevOps | SRE | Cyber Security | Project Manager | Scrum Master | Innovations and product ideas
1 年Very insightful and easy to understand for all level of engineers ??
CKA certified | REDHAT OPENSTACK Certified |GCP-Associate cloud engineer certified| Docker | kubernetes | AzureDevOps | AWS | Linux | ansible | cicd | jenkins | terraform | Grafana | GIT |GITHUB
1 年thanks for sharing
AWS Engineer
1 年I believe in humanity because of u people..doing great job bro...wish u more success in your life bro
DevOps/Cloud Engineer | Azure | Support Engineer | AWS | Ex-Atos
1 年Very useful