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

Case study on monitoring an RDS database

Johnson, who is the solutions architect of ABC enterprise, has finished a meeting with the engineering manager. That day was Black Friday, and many of the users coming to the website are going there for the first time, so there are going to be a lot of login operations connecting to the RDS database. They are observing a lot of funny things happening in production, including huge memory consumption in the RDS database. You have been able to confirm that there are lots of database connections, but you are not sure why, although the memory consumption from the dashboard also shows that there is a huge use of memory. How can you figure out, from the SQL queries alone, the most used queries and recommend a re-architecture of the application to help improve the reliability of the system?


To figure out what is wrong, we need to pull up the Performance Insights page of the database. With that, we can view the top SQL queries that are...