Servisphere
Amazon CloudWatch icon (AWS Architecture Icons)

Amazon CloudWatch

Metrics & alarms

Collects metrics and logs, builds dashboards and creates alarms; alarms can send notifications or trigger actions (scaling).

  • Cost$$ Medium
  • Difficulty●●●●●
  • Costs money when idle?Yes
  • Managed by AWS
  • In examsCLF · SAA · DVA · SOA

Scope: Regional

Open CloudWatch on the map →
Think of it asLike a car's dashboard with warning lights.

Where does CloudWatch fit?

See the full map →

A real example, step by step

  1. Your app sometimes slows down badly and nobody notices until customers complain.
  2. CloudWatch already collects EC2 CPU, network and ALB latency; you install the CloudWatch agent to get memory and disk metrics too.
  3. You set an alarm: CPU above 80% for 5 minutes sends a message to an SNS topic, and the on-call team gets an SMS.
  4. Another alarm triggers Auto Scaling to add instances under heavy load.
  5. You build a dashboard so the whole team can watch the system's health in real time.

When to use it

✓ Use it when

Always: monitoring the health of every service.

✗ Avoid it when

You need to know WHO called which API → CloudTrail.

Common uses

  • Monitor CPU, latency, errors of every service
  • Alarms that page on-call staff via SNS
  • Trigger Auto Scaling
  • Operations dashboards

CloudWatch, CloudTrail or CloudWatch Logs?

CloudWatchCloudTrailCloudWatch Logs
AnswersHow is the system running?Who did what, and when?What did the app write out?
DataMetrics, alarms, dashboardsHistory of API callsLog lines
Used forMonitoring, alerting, auto scalingAuditing, security investigationsDebugging, searching logs
By defaultBasic 5-minute metrics, free90 days of management history, freeKept forever unless you set retention

What does it cost?

Example50 custom metrics + 20 alarms ≈ $15 + $2 = $17/month.
  • Pricing model: Basic metrics are free; custom metrics ~$0.30/metric/month; alarms ~$0.10/month; dashboards ~$3/month; API calls to fetch data billed by volume.
  • Free tier: Always Free: 10 custom metrics, 10 alarms, 3 dashboards, 1 million API requests per month.
⚠️ Cost traps

Custom metrics with many dimensions (each combination counts as a metric); enabling 1-minute detailed monitoring on every EC2; third-party tools calling GetMetricData constantly.

Reference prices for us-east-1, updated October 14, 2026; they may have changed. Always check the AWS pricing page. Official AWS pricing page ↗

💡 Exam tip

EC2 memory and free disk space aren't available by default → install the CloudWatch agent. Need one-minute metrics → enable detailed monitoring. SMS/email when a threshold is crossed → an alarm that publishes to SNS. “Who deleted a resource” is CloudTrail's job, not CloudWatch's.

Try real exam questions

AWS certification exams are in English, so the questions are shown as they appear on the exam.

1What is the time period with which metric data is sent to CloudWatch when detailed monitoring is enabled on an Amazon EC2 instance?

  1. A15 minutes.
  2. B5 minutes.
  3. C1 minute.
  4. D45 seconds.
Show answer

Correct answer: C

With detailed monitoring, EC2 sends metrics to CloudWatch every 1 minute; the default (basic monitoring) is every 5 minutes.

2A user is running a webserver on EC2. The user wants to receive the SMS when the EC2 instance utilization is above the threshold limit. Which AWS services should the user configure in this case?

  1. AAWS CloudWatch + AWS SQS.
  2. BAWS CloudWatch + AWS SNS.
  3. CAWS CloudWatch + AWS SES.
  4. DAWS EC2 + AWS Cloudwatch.
Show answer

Correct answer: B

A CloudWatch alarm watches the EC2 CPU and publishes to an SNS topic with an SMS subscription. SQS is a queue and can't send SMS; SES is an email service.

Practice 700+ more questions on Servisphere →

Frequently asked questions

Why doesn't CloudWatch show EC2 memory usage?

By default CloudWatch only sees what can be measured from outside the instance, such as CPU, network and disk I/O. Memory and free disk space live inside the operating system, so you must install the CloudWatch agent to send them as custom metrics.

How is CloudWatch priced?

Basic metrics from AWS services are free. You pay for custom metrics, detailed one-minute metrics, alarms, dashboards, API calls, and logs (by data ingested and stored).

What do AWS exams ask about CloudWatch?

Alarms that trigger Auto Scaling or send notifications through SNS, custom metrics via the agent, one-minute detailed monitoring, alarms that recover EC2 instances, and telling it apart from CloudTrail and AWS Config.

Related services

Open CloudWatch on the map →