Summary
In this chapter, we learned about the basics of CloudWatch metrics and logs. We learned about the default AWS vended metrics provided by AWS for EC2 instances and have explored on how to gather custom metrics by using CloudWatch agent. We have learned on how to install the CloudWatch agent manually on Windows EC2 instance to gather additional guest OS-level customer metrics and logs and how to automate the CloudWatch agent installation using AWS Systems Manager.
Further, we explored alarms and different types of alarming options available in AWS CloudWatch and how to create alarms for the metrics gathered, and also how to avoid alarm fatigue using composite alarms.
Further, we went ahead and visualized the data generated from CloudWatch using a custom dashboard and utilized widgets to display different types of data, such as AWS vended metrics, custom metrics, logs, and alarms on a single dashboard.
Furthermore, we discussed the importance of events and the requirements...