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

Analyzing Amazon CloudTrail with Amazon Athena

Our monitoring scope has been focused on a particular service, getting logs from the service and analyzing those logs, using the autogenerated metrics from Amazon CloudWatch or creating our own custom metrics. This monitoring is based on what is going on within the service itself. There are external activities that also go on outside the service. When an EC2 instance is created in the AWS console, that activity can be monitored to know who created the instance, when it was created, and other relevant information about the EC2 instance that has been created. The service that keeps this type of information and more about any service creation or update or deletion is called AWS CloudTrail. CloudTrail serves as the auditor to your AWS account(s). It captures a trail of every activity that goes on within the AWS console. Most of the information it collects is through API calls to the different AWS services.

Important note

API is the acronym...