05 / 08

What is Amazon CloudWatch and how is it used with EC2?

CloudWatch and EC2 Integration

Amazon CloudWatch is a monitoring and observability service. It collects data in the form of logs, metrics, and events from EC2 instances and other AWS resources.

Usage with EC2
  1. 1

    Alarms: Triggers Auto Scaling actions when metrics cross defined thresholds.

  2. 2

    Dashboards: Visualizes instance health and performance metrics.

  3. 3

    Logs: Collects application and system logs using the CloudWatch Logs agent.

  4. 4

    Detailed Monitoring: Increases metric resolution from 5-minute intervals to 1-minute intervals.