Amazon CloudWatch
Collects metrics and logs, visualizes operational behavior, and evaluates alarms.
How it works
Amazon CloudWatch helps monitor AWS resources and applications using metrics, logs, and dashboards. Some AWS metrics are sent automatically; collecting logs and custom metrics can require configuration. You can configure alarms to evaluate metrics against thresholds and initiate actions such as an Amazon SNS notification or an Auto Scaling policy.
When to use it
Choose it when the requirement is observe metrics, logs, dashboards, or operational alarms.
Real-world example
An operations team configures a CloudWatch alarm to monitor average CPU utilization for an EC2 group. When CPU exceeds the threshold for the configured period, the alarm triggers a policy to add instances and sends an SNS notification to the team.
Key facts
- Alarms can initiate actions when metrics breach configured thresholds.
Common pitfall
Confusing CloudWatch with AWS CloudTrail can leave an investigation without the right data. CloudWatch focuses on operational monitoring; CloudTrail records activity events and API calls for auditing.
Often confused with
Compare its service boundary with AWS CloudTrail; choose from the workload requirement.
References
Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:
Understand it for real with 3D models and simulated labs
Connect the concept to a working architecture.