Cloud Monitoring Flashcards
1
Q
CloudWatch Metrics
A
- for all services
- Metrics have timestamps
- ex. Billing metric, CPUUtilization, etc
- Default every 5 minutes
- Service limits
- Custom metrics
2
Q
CloudWatch Alarms
A
- Trigger notification for any metric w/thresholds
- EC2 actions (stop, terminate, reboot, recover)
- SNS notifications
- Sampling, %, max/min
- Period
- Billing alarm on billing metric (us-east-1 ONLY)
Alarm states are OK, INSUFFICIENT_DATA, and ALARM
3
Q
CloudWatch Logs
A
- Elastic Beanstalk, ECS, Lambda, CloudTrail, Cloud3atch, R53 DNS Queries
- Real time monitoring of logs
- Retention
4
Q
CloudWatch Logs for EC2
A
- EC2 doesn’t store logs automatically
- Must install CloudWatch agent on EC2 instance
- Needs right role and IAM permissions
- Can also be implemented hybrid (on-prem)
5
Q
EventBridge (fks CloudWatch Events)
A
- Schedule (cron jobs)
- ex. trigger lambda function (serverless cron)
- React to events (root user sign in) to SNS w/email
- Default event bus versus partner event bus
- ZenDesk, Datadog. etc.
- Also custom events
- Schema event registry
- Archive events
- Replay events
6
Q
CloudTrail
A
- governance, compliance, and audit
- enabled by default
- History of events/API calls made by
- console
- sdk
- CLI
- AWS services
- Can out CLoudtrail into Cloudwatch or S3
- All or one region
7
Q
X-Ray
A
- Visual analysis of applications. Service graph
- troubleshooting, performance issues
- Understanding dependencies
- distributed tracing
- Find erros and exepctions
- Look for throttling
- which users wil lbe impact
8
Q
CodeGuru
A
Code reviews, performance recommendations
- ML powered service
- Reviewer - automated code reviews with static code analysis
- Profiler - application runtime performance ( expensive lines of code)
- Recommendations directly in code
- support java and python
- Integrated with GitHub, Bitbucket, and AWS CodeCommit
9
Q
CodeGuru Profiler
A
- Identify code inefficiences
- improve application performance
- decrease compute costs
- Provide heap summary
- Anomaly detection
- Supports AWS or on-prem
10
Q
AWS Health Dashboard
A
Service history and status for AWS services
- shows all regions all services health
- historical information for each day
- RSS feed