DevOps Project - 8 (Monitoring)

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”.

No alt text provided for this image


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”

No alt text provided for this image


5.?????Now, add it to the Grafana repository.

“sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"”

No alt text provided for this image


6.?????Once it has been added, we need to update the system.

“sudo apt update”

No alt text provided for this image


7.?????Now, we need to install the Grafana.

“sudo apt install grafana”

No alt text provided for this image


8.?????After installation, add Grafana to auto-start and start the Grafana daemon itself.

“sudo systemctl enable grafana-server”

No alt text provided for this image

“sudo systemctl start grafana-server”

No alt text provided for this image


9.?????The installation of the Grafana repo is finished and ready to use.

10.??Now, check the status. As

“sudo systemctl status grafana-server”

No alt text provided for this image


11.??Now, goto the browser and search with,

“<IP_of_EC2:3000>”

Bingo….

No alt text provided for this image


12.??Use,

Username: admin

Password: admin


13.??You will be entered in the Garfana dashboard.

No alt text provided for this image

Hope you found this helpful. Do connect/ follow for more such content.

~ Chetan Rakhra.

Gaurav Desai ↗ (Gary)

DevOps | SRE | Cyber Security | Project Manager | Scrum Master | Innovations and product ideas

1 年

Very insightful and easy to understand for all level of engineers ??

shubhlaxmi shukla

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

I believe in humanity because of u people..doing great job bro...wish u more success in your life bro

Amit Baviskar

DevOps/Cloud Engineer | Azure | Support Engineer | AWS | Ex-Atos

1 年

Very useful

要查看或添加评论,请登录

Chetan R的更多文章

  • Interview Question Series - 7 (Monitoring)

    Interview Question Series - 7 (Monitoring)

    Here are the top frequently asked interview questions for Monitoring: 1. What is monitoring in DevOps, and why is it…

    5 条评论
  • Interview Question Series - 6 (AWS)

    Interview Question Series - 6 (AWS)

    1. What is AWS and how is it different from traditional data centers? AWS is a cloud computing platform that offers a…

    3 条评论
  • DevOps Project - 15 (Step-by-step Implementation)

    DevOps Project - 15 (Step-by-step Implementation)

    DevOps Project - 14: Deploy DOTNET web app using Azure PAAS service, use Terraform to deploy infrastructure, and…

    4 条评论
  • Interview Question Series - 5 (CI/CD)

    Interview Question Series - 5 (CI/CD)

    Interview Question Series - 5 (CI/CD) 1. What is CI/CD? >> CI/CD stands for Continuous Integration/Continuous…

    20 条评论
  • DevOps Project - 14 (Step-by-step Implementation)

    DevOps Project - 14 (Step-by-step Implementation)

    DevOps Project - 14: 3 Tier Application Deployment using Kubernetes EKS Cluster. 1.

    36 条评论
  • DevOps Project - 13 (Step-by-step Implementation)

    DevOps Project - 13 (Step-by-step Implementation)

    The very first step is to Install Terraform in your machine, by visiting the official site of Terraform. Here you need…

    14 条评论
  • Interview Question Series - 4 (GIT)

    Interview Question Series - 4 (GIT)

    1. What is Git, and how does it differ from other version control systems? Answer: Git is a distributed version control…

    13 条评论
  • Interview Question Series - 3 (Kubernetes)

    Interview Question Series - 3 (Kubernetes)

    1. What is Kubernetes, and why is it important for container orchestration? Answer: Kubernetes is an open-source…

    10 条评论
  • Interview Question Series - 2 (Docker)

    Interview Question Series - 2 (Docker)

    1. What is Docker? Docker is an open-source platform that allows you to automate the deployment, scaling, and…

    17 条评论
  • DevOps Project - 12 (Step-by-step Implementation)

    DevOps Project - 12 (Step-by-step Implementation)

    Project 10: Build a website using AWS CodeCommit and AWS CodeBuild. Here is the Architecture: 1.

    24 条评论

社区洞察

其他会员也浏览了