Member-only story
Using CloudFormation to Provision your AWS CloudWatch Dashboard or Alerts
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.
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…