Terraform on AWS: Nonprod and Production Environments · Operations: Monitoring, Cost, CI/CD and Go-Live
CloudWatch: Log Groups, Alarms and SNS Notifications
Create CloudWatch log groups with retention policies, metric alarms for ECS service health and RDS, and an SNS topic that triggers an email or webhook when an alarm fires.
What you'll build
CloudWatch log groups with 30-day retention for ECS and Lambda, an SNS topic for alarm notifications, and metric alarms for three signals: ECS CPU above 85%, ALB 5xx error rate above 1%, and RDS free storage below 2 GB.
Premium course
Keep reading with a membership
The rest of this lesson, its practice questions and the whole Terraform on AWS: Nonprod and Production Environments course are part of the membership.
Open in the app to mark lessons complete, take notes and track your progress.