Cloud Monitoring Flashcards
What is Amazon CloudWatch Metrics?
CloudWatch provides metrics for every service in AWS
Metric is a variable to monitor (CPU utilization etc…)
What CloudWatch Metrics are there for EC2?
CPU Utilization, Status Checks, Network
Those can be updated every 5 or 1 minute ($ / $$$)
What CloudWatch Metrics are there for EBS volumes?
Disk read/writes
What CloudWatch Metrics are there for S3?
Size, No of Objects, AllRequests
What CloudWatch Metrics are there for Billing?
Estimated Charge
What are Cloudwatch Alarms?
Used to trigger notifications for any metric?
e.g
Auto Scaling - change in the no of desired EC2 instances
EC2 Actions - stop / terminate / reboot / recover
SNS Notifications - send a notification to SNS topic
What type of Alarm is available only in us-east-1
Billing, as billing data is available only in us-east-1
What are CloudWatch Logs?
Collects and store Logs from multiple services like:
Elastic Beanstalk - logs from applications
ECS - logs from containers
AWS Lambda - function logs
CloudTrail - based on filter
CloudWatch log agents or
Route 53 - DNS Queries
How to activate Cloudwatch logs?
For EC2 we have to install cloudwatch on the instance
For some serverless application it’s default like in Lambda
What is Amazon EventBridge?
It’s a bridge between a trigger and a receiver.
1) Schedule -> Serverless cronjob. E.g start script on Lambda
2) EventPattern -> rules to react a service doing something (like user logging in with root user) then do an SNS
It can be added to external SaaS Partners or own applications
What is AWS CloudTrail?
Provides governnance, compliance and audit.
All user activities, API Call, events from SDK, CLI, Console or IAM will be logged
Those logs can be put to S3 or Cloudwatch Logs
It is enabled by default. Takes around 5 mins to appear
What is AWS CloudTrail Insights
Provides an automated analysis of our CloudTrail Events
What is AWS X-Ray?
It enables an analysis of the microservice architecture.
Find Errors, Pinpoint service issues, Troubleshooting performance
What is CodeGuru?
- Reviewer: ML-powered for automated code-reviews and application performance recomendations with static code analysis.
- Profiler: Detect and optimizes expensive lines-of-code pre-prod and identifies performance and costs in prod.
What is AWS Health Dashboard?
Shows all regions and all services in real time as well as the historical info for each day.
AWS Account Health Dashboard will provide proactive alerts and remediation guidance for when events may impact you.
It can aggregate data for entire AWS Organization
It can be integrated with EventBridge.