Book Image

Infrastructure Monitoring with Amazon CloudWatch

By : Ewere Diagboya
Book Image

Infrastructure Monitoring with Amazon CloudWatch

By: Ewere Diagboya

Overview of this book

CloudWatch is Amazon’s monitoring and observability service, designed to help those in the IT industry who are interested in optimizing resource utilization, visualizing operational health, and eventually increasing infrastructure performance. This book helps IT administrators, DevOps engineers, network engineers, and solutions architects to make optimum use of this cloud service for effective infrastructure productivity. You’ll start with a brief introduction to monitoring and Amazon CloudWatch and its core functionalities. Next, you’ll get to grips with CloudWatch features and their usability. Once the book has helped you develop your foundational knowledge of CloudWatch, you’ll be able to build your practical skills in monitoring and alerting various Amazon Web Services, such as EC2, EBS, RDS, ECS, EKS, DynamoDB, AWS Lambda, and ELB, with the help of real-world use cases. As you progress, you'll also learn how to use CloudWatch to detect anomalous behavior, set alarms, visualize logs and metrics, define automated actions, and rapidly troubleshoot issues. Finally, the book will take you through monitoring AWS billing and costs. By the end of this book, you'll be capable of making decisions that enhance your infrastructure performance and maintain it at its peak.
Table of Contents (16 chapters)
Section 1: Introduction to Monitoring and Amazon CloudWatch
Section 2: AWS Services and Amazon CloudWatch

Introducing CloudWatch alarms

CloudWatch alarms are a managed alert and notification service used to send notifications when an anomaly is detected in an infrastructure setup. Alarms are configured in relation to specific metrics. What an alarm does is it checks changes in the metric it is attached to based on specific conditions that have been given to it. When those conditions have been met, the alarm is triggered. An alarm can be configured to consistently check and ensure that the CPU usage of an EC2 instance does not exceed 80%. If it does for any reason, the alarm will be triggered and will push those state changes to Amazon SNS.

CloudWatch alarms in conjunction with Amazon SNS make alarms and notifications much easier to manage by reducing the operational expression of managing different alert and notification systems for your monitoring infrastructure, thereby aggregating metrics, alarms, and notifications as a complete set of solutions for alerting when the state of a...