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)
1
Section 1: Introduction to Monitoring and Amazon CloudWatch
5
Section 2: AWS Services and Amazon CloudWatch

Summary

We have spent time in this chapter talking a lot about logs and how to work with logs. We started by defining what a log is and the life cycle of the log, which goes from collection, to storage, to analytics. We also talked about the different ways that CloudWatch Logs groups and categorizes logs. There are log groups and log streams. We went on to do a practical demonstration of how to collect logs from an Amazon EC2 instance and send them over to CloudWatch Logs. After that, we moved on to define CloudWatch metrics and talked about how metrics are represented in metric namespaces and metric dimensions. We then explained that metrics are what make logs become more meaningful by drawing out specific insights from the logs that have been collected. Then, we went further to create a simple metric based on the logs that have been collected.

The last part of this chapter was focused on CloudWatch. We defined CloudWatch and the value of using CloudWatch, in that it helps to...