Search⌘ K
AI Features

CloudWatch for EC2

Explore how to monitor AWS EC2 instances using CloudWatch. Understand the difference between basic and detailed monitoring, default and custom metrics, and how to configure the CloudWatch unified agent to collect additional logs and metrics.

CloudWatch

CloudWatch is a monitoring service that connects with almost all the services on the AWS platform. It’s a very important topic for the SOA-CO2 exam. AWS pushes some default monitoring metrics from EC2 instances onto CloudWatch.

EC2 monitoring types

EC2s support two types of CloudWatch monitoring.

  • Basic monitoring: Free monitoring from AWS where metrics are collected at five-minute intervals.
  • Detailed monitoring: Paid monitoring where metrics are collected at one-minute intervals.

Note: Both monitoring types gather exactly the same metrics from the EC2 instances and differ only in the metric collection frequency.

Default and custom metrics

EC2 instances push CPU, network, disk (for instances with store volumes), and status check metrics by default to CloudWatch. ...