[SAA + SAP] 28. Monitoring
- PutMetricData API
- Dashboard's graphs can from different AWS accounts and regions
- For easy monitoring and filtering
System-level metrics -> Agent
CPU doesn't need agent.
1 min -> detail metric is enough
Filter can be used to trigger alarm.
- Unified Agent able to send RAM...etc metric
CloudWatch Alarm
- Data events are not logged by default
- Detect unusal activity
- Can save to S3 after 90 days
- Compliance
- Reocrd configurations that changes over time
- Can trigger SSM Automation Documents to deactivate Access KEY
- With Retry up to 5 times
- AWS config can trigger SNS and EventBridge to send notifications
10, 30, 60 seconds or multiple of 60s