How Amazon CloudWatch works
CloudWatch acts as a repository of metrics, by collating raw data from various AWS services or applications, converting it into metrics, statistics, graphs, and facilitates certain actions based on specific data points in metrics. The following figure shows the high-level architecture of CloudWatch:
Figure 7.1: High level architecture of CloudWatch
Reference URL: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_architecture.html
As shown in the preceding figure, various AWS services and your custom metrics data are stored in CloudWatch. CloudWatch generates various statistical and graphical visualizations out of these metrics which can be consumed directly from the AWS Management Console or by various other means including, but not limited to, AWS CLI, API, custom build applications, and so on. CloudWatch enables the user to set alarms that can trigger certain actions based on the metrics threshold or events. It can send email notifications...