DevOps (Day-78): Monitoring with Grafana Cloud

DevOps (Day-78): Monitoring with Grafana Cloud

Table of Contents:

Pre-requisties

Setup Grafana Monitoring for EC2 instance.

Setup Grafana alert for AWS Billing

Pre-requisities:

1- Create an EC2 instance.

2- We can install docker and run an image to view the EC2 usage of CPU,Memory,network connections etc.

Setup Grafana Monitoring for EC2 instance.

1.Go to Google and search for “Grafana.com” Click on create a free account.

2 In the dashboard install the Linux Server connection to connect the EC2 instance to Grafana Cloud.

3 Set up the connection settings. Run the Grafana agent.

4 Choose the OS and architecture. Create an API token and run it in the EC2 instance.

Finally proceed to install integration as shown in the above screenshot.

5 You can test agent configuration if it is collecting the data.

6 Navigate to the dashboard in the Grafana cloud home Page and add Amazon EC2 to view the complete monitoring of the AWS instance.

7 We can organize the dashboard now to see all the real-time statuses in the server.

Setup Grafana Alert for AWS Billing

1 We will be using AWS CloudWatch, In this case to integrate it with Grafana Cloud to monitor the AWS Billing of the resources and set up the alert.

2 We can set up the billing alert in the AWS management console. Navigate to the AWS CloudWatch and select Metric.

3 Select the Billing and Total Estimated chrge to USD.

4 We can now see the filled details and can modify the field required Select the threshold for 1 USD.

5 Choose the SNS making sure it is created already or we can create freshly to attach the email id to trigger the mail if the Billing exceeds the threshold.

6 We can review and create the alarm. We can view the final board for the alert Created.

7 We can add the connection form cloudwatch to Grafana cloud.

8 Add the AWS resources to integrate with Grafana Cloud.

9 Navigate the Grafana cloud dashboard and add the Billing/usage to view the billing alert that we set up above.

10 We can now view the Billing dashboard on Grafana cloud.

11 We can set up the Alert rules by navigating to Alerts & IRM on the console. Click on the alert rules.

12 Select the Cloudwatch option and then create an alert.

13 Modify the alert rule to create the AWS Billing alert.

14 We can get the alert when the billing of AWS resources usage increases.

Thanks for reading the Article. Have a Nice Day !!

Happy Learning !!

SAMEER HASHIM : )


Ishmeet Singh

Frontend Developer?? || Growth expert ?? || Follow-> Devops related content?? || Helping Client's to Grow their Profile and Business?? || Feel Free to connect ??|| DM for Promotion ??

1 年

Fantastic work, Sameer Hashim! Monitoring with Grafana Cloud is such a crucial aspect of DevOps and your detailed article provides valuable insights. Keep up the great work!

Jandeep Singh Sethi

| HR & Marketing Leader | Founder | I help aspiring entrepreneurs build their brands | 394K+ | Helped 580+ brands on LinkedIn | Organic LinkedIn Growth | Author |920M+ content views | Lead Gen | Influencer Marketing

1 年

Thanks for sharing this notion

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

Sameer Hashim的更多文章

社区洞察

其他会员也浏览了