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 have seen monitoring from a whole new perspective. We worked on the methods used to monitor a Lambda function, starting with the Lambda infrastructure metrics and graphs, and then receiving the application logs from the Lambda function in CloudWatch log groups.

We introduced the concept of observability and how tracing plays a role in making observability a reality. Then, we moved on to endpoint monitoring, where we configured a simple canary that we used to monitor the Packt Publishing website. Then, we saw how to monitor the SQS and SNS services to know when things are not working correctly in those services. We rounded things off with the last option in the workflow, which is on monitoring step functions. We want to be able to know when a function/step fails and easily fix it and test again. All this information is available in both the Step Functions console and the CloudWatch console for step functions.

In the next chapter, we shall be looking...