Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Amazon Web Services Bootcamp

You're reading from   Amazon Web Services Bootcamp Develop a scalable, reliable, and highly available cloud environment with AWS

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788294454
Length 338 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Sunil Gulabani Sunil Gulabani
Author Profile Icon Sunil Gulabani
Sunil Gulabani
Arrow right icon
View More author details
Toc

Alarms


CloudWatch alarms provide monitoring for our AWS resources and applications. An alarm uses a metric to monitor; if the metric's value crosses the threshold value defined for a certain period of time, an alarm action is triggered, which can be either an EC2 action, an auto scaling action, or a SNS event. CloudWatch maintains the state of change for a certain period of time. For every state of change, an alarm action can be triggered, so that we can take action properly. The following are the alarm states:

  • OK: Metric value is within the limits of the threshold value
  • ALARM: Metric value crosses the threshold value
  • INSUFFICIENT_DATA: Metric value is not available or there is not enough data to identify the alarm state

Note

IMPORTANT: We can create up to 5,000 alarms per region per AWS account.

Let's see how to create alarms using the AWS Management Console, AWS CLI, AWS SDK – Java, and CloudFormation. For our example, we will create an alarm for the RDS instance's CPU utilization. If the RDS...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image