Member-only story

Using CloudFormation to Provision your AWS CloudWatch Dashboard or Alerts

TarrantRo
5 min readJan 1, 2024

--

Introduce

AWS CloudFormation is an infrastructure as code (IaC) service that allows you to easily model, provision, and manage AWS resources. It is a powerful toolset for devops engineer to quickly create/update/delete their AWS resources and the it deploys predictably and repeatedly.

AWS CloudWatch is Amazon native monitor platform allow devops engineer monitor the resources and applications you run on AWS in real time. Metrics, Log and Traces are all integrated in such powerful platform. You can create alarms that watch metrics and send notifications or automatically make changes to the resources you are monitoring when a threshold is breached.

As a devops engineer, we repeatedly engaged with the CloudWatch Dashboard along with the alerts we set for monitoring those metrics. However, there thousands of the metrics we need to set in CloudWatch.

Only a glance of EC2 metrics

Not to mention the complicate queries for filtering metrics. It’s a nightmare to manage all these manually.

By using CloudFormation, we can easily manage the dashboard and the alerts in our IaC codebase…

--

--

TarrantRo
TarrantRo

Written by TarrantRo

IT guy who love movies, Japanese manga. Have some experiences in Linux system, container/k8s, devops, cloud, etc.

No responses yet