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

From the beginning of this chapter, our aim has been to be able to use Amazon CloudWatch Container Insights to perform monitoring and logging. We first started by talking about the different container orchestration services provided by AWS, which are Amazon ECS and Amazon EKS. We then went further to explore some of the features of ECS and the different launch types that exist within Amazon ECS, which are the EC2 instance launch type and Fargate. We looked at how the monitoring of containers/applications works in ECS. It involves activating the awslogs driver during the process of adding a container on ECS. This will make the log driver automatically pull logs from the container and send it over to CloudWatch Logs and CloudWatch Container Insights, which gives logs and metrics for both container applications and the components running the containers.

We then moved on to Amazon EKS, which is another container orchestration service in AWS. We explained what EKS means and...