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
Infrastructure Monitoring with Amazon CloudWatch

You're reading from   Infrastructure Monitoring with Amazon CloudWatch Effectively optimize resource allocation, detect anomalies, and set automated actions on AWS

Arrow left icon
Product type Paperback
Published in Apr 2021
Publisher Packt
ISBN-13 9781800566057
Length 314 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Ewere Diagboya Ewere Diagboya
Author Profile Icon Ewere Diagboya
Ewere Diagboya
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Section 1: Introduction to Monitoring and Amazon CloudWatch
2. Chapter 1: Introduction to Monitoring FREE CHAPTER 3. Chapter 2: CloudWatch Events and Alarms 4. Chapter 3: CloudWatch Logs, Metrics, and Dashboards 5. Section 2: AWS Services and Amazon CloudWatch
6. Chapter 4: Monitoring AWS Compute Services 7. Chapter 5: Setting Up Container Insights on Amazon CloudWatch 8. Chapter 6: Performance Insights for Database Services 9. Chapter 7: Monitoring Serverless Applications 10. Chapter 8: Using CloudWatch for Maintaining Highly Available Big Data Services 11. Chapter 9: Monitoring Storage Services with Amazon CloudWatch 12. Chapter 10: Monitoring Network Services 13. Chapter 11: Best Practices and Conclusion 14. Assessments 15. Other Books You May Enjoy

Configuring a basic alarm

An alarm is usually configured based on a metric from any of the AWS services or from logs. This is the major aspect we will be covering in the rest of this chapter, how alarms can be configured on a service based on a specific metric.

For starters, we shall create a simple alarm that triggers when the AWS bill gets to a certain threshold that we are also going to configure. This can be very helpful in cutting down costs and ensuring that we do not spend more than a specific amount within a month. For this setup, we will be checking the estimated charges for a month and ensure that they are not greater than $15. If for any reason the estimated charge is greater than $15, we will get an email notification via SNS notifying us of the increase. Now, let's get to work and configure this alarm. The AWS account that was used in the previous practical guide is sufficient to carry out the next practical guide:

  1. The Receive Billing Alerts setting needs...
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