Day 46: Set up CloudWatch alarms and SNS topic in AWS

Day 46: Set up CloudWatch alarms and SNS topic in AWS

Dearn Learners in today topic we will explain the Cloudwatch alarms and SNS topic in AWS

Amazon CloudWatch:-

Amazon CloudWatch is monitoring tool used in AWS for monitor all the environments which are configured. It is a Subpart of the Management and Governance it will work in the form of alarms need to be configured while working on it. Cloud Watch Monitor the following tools like EC2, Load Balancer, RDS, Billing, Instance type, Memory & Storage. Amazon Web Services(AWS) resources and the applications you run on AWS in real time. You can use CloudWatch to collect and track metrics, which are variables you can measure for your resources and applications.

No alt text provided for this image
Cloud Watch option under Management and Governamce options..

Amazon SNS:-

Amazon Simple Notification Service(SNS), is a notification service provided as part of Amazon Web Services since 2010. It provides a low cost infrastructure for mass delivery of messages,predominately to mobile users mainly used for notifications if our configuration are greater than or less than form.

No alt text provided for this image
Amazon Simple Notification Service(SNS),

Let us discuss with the help of task:-

Task:-

Create a CloudWatch alarm that monitors your billing and send an email to you when it reaches $2.

To enable the monitoring of estimated charges

1 Login your AWS account with user name & password.

2 In the right hand side on top click on your name (account name).

3 open the AWS Billing Console.

4 In the navigation pane,choose Billing Preference.

5 Choose Receive Billing Alerts.

6 Choose Save preferences button.

No alt text provided for this image
AWS Billing Console Diagram.
No alt text provided for this image
choose Billing Preference Diagram.

Creating a billing alarm:-

open the CloudWatch console.

In the navigation pane,choose Alarms,and the choose all the alarms.

Choose Create alarm.

No alt text provided for this image
Choose Create alarm Diagram.

Choose Select metric, then click next.

No alt text provided for this image
Choose Create alarm. Diagram.

In Browse,choose Billing highlight in blue colour and then choose Total Estimated charges.

If Billing option are not show change the Region select the N.Virginia.

For Reference you these link:-

https://tinyurl.com/yck83x36

No alt text provided for this image
Billing highlight in blue colour Diagram.

Select the box for the EstimatedCharges metric, and then choose Select metric.

No alt text provided for this image
EstimatedCharges metric, Diagram.

Next point Specify metric and conditions Metric:-

Given a Metric name

For Statistics, choose Maximum.

For Period, choose 6 hours. Click on Next

No alt text provided for this image
(Given a Metric name For Statistics) (choose Maximum )(For Period, choose 6 hours. Click on Next)

Next Step:- Conditions

For Threshold type,choose static

For Whenever Estimated charges is choose the Greater.

define a threshold value that triggers your alarm.here threshhold value i will given 2$.

Click on Next.

No alt text provided for this image

Specify metric and conditions

For Statistics choose Maximum

For Period, choose 6 hours.

No alt text provided for this image
For Statistics choose Maximum For Period, choose 6 hours.

For?Threshold type, choose?Static.

For?Whenever EstimatedCharges is, choose?Greater.

define a threshold value that triggers your alarm. here threshold value is2$.

No alt text provided for this image
For Threshold type, choose Static For Whenever EstimatedCharges is, choose Greater.

Under the Notification option specify an Amazon SNS topic to be notified when your alarm is in the ALARM state.

You can select an existing Amazon SNS topic or create a new Amazon SNS topic by selecting "Create new toipic"

No alt text provided for this image
he Notification option specify an Amazon SNS topic Diagram.

If you want your alarm to send multiple notifications for the same alarm state or for different alarm states, choose?Add notification.

No alt text provided for this image

Under?Name and description, enter a name for your alarm.

No alt text provided for this image
Under Name and description, enter a name Diagram.

Under?Preview and create, make sure that your configuration is correct, and then choose?Create alarm.

No alt text provided for this image
Under Preview and create, make sure that your configuration Diagram.
No alt text provided for this image

Billing alarm is created.

No alt text provided for this image
billing alarm is created.
No alt text provided for this image
billing alarm is created Diagram.

Delete your billing Alarm that you created now.

No alt text provided for this image
Delete your billing Alarm that you created now Diagram.

Thank you for Reading the article !!

Happy Learning!!

Next Topic:

Day 47: Test Knowledge on AWS



Rafat Jahan

software engineer

1 年

??Hey Guys!?? *I found???? a genuine what’s app group for AWS study* ??Come buddy?????together?? and *Pass the AWS certification* in the first attempt.?? ??????_*Welcome all AWS Expert and Beginner*_?????? ?*?Hurry Up…Group filling. Join before it's full ?* What’s app1: https://chat.whatsapp.com/DIw2qazUW1rDGHhal52gew Whats app2: https://chat.whatsapp.com/Gc7F9ZcixMi8XLVZPdW6Zb Whats app3: https://chat.whatsapp.com/Jjq0udQKh104dq0I2hTJwy Whats app4: https://chat.whatsapp.com/C3xkDssiUILEUmewUTB4P2 Telegram: https://t.me/AQ6ZKzDVA2I1MjQ1

回复

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

Maninder Singh的更多文章

  • Artificial Intelligence for DevOps Engineer

    Artificial Intelligence for DevOps Engineer

    Dear learners, In today article we will explain the Artificial Intelligence for the DevOps Engineers. Important Aspects…

    12 条评论
  • Bash Shell Scripting:- Lesson 7,8 &9 for DevOps Engineers.

    Bash Shell Scripting:- Lesson 7,8 &9 for DevOps Engineers.

    Dear Learners, In Today Topic, We will learn the Shell Scripting form Basics to Advanced for DevOps Engineers. Course…

    3 条评论
  • Bash Shell Scripting:- Lesson 4,5 &6 for DevOps Engineers.

    Bash Shell Scripting:- Lesson 4,5 &6 for DevOps Engineers.

    Dear Learners, In Today Topic, We will learn the Shell Scripting form Basics to Advanced for DevOps Engineers. Course…

    3 条评论
  • Bash Shell Scripting:- Lesson 1,2 &3 for DevOps Engineers.

    Bash Shell Scripting:- Lesson 1,2 &3 for DevOps Engineers.

    Dear Learners, In Today Topic, We will learn the Shell Scripting form Basics to Advanced for DevOps Engineers. Course…

    3 条评论
  • EP 2 DevOps:- 2 Tier Application Deployment

    EP 2 DevOps:- 2 Tier Application Deployment

    2-Tier Application Deployment Diagram (Architecture) Dear Learners in today topic we will deploy a 2 Tier Application…

    8 条评论
  • DevOps Engineers:- Docker Cheat Sheet

    DevOps Engineers:- Docker Cheat Sheet

    Dear learner, presented below is a concise yet comprehensive Docker cheat sheet, complete with detailed commands and…

    7 条评论
  • DevOps (Day-90): Ending the challengs

    DevOps (Day-90): Ending the challengs

    Table of Contents: Flashback Self-Impact of Learning Today, We have completed the 90days of DevOps challenge where we…

    16 条评论
  • DevOps (Day-88): Kubernetes Architecture

    DevOps (Day-88): Kubernetes Architecture

    Dear Learner's in today topic we will discuss the Kubernetes Architecture in detail. Table of Contents Kubernetes…

    1 条评论
  • DevOps (Day-87): Argo CD

    DevOps (Day-87): Argo CD

    Dear Learners in today topic we will the discuss the Argo CD in Kubernetes. Table of Contents Challenges with CD into…

    13 条评论
  • DevOps (Day-86): Project-7 Portfolio App

    DevOps (Day-86): Project-7 Portfolio App

    Dear Learners in Today's article we will deploying a Portfolio app on AWS S3 Bucket using GitHub. Table of Contents:…

    10 条评论

社区洞察

其他会员也浏览了