M. Kodirov

STAGE 08 / LESSON 02

Monitoring with Amazon CloudWatch

CloudWatch can collect and display operational metrics and logs from AWS workloads.

THE IDEA

Understand it.

A useful dashboard starts with a service question: are requests succeeding, how long do they take, and are important dependencies healthy? Choose dimensions that let you investigate without creating unnecessary cost or noise.

CloudWatch alarms can evaluate metrics and trigger actions. Set thresholds from expected behavior and use appropriate periods and missing-data treatment rather than copying a random number into production.

SEE IT IN CONTEXT

A basic dashboard

API:     request count, error rate, latency
Compute: CPU and memory where available
Database: connections, storage, latency
Logs:    application errors with request IDs

The exact available metrics depend on the AWS service and its configuration. Add only what helps detect or diagnose a real problem.

LEARN FROM REAL WEBSITES

See it in the real world.

These simplified structures come from public sources. Company systems change, and the sources may describe only one project or an earlier design.

Airbnb

AWS customer story, date not stated

Monitor AWS resources

An AWS customer story reports Airbnb using Amazon CloudWatch alongside EC2.

  1. AWS resources
  2. CloudWatch
  3. Operational monitoring

What to learn: CloudWatch collects operational information about AWS workloads. The story's publication date is not stated.

Read the source: Airbnb AWS case study

Wix

AWS customer story, date not stated

Understand cloud operations

AWS describes Wix using Amazon CloudWatch to monitor workloads and support its operational needs.

  1. Wix workloads
  2. CloudWatch
  3. Operational insights

What to learn: Centralized monitoring helps teams understand changing workloads. This is an AWS customer story and does not establish every current Wix system.

Read the source: Wix CloudWatch case study

TRY IT YOURSELF

Practice.

Why can an error percentage be misleading when only one request arrived?

Show one possible answer

A single failure would look like 100% errors. Consider request volume and an appropriate evaluation window when designing the alert.

GO DEEPER

Official references.