Book Image

Amazon Web Services Bootcamp

Book Image

Amazon Web Services Bootcamp

Overview of this book

AWS is at the forefront of Cloud Computing today. Businesses are adopting AWS Cloud because of its reliability, versatility, and flexible design. The main focus of this book is teaching you how to build and manage highly reliable and scalable applications and services on AWS. It will provide you with all the necessary skills to design, deploy, and manage your applications and services on the AWS cloud platform. We’ll start by exploring Amazon S3, EC2, and so on to get you well-versed with core Amazon services. Moving on, we’ll teach you how to design and deploy highly scalable and optimized workloads. You’ll also discover easy-to-follow, hands-on steps, tips, and recommendations throughout the book and get to know essential security and troubleshooting concepts. By the end of the book, you’ll be able to create a highly secure, fault tolerant, and scalable environment for your applications to run on.
Table of Contents (16 chapters)

Metrics


Metrics are a core component of CloudWatch. They are used to monitor AWS resources and our applications, and can be configured to react accordingly using CloudWatch alarms. Every AWS resource generates metrics at regular intervals, and we can also store custom metrics generated from our application. For example, our application is failing because of a database connection error and we generate metrics and store them on CloudWatch Metrics. For this database connection error metrics we created CloudWatch alarms when the number of errors crosses certain threshold, generate email notification to the group of people using SNS. So in this way we can use custom metrics as well as AWS resources metrics.   

Metrics generated in a specific region can be used in that region only. We can't delete the metrics and data points. CloudWatch deletes metrics automatically after 15 months if no new data points are added under the metrics. And as data points are added under the metrics, 15-month-old data...