Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Amazon Web Services Bootcamp

You're reading from  Amazon Web Services Bootcamp

Product type Book
Published in Mar 2018
Publisher Packt
ISBN-13 9781788294454
Pages 338 pages
Edition 1st Edition
Languages
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 €14.99/month. Cancel anytime