AWS Monitoring

AWS CloudFormationmonitoringAWS CloudFormation is the native Infrastructure-as-Code (IaC) service for AWS. AWS CloudWatch EventsmonitoringCloudWatch Events delivers a near-real-time stream of system events describing changes to AWS resources, plus… AWS CloudWatchmonitoringAWS CloudWatch is the umbrella observability service for AWS — metrics, logs, traces, alarms, dashboards, and…

Knowing what the system is doing: metrics, logs, events, and the infrastructure-as-code that provisions them.



‹ AWS

1. Overview

How the Monitoring Pages Fit Together CloudFormation provisions alarms, rules, dashboards CloudWatch metrics, logs, alarms EventBridge / CW Events state-change events, schedules SNS / Lambda / Step Functions notify and remediate

Monitoring on AWS is built from a few services that each answer a different question. CloudWatch answers "how is the system behaving?" with time-series metrics, log groups, Logs Insights queries, dashboards, and alarms that fire when a metric crosses a threshold. CloudWatch Events, now part of Amazon EventBridge, answers "what just happened?" by delivering state-change events, such as an EC2 instance stopping or a Glue job failing, and cron-style schedules to targets like Lambda, SNS, or Step Functions. CloudFormation answers "how do we make all of this reproducible?" by declaring alarms, rules, log groups, and dashboards as code alongside the resources they watch.

Start with the CloudWatch page if you are new to the area, since both events and infrastructure templates refer back to its metrics and alarms.

All three pages include runnable examples.

2. When to Use Which

GoalServiceExample
Alert on a thresholdCloudWatch alarmCPU above 80% for 10 minutes
Search application logsCloudWatch Logs InsightsCount 5xx errors per endpoint
React to a discrete eventEventBridge ruleGlue job FAILED triggers a Lambda
Run something on a scheduleEventBridge scheduleNightly snapshot at 02:00 UTC
Keep monitoring consistent across accountsCloudFormation / StackSetsSame alarms in every environment

In practice they are combined: CloudFormation creates an alarm, the alarm changes state, and that state change is itself an event EventBridge can route. For the wider platform context see the AWS section.