Cloud Metrics Flashcards
CloudWatch Metrics
- Provides metrics for every AWS service
- Can create dashboards
CloudWatch Alarm
Trigger notification for any metric
Actions
* Autsacle
* EC2 (stop, reoboot Recover an EC2 instance
* Billing alarm
CloudWatch Alarm actions
- Auto Sacling
- EC2 Actions (stop, reboot, ect…)
- SNS notifications
CloudWatch Logs
- Collect log files
- Real time monitoring of logs
- Adjustable retension period
CloudWatch Logs for EC2
- By default no logs are sent
- Install CloudWatch Logs agent on the EC2
- Correct IAM permission for EC2 instance
- Can be set up on on-prem servers
Amazon EventBridge (Formerly CloudWatch Events)
- Schedule: Cron jobs (sched scripts)
- Event Pattern: react to a service doing something
- Trigger Lambada functions, SNS messages, email, etc…
CloudTrail
- Provides governance, compliance, and audit
- Enabled by default
- History of evets/API calls made
- Can put logs in to CloudWatch or S3
- Can be applied to All Regions (default), or a single region
- API call that needs to be looked up
AWS X-Ray
- Tracing
- Visual analysis of applications
- Troubleshoot performance issues
- Understand dependencies in microservice architecture
- Pinpoint service issues
- Review request behavior
- Find errors and exceptions
Amazon CodeGuru
- Machine learning
- Automated code review (CodeGuru Reviewer)
- Application performance recommendations (CodeGuru Profiler)
Health Dashboard - Service History
- Show all regions, all services health
- Show historical information daily
- Has RSS feed
- Previously called AWS Service Health Dashboard
Health Dashboard - Your Account
Provides alters and remediation guidance when AWS is experiencing events that my impact you
* Personalized view into the performance and availability of the AWS services underlying your resources
* Display relevant and timely information to help manage events in progress
* Provide proactive notification to help plan for scheduled events
* Aggregate data from an entire AWS Organization
* Global service