Cloud Monitoring Flashcards
CloudWatch Metrics
- Monitor the performance of AWS service and billing metrics
- total amount you have spent in your AWS cloud
- Metric is a variable to monitor ( CPUUtilization, NetworkLn..)
Cloudwatch Alarm
Automate notification, perform EC2 action, notify to SNS based on metric
- Ex: billing alarm on the cloudwatch billing metric
- Used to target notification for metric
- Which CloudWatch feature would you use to trigger notifications when a metric reaches a threshold you specify?
CloudWatch Logs
- Collect log files from EC2 instance, servers, lambda function
- used troubleshooting, monitoring, log analytics, alerting
- Real-time
You can use Amazon CloudWatch Logs to monitor, store, and access your log files from Amazon Elastic Compute Cloud (Amazon EC2) instances, AWS CloudTrail, Route 53, and other sources.
single, highly scalable service that centralizes the logs from all of your systems applications and AWS service that you use
cloudwatch log agent
The cloudwatch log agent can be setup on-prem too and ec2
Cloudwatch Events (or Event Bridge )
react to event in AWS, or trigger a rule on a schedule
CloudTrail
Audit API calls made with your AWS account
- Provide governance, compliance and audit for your AWS account
- If a resource is deleted in aws, investigate used cloudtrail first
- Which service allows you to inspect, audit, and record events and API calls made within your AWS account?
- If a resource is deleted in AWS, which service should you use to investigate first?
Cloudtrail events
- Management event :
- Data event
- cloudTrail insight events:
CloudTrail insights
automated analysis of your CloudTrail Events
- enable it to detect unusual activity in your account
- And then continuously analyzed write event to detect unusual patterns
- Which cloud monitoring feature can you use to detect unusual activity in your account such as inaccurate resource provisioning or hitting service limits?
X-ray
trace requests made through your distribution application
- visual analysis of our application ( trialing)
- Full picture of what is happening in each service and see where they are failing, performance,
- Which AWS service helps developers analyze and debug production as well as distributed applications?
x-ray Advantages:
- Are meeting time SLA
- Find errors and exception
- Where I an throttled
- Identify user that are impacted
- Pinpoint service issue
- Review request behavior
- Understand dependencies -in microservice architecture
- Troubleshooting performance (bottlenecks)
AWS status: Service Health Dashboard
Status of all AWS service across all region
- Show historical information for each day
- Had an RSS feed you can subscribe to
AWS status: Personal Health Dashboard
AWS events that impact your Infrastructure
- Provide alert and remediation guidance when AWS is experiencing event that may impact you
- Global service
- Which AWS service provides alerts and remediation guidance when AWS is experiencing events that may impact you?
Amazon CodeGuru
Automated code reviews and application performance recommendation
- Which AWS service automatically analyzes code and provides performance recommendations?
CodeGuru reviewer
automated code review for static code analysis (development)
Codeguru profiler
visibility/recommendation about application performance during runtime (production)
- helps understand the runtime behavior of your application
- identify critical issues, security, vulnerabilities, and hard to find bug