CloudWatch acts as a repository of metrics by collating raw data from various AWS services or applications and converting it into metrics, statistics, and graphs, and facilitates certain actions based on specific data points in metrics. The following diagram shows the high-level architecture of CloudWatch:
As shown in the preceding diagram, 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, and custom-built applications. CloudWatch enables the user to set alarms that can trigger certain actions based on the metrics threshold or events. It can send email...