AWS Cloud & DevOps Tutorial 0/70 lessons ~6 min read Lesson 36

    Amazon CloudWatch Metrics, Logs and Alarms

    Module 3 taught TechLearningPro to ship constrained infrastructure. Module 4 asks a harder question: **how do you know the Monday board and progress APIs are healthy while learners

    Course progress0%
    Focus
    15 guided sections
    Practice signal
    Examples included
    Career prep
    Interview Q&A included

    Amazon CloudWatch Metrics, Logs and Alarms

    AWS Cloud & DevOps Engineering · Lesson 36 · Observability, Security and Reliability

    Lesson Overview

    Module 3 taught TechLearningPro to ship constrained infrastructure. Module 4 asks a harder question: how do you know the Monday board and progress APIs are healthy while learners are mid-quiz? Amazon CloudWatch is the default AWS observability plane for metrics, logs, alarms, dashboards, and related operational signals. This lesson builds a production-shaped mental model: namespaces and dimensions, log groups and retention, metric filters, composite alarms, and dashboards that operators actually use during incidents—not wallpaper charts.

    You will design observability for a latency-sensitive progress API (record quiz completion, sync Monday board SLOs) sitting behind API Gateway or an ALB, with compute on Lambda or ECS. AWS Well-Architected Framework and Cost Basics framed operational excellence; Deployment Strategies: Blue-Green, Canary and Rolling already assumed alarms as traffic gates. Here you implement those gates with CloudWatch primitives.

    Budget: log ingestion, custom metrics, and dashboard widgets have cost dimensions—verify current pricing pages before leaving verbose DEBUG logs in prod. Tag Project=tlp-lesson36. Prefer short retention in sandbox. Clean up custom metrics noise, unused alarms, and lab log groups when finished.

    Learning Objectives

    1. Explain CloudWatch metrics, namespaces, dimensions, and statistic semantics (Average, p99, Sum, SampleCount).
    2. Design log groups, streams, retention, and structured logging for TechLearningPro APIs.
    3. Create metric filters that turn error patterns into countable metrics.
    4. Build alarms with thresholds, evaluation periods, datapoints-to-alarm, and missing-data treatment.
    5. Compose dashboards for progress API latency, errors, and dependency health.
    6. Distinguish high-cardinality anti-patterns from useful dimensions (Environment, Service, Route family).
    7. Wire SNS (or similar documented notification targets) for actionable paging—not chat spam.
    8. Use alarms as canary/blue-green gates without inventing undocumented deployment APIs.
    9. Apply log retention and encryption practices aligned with earlier secrets lessons.
    10. Budget ingestion and custom metric cardinality; choose retention deliberately.
    11. Troubleshoot silent alarms, noisy alarms, and “green dashboard / red users” mismatches.
    12. Connect CloudWatch signals to upcoming CloudTrail, X-Ray, and SRE/SLO lessons.
    13. Document runbook links on alarms so on-call knows the first three checks.
    14. Avoid logging secrets, tokens, or full PII in free-text fields.
    15. Deliver a repeatable lab: dashboard + alarms for a latency-sensitive API with cleanup evidence.

    Prerequisites

    Detailed Core Concepts

    Metrics as the shared language of operations

    A metric is a time-ordered set of data points. AWS services publish standard metrics into namespaces such as AWS/Lambda, AWS/ApiGateway, AWS/ApplicationELB, and AWS/ECS. Applications can publish custom metrics into a namespace you choose (for example TechLearningPro/Progress). Every metric has a name, a namespace, and zero or more dimensions (name/value pairs that slice the series).

    Statistics matter. Average latency can hide a painful p99. Sum of errors over a window is often clearer than Average of a 0/1 gauge. SampleCount tells you whether the window even had traffic—critical for Monday morning quiet periods versus exam-week spikes. Prefer latency percentiles (when available for the metric) for user-facing SLOs you will formalize in lesson 40.

    Dimensions and cardinality

    Useful dimensions for TechLearningPro: Environment=prod|staging, Service=progress-api, maybe a coarse RouteGroup=quiz|board|admin. Dangerous dimensions: raw userId, full URL with query strings, or every unique lesson ID as a dimension. High cardinality explodes cost and makes dashboards unusable. Aggregate in logs; metricize carefully.

    Logs: groups, streams, retention, structure

    Log groups hold related streams (often one stream per instance, task, or Lambda execution environment). Set retention explicitly—never assume “forever” is free or compliant. Prefer structured JSON logs with fields like requestId, route, latencyMs, outcome, errorCode. Then metric filters and Logs Insights queries become reliable. Avoid stuffing access tokens, password reset links, or full quiz answers into log messages.

    Encryption at rest for log groups uses AWS-managed or customer managed KMS keys depending on your account standards; lesson 41 deepens KMS. For this lesson: know that sensitive education data in logs inherits encryption and access-control obligations.

    Metric filters

    A metric filter scans inbound log events for a pattern and increments a metric. Classic use: count ERROR or outcome=fail lines for the progress API when the platform metric does not expose your business failure mode. Keep patterns simple and tested against sample lines. Filters are not a replacement for proper application metrics when you control the code—emit intentional metrics for SLIs.

    Alarms

    An alarm watches a single metric (or a metric math expression / anomaly detection configuration where documented) and transitions among OK, ALARM, and INSUFFICIENT_DATA. Design choices:

    • Threshold vs anomaly (understand trade-offs; verify current features you enable).
    • Evaluation periods and datapoints-to-alarm (reduce flapping).
    • Treat missing data as notBreaching, breaching, ignore, or missing—choose based on whether silence means healthy idle or broken publisher.
    • Alarm actions: notify SNS topics that fan out to email, ChatOps, or incident tools your org already uses.

    Composite alarms combine multiple alarms with boolean logic so you page on “API 5xx high AND dependency DynamoDB throttles” rather than two independent pages. Use them to reduce noise once you understand child alarm semantics.

    Dashboards

    Dashboards are operator UX. One TechLearningPro progress API board should answer in under ten seconds: are users failing? is latency elevated? which dependency is sick? Prefer a few dense rows over thirty vanity widgets. Link the dashboard URL from the runbook and from alarm descriptions.

    Embedded metrics and agents (conceptual)

    Applications can emit metrics using documented Embedded Metric Format in logs, CloudWatch agent on hosts, or SDK PutMetricData-style publishing—verify the pattern you choose against current AWS docs. Do not invent proprietary agent flags. For Lambda, platform metrics already cover duration, errors, throttles, concurrent executions; add custom business metrics sparingly.

    Cost drivers (conceptual, verify pricing)

    Ingestion volume for logs, storage retention, number of custom metrics and cardinality, dashboard and alarm counts, and Logs Insights query scan volume all matter. Sandbox rule: short retention, low verbosity, delete lab groups. Production rule: budget alarms on CloudWatch spend itself when your org practices FinOps (lesson 47).

    Architecture and Design Diagrams

    mermaid
    flowchart TB
    Learner[Learner client]
    Edge[API Gateway or ALB]
    App[Progress API Lambda or ECS]
    Dep[(DynamoDB / Aurora)]
    CWMetrics[CloudWatch Metrics]
    CWLogs[CloudWatch Logs]
    Alarm[CloudWatch Alarms]
    Dash[Dashboard]
    SNS[SNS notify]
    OnCall[On-call / ChatOps]
    Learner --> Edge --> App --> Dep
    Edge --> CWMetrics
    App --> CWMetrics
    App --> CWLogs
    CWLogs -->|metric filter| CWMetrics
    CWMetrics --> Alarm --> SNS --> OnCall
    CWMetrics --> Dash
    CWLogs --> Dash

    Signal flow for a Monday board SLO narrative:

    mermaid
    sequenceDiagram
    participant L as Learner
    participant API as Progress API
    participant CW as CloudWatch
    participant A as Alarm
    participant O as On-call
    L->>API: POST /progress
    API->>CW: latency + error metrics / logs
    CW->>A: evaluate threshold
    A-->>O: ALARM if burn
    O->>CW: open dashboard + Insights

    Technical Explanation

    Standard metrics to watch for TechLearningPro APIs

    For API Gateway (HTTP or REST APIs as documented for your API type): count of 4XX/5XX, latency, integration latency. For ALB: HTTPCode_Target_5XX_Count, TargetResponseTime, HealthyHostCount. For Lambda: Errors, Throttles, Duration, ConcurrentExecutions. For ECS/ALB stacks: combine service CPU/memory with target-group health. For DynamoDB dependencies: UserErrors, SystemErrors, ThrottledRequests—as published for the resource.

    Map these to questions: “Are learners failing to save progress?” often equals elevated 5xx + application progress_save_fail custom metric, not CPU alone.

    Metric math (conceptual)

    CloudWatch supports metric math expressions (for example error rate = errors / invocations) when configured per current documentation. Error rate is usually a better SLI input than raw error count during traffic swings. Document the expression in the alarm description so future you knows the formula.

    Alarm hygiene

    Name alarms with service, symptom, and environment: prod-progress-api-p99-latency beats alarm1. Put the dashboard link and runbook path in the description. Prefer paging on symptoms users feel (availability, latency) and use dependency alarms as diagnostic context—lesson 40 will formalize this with SLOs and error budgets.

    Logs Insights mindset

    You will query fields for requestId correlation, top error messages, and latency histograms. Design log lines so queries are cheap and precise. Do not treat Insights as a substitute for metrics on the hot path of alerting—alerts should primarily use metrics; logs explain why.

    Security and privacy

    Restrict who can create metric filters that might surface sensitive patterns. Encrypt log groups per org standard. Redact authorization headers at the logging library layer. Treat CloudWatch Logs as a regulated data store when education PII can appear.

    Performance of the observability path

    Publishing millions of unique custom metric streams can hurt both cost and console usability. Batch and aggregate. For high-QPS progress writes during exam week, sample verbose debug logs; keep error logs complete.

    Practical Implementation or Design Walkthrough

    Problem

    Create dashboards and alarms for a latency-sensitive TechLearningPro progress API so on-call detects elevated latency and error rate before the Monday board SLO burns out for the week.

    Steps

    1. Confirm budget alert; choose one region; tag Project=tlp-lesson36, Owner=<you>.
    2. Identify the runtime (Lambda + API Gateway or ECS + ALB). Note the exact standard metric names from current docs for that stack—do not guess unpublished metric names.
    3. Emit or identify at least one application log stream path; set retention (for example 7 days in sandbox).
    4. Optionally add a metric filter for a known error token in structured logs; verify with a deliberate fail request.
    5. Create alarms: high 5xx/error rate; high p99 or TargetResponseTime/Duration as applicable; optional dependency throttle alarm.
    6. Create a dashboard with traffic, errors, latency, and top dependency widgets; screenshot for evidence.
    7. Trigger a controlled failure (bad deploy in staging, fault injection, or forced 500) and prove ALARM → notification.
    8. Document missing-data choices and why.
    9. Write a short ADR: metrics vs logs for SLIs; alarm thresholds; retention.
    10. Cleanup: delete lab alarms if ephemeral, empty/delete lab log groups per policy, remove unused SNS subscriptions you created only for the lab.

    Acceptance evidence

    Dashboard URL or screenshot, alarm history showing OK→ALARM→OK, notification proof, retention setting screenshot, cleanup confirmation, ADR.

    Enterprise Real-World Scenarios

    Green CPU, red learners

    CPU looked fine; DynamoDB throttled progress writes. Fix: dashboard includes dependency throttles; alarm on user-facing error rate plus throttle metric.

    Infinite log retention

    Petabyte bill and compliance panic. Fix: explicit retention; lifecycle for exports if long-term audit needs exist elsewhere.

    Alarm per pod per second

    Thousands of noisy alarms. Fix: aggregate; symptom-based paging; composite alarms.

    Logging authorization headers

    Tokens in logs. Fix: library redaction; security review of log schemas.

    Dashboard as art project

    Forty widgets, no narrative. Fix: three-row “user pain / app / dependency” layout.

    Missing data treated wrong

    Idle night pages as ALARM. Fix: notBreaching for sparse traffic APIs when appropriate; or use rate metrics with minimum SampleCount via metric math where documented.

    Best Practices

    1. Alert on user symptoms first; use causes as context.
    2. Prefer error rates and latency percentiles over vanity averages when available.
    3. Bound cardinality of custom metrics.
    4. Structured JSON logs with correlation IDs.
    5. Explicit retention and encryption.
    6. Runbook links on every paging alarm.
    7. Composite alarms to reduce duplicate pages.
    8. Tag observability resources like any other infra.
    9. Budget for log volume before enabling DEBUG in prod.
    10. Test alarms with controlled failure—unteted alarms are fiction.
    11. Keep dashboards few and purposeful.
    12. Separate staging and prod alarm actions.
    13. Document metric math in alarm descriptions.
    14. Correlate with deploys (next: traces in lessons 38–39).
    15. Clean up lab noise so prod signals stay trusted.

    Common Mistakes and Anti-Patterns

    1. Only CPU/memory alarms for APIs.
    2. Alerting on every 4xx (clients make mistakes).
    3. Unlimited log retention by default.
    4. High-cardinality dimensions (user IDs).
    5. Secrets in logs.
    6. Thresholds copied from another service without traffic baseline.
    7. No owner on alarms.
    8. Dashboards never opened in a game day.
    9. Treating INSUFFICIENT_DATA as success without thought.
    10. Inventing metric names that AWS does not publish for the resource.

    Troubleshooting and Design Review

    SymptomCauseAction
    Alarm never firesWrong metric/dimension; threshold too high; missing permissions for actionsValidate metric explorer; lower threshold in staging; check SNS policy
    Alarm flappingPeriod too short; no datapoints-to-alarmLengthen evaluation; require M of N datapoints
    Empty dashboardWrong region/account; dimension mismatchConfirm console context; fix widgets
    Huge Logs billVerbose debug; long retention; chatty health checksReduce verbosity; shorten retention; sample
    “Users down” but OK alarmsAlerting on wrong symptomAdd user-facing error/latency alarms
    Metric filter zeroPattern mismatch vs JSONTest filter against sample events

    Interview Questions and Answers

    Q1: What is a CloudWatch metric? A: Time-series data in a namespace with optional dimensions and statistics.
    Q2: Why dimensions matter? A: They slice series; misuse causes cardinality cost and noise.
    Q3: Metric filter vs custom metric? A: Filter derives metrics from logs; custom metrics are explicitly published—prefer intentional SLI metrics when you own the code.
    Q4: When is Average latency misleading? A: Tail latency pain can hide in a calm average; use percentiles when available.
    Q5: What is INSUFFICIENT_DATA? A: Not enough datapoints for evaluation; treatment is a design choice.
    Q6: Composite alarm purpose? A: Combine conditions to page on meaningful multi-signal failure.
    Q7: Log retention why? A: Cost and compliance; defaults may not match policy.
    Q8: What belongs on an API dashboard? A: Traffic, errors, latency, key dependencies—fast narrative.
    Q9: How do alarms support canaries? A: Failed health gates halt traffic shift (lesson 34).
    Q10: Cardinality anti-pattern? A: Per-user or per-URL unique dimensions.
    Q11: Logs vs metrics for alerting? A: Prefer metrics for alerts; logs for diagnosis.
    Q12: Security concern with logs? A: PII and secrets leakage.
    Q13: How to prove an alarm works? A: Controlled failure and alarm history evidence.
    Q14: Namespace example? A: AWS/Lambda or a custom TechLearningPro/Progress.
    Q15: Cost levers? A: Ingestion, retention, custom metric streams, query scan—verify pricing.

    Hands-On Exercises

    Exercise: Dashboards and alarms for a latency-sensitive API

    Instrument or attach to a small progress API in sandbox. Deliver: tagged resources, retention set, at least two alarms (latency and errors), one dashboard, notification proof, ADR, cleanup.

    Challenge ADR

    Leadership wants a single CPU alarm for all microservices. Argue for symptom-based CloudWatch alarms per critical user journey (progress save, enrollment start) with shared dashboard templates.

    Lab evidence checklist

    Budget screenshot, metric names used (from docs), alarm history, dashboard image, log retention, SNS or email proof, destroy/cleanup notes, tags.

    Narrative: Monday board SLO week

    Exam week traffic triples. p99 progress save climbs; error rate stays flat. Without percentile alarms you miss the pain. With them, you scale or fix the hot query before the weekly SLO board turns red in lesson 40’s language.

    Continuity

    Next: AWS CloudTrail and Audit Logging—who changed the alarm threshold at 2 a.m.?

    Designing the progress API metric catalog

    List standard metrics you will rely on, custom metrics you will emit (for example ProgressSaveSuccess, ProgressSaveFailure), dimensions allowed, and dimensions forbidden. Keep the catalog in the service repo README so new routes do not invent incompatible series.

    Alarm description template

    Include: symptom, impact on learners, dashboard link, runbook link, escalation, and “since when is this threshold valid?” Review thresholds after each major traffic regime change (new semester).

    Metric filter lab nuance

    Generate one success log line and one failure log line in staging; confirm only failure increments the filter metric. If JSON field order varies, ensure your pattern matches documented filter syntax for your log format—verify against current CloudWatch Logs filter docs rather than memorizing a blog post.

    Dashboard narrative rows

    Row 1: requests and error rate. Row 2: latency percentile or TargetResponseTime. Row 3: dependency health (DynamoDB throttles, RDS connections, downstream 5xx). Anything else is secondary and should not steal the first screen.

    Missing data decision record

    For a low-traffic admin API, missing data may mean idle—notBreaching can be correct. For a always-on payment webhook, missing data may mean publisher death—breaching or a dedicated “heartbeat” metric may be correct. Write the choice down.

    Cross-account and multi-region tease

    Central observability accounts and cross-account dashboards exist as organizational patterns; verify current sharing mechanisms when you need them. For this lesson, master single-account correctness first so you do not federate chaos.

    Linking deploys to signal changes

    When canary starts, watch the same dashboard. Annotate incidents with deploy IDs in your ticket system. Traces in lessons 38–39 will deepen causal analysis; metrics still decide whether to wake a human.

    Retention vs archive

    If compliance needs long retention, prefer controlled export to durable storage with lifecycle policies rather than infinite hot Logs retention—confirm the pattern your security team approves. Do not invent a custom undocumented export pipeline as “the AWS way.”

    Game day script

    Thirty minutes: break staging progress API, show alarm, open dashboard, find bad log line, restore, write timeline. This is the cheapest insurance for exam-week operations.

    Extended practice scenario 1 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: error-rate alarm with datapoints-to-alarm tuning for the progress API

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 2 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: p99 or TargetResponseTime latency alarm and dashboard row design

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 3 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: log retention and encryption settings with cleanup evidence

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 4 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: metric filter correctness against structured JSON fixtures

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 5 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: composite alarm combining API errors with dependency throttles

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 6 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: cardinality review rejecting userId dimensions

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 7 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: SNS notification path tested end-to-end without spamming prod

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 8 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: missing-data treatment ADR for a sparse admin API vs busy progress API

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 9 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: error-rate alarm with datapoints-to-alarm tuning for the progress API

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 10 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: p99 or TargetResponseTime latency alarm and dashboard row design

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 11 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: log retention and encryption settings with cleanup evidence

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 12 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: metric filter correctness against structured JSON fixtures

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 13 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: composite alarm combining API errors with dependency throttles

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 14 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: cardinality review rejecting userId dimensions

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 15 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: SNS notification path tested end-to-end without spamming prod

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 16 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: missing-data treatment ADR for a sparse admin API vs busy progress API

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 17 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: error-rate alarm with datapoints-to-alarm tuning for the progress API

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 18 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: p99 or TargetResponseTime latency alarm and dashboard row design

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 19 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: log retention and encryption settings with cleanup evidence

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 20 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: metric filter correctness against structured JSON fixtures

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 21 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: composite alarm combining API errors with dependency throttles

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Extended practice scenario 22 — lesson 36 CloudWatch metrics logs alarms

    In a timed drill, implement or design the core lab for lesson 36 (CloudWatch metrics logs alarms) with a partner observing. The observer’s job is to stop any step that invents API flags, hardcodes secrets, or skips budget and cleanup. After the drill, rewrite your ADR in ten lines: context, decision, consequences. Attach evidence: commands run, screenshots of tagged resources, policy or plan output, and destroy confirmation.

    Discuss how this lesson’s tooling interacts with IAM least privilege, VPC private placement, and CI promotion rules from earlier modules. List two failure modes you personally witnessed or simulated, including detection and fix. Estimate cost drivers you touched and how long resources remained before teardown.

    Focus this iteration on: cardinality review rejecting userId dimensions

    Finally, teach back the lesson overview paragraph from memory, then check against the text. Gaps in the teach-back become your flashcards. Premium courses are not finished when the Markdown ends—they are finished when you can operate the ideas under time pressure without opening the console as a first resort.

    Lesson Summary

    CloudWatch turns TechLearningPro’s progress and Monday board journeys into operable signals: the right metrics and dimensions, structured logs with retention, filters when needed, alarms that page on user pain, and dashboards that narrate incidents in seconds. Budget ingestion and cardinality; prove alarms with controlled failure; clean up lab noise.

    Next: AWS CloudTrail and Audit Logging.

    Further Reading

    Ready to mark this lesson complete?Track your journey across the entire course.