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

Monitoring of EKS applications and services

We already mentioned earlier the different aspects of an EKS cluster. This time, we will be talking about how we activate and configure monitoring for the master node (also called the control plane), and then we will talk about how to collect logs for the pods that are deployed in the worker node. But first, let's talk about how to configure monitoring for the EKS control plane.

Monitoring the control plane

First, let's see how to enable monitoring on Amazon EKS. When an EKS cluster is set up, the monitoring features are usually not activated by default. We shall activate them on the EKS console when we have a control plane running. To do this, we go to the EKS console of the cluster that has been created.

To activate the different components of the control plane, we take the following steps:

  1. Log in to the AWS management console and navigate to Amazon EKS on the services menu.
  2. Click on the Clusters link on...