aws-cloudformation-cloudwatch

Featured

Provides AWS CloudFormation patterns for CloudWatch monitoring, metrics, alarms, dashboards, logs, and observability. Use when creating CloudWatch metrics, alarms, dashboards, log groups, log subscriptions, anomaly detection, synthesized canaries, Application Signals, and implementing template structure with Parameters, Outputs, Mappings, Conditions, cross-stack references, and CloudWatch best practices for monitoring production infrastructure.

DevOps & Infrastructure 330 stars 39 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
84
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# AWS CloudFormation CloudWatch Monitoring ## Overview Creates CloudWatch monitoring infrastructure using CloudFormation templates: metrics, alarms, dashboards, log groups, anomaly detection, synthesized canaries, and Application Signals. ## When to Use - Creating CloudWatch metrics and alarms for production infrastructure - Building CloudWatch dashboards for multi-region visualization - Implementing log groups with retention, encryption, and metric filters - Configuring anomaly detection and composite alarms - Setting up cross-stack references with Parameters and Outputs - Validating and deploying monitoring stacks with CloudFormation ## Instructions Follow these steps to create CloudWatch monitoring infrastructure with CloudFormation: ### 1. Define Alarm Parameters Specify metric namespaces, dimensions, and threshold values: ```yaml Parameters: ErrorRateThreshold: Type: Number Default: 5 Description: Error rate threshold for alarms (percentage) LatencyThreshold: Type: Number Default: 1000 Description: Latency threshold in milliseconds CpuUtilizationThreshold: Type: Number Default: 80 Description: CPU utilization threshold (percentage) LogRetentionDays: Type: Number Default: 30 AllowedValues: - 1 - 3 - 7 - 14 - 30 - 60 - 90 - 120 - 365 Description: Number of days to retain log events ``` ### 2. Create CloudWatch Alarms Set up alarms for CPU, memory,...

Details

Author
giuseppe-trisciuoglio
Repository
giuseppe-trisciuoglio/developer-kit
Created
10 months ago
Last Updated
2 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category