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

Endpoint monitoring for API Gateway and other applications

We have been talking about metrics, logging, and being able to see what happens, and configuring alarms based on the logs and metrics generated from the logs. This method of monitoring is good but could take a while to configure and get up and running. There is another type of monitoring that gives an immediate response to the availability of your system. While logs and metrics give you internal information, endpoint monitoring gives you external feedback based on what users and customers are experiencing. It is very possible for your application to be running smoothly, with no logs and no bugs, yet your users and customers will not be able to use the application because they cannot access it.

Endpoint monitoring is the technique of sending pings intermittently to your application URL or endpoint to get feedback about whether it is up and running. This technique, on a basic level, rides on the HTTP protocol status codes...