Cloud Monitoring Flashcards
What is Amazon CloudWatch Metrics?
Provides metrics for every service in AWS
What is a CloudWatch dashboard of metrics?
So you can see metrics of many services at once
Do metrics in Amazon CloudWatch have timestamps?
Yes
What is Amazon CloudWatch Alarms?
Used to trigger actions for any metric
What are some alarms actions for Amazon CloudWatch?
Auto Scaling, EC2 Actions (stop, terminate, reboot, recover), SNS notifications
What is Amazon CloudWatch Logs?
Let’s you see logs from services in real time and can hold logs for a period of time
What is Amazon CloudWatch Events?
- Schedule : cron jobs (scheduled scripts)
- Event Pattern: Event rules to react to a service doing something
- Trigger Lambda functions, send SQS/SNS messages
What is Amazon EventBridge?
The next evolution of CloudWatch Events.
- Default event bus (cloud watch events)
- Partner event bus (receive events from SaaS service/applications)
- Custom event bus (for your own applications)
- Schema Registry (model event schema)
What is AWS CloudTrail?
Provides governance, compliance, and audit for you AWS account. Get a history of events / API calls made within your AWS account.
Is AWS CloudTrail enabled by default?
Yes
If a resource is deleted in AWS where should you first investigate?
AWS CloudTrail
What are the CloudTrail Events?
- Management Events: operations performed on resources in your AWS account
- Data events: such as GetObject and DeleteObject in S3
- Insights: enable to detect unusual activity
What is AWS X-Ray?
Visual analysis of applications
- Troubleshoot performance (bottlenecks)
- Understand dependencies in micro-service architecture
- Pinpoint service issues
- Review request behavior
- Find errors and exceptions
- Etc.
What is Amazon CodeGuru?
A ML-powered service for automated code reviews and application performance recommendations
What are the two functionalities of Amazon CodeGuru?
- CodeGuru Reviewer: automated code reviews for static code analysis (development)
- CodeGuru Profiler: visibility/recommendations about application performance during runtime (production)