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


In this chapter, we deliberately created two practical operations to allow for the practical application of the concepts that have been spoken about. We introduced the idea of compute and the different AWS compute services and categories. We then went further and talked about the categories of monitoring – infrastructure monitoring and application monitoring.

Our focus in this chapter was more on infrastructure monitoring. We defined it and brought in the concept of IaaS, which is a model of cloud delivery. IaaS is focused more on virtual machines, which in AWS are called EC2 instances. We also talked about the key metrics in monitoring EC2 instances, such as the instance status check, CPU, memory, and disk metrics. After that, we looked at how CloudWatch monitors EC2 instances by default, and the loopholes that exist in default CloudWatch monitoring. We moved on and rectified this deficiency by using the new unified CloudWatch agent to collect more metrics, including...