Cloud Monitoring Flashcards
What is a CloudWatch metric?
A metric that you want to show over time and that can be accessed in a graph format in CloudWatch
What are 2 important metrics one might want to monitor in CloudWatch for EC2 instances?
- CPU utilisation
- Status checks
- Network
What is a CloudWatch alarm?
An alarm that you can set that triggers if a metric is above or below a ‘desired’ count.
What synergies with other AWS services can you use with a CloudWatch alarm?
If triggered, you could set it to change auto scaling settings, stop, terminate, reboot or recover an EC2 instance, send notifications to an SNS topic etc. etc.
What is CloudWatch Logs?
A service that collects log files from applications that are running and conglomerates them in one place.
Can CloudWatch Logs be used in hybrid deployment?
Yes
What small bit of admin needs to take place to make the logs send to CloudWatch logs?
Install the CloudWatch agents on the relevant service
What is EventBridge?
A service that allows you to schedule scripts based on an event transpiring
What could classify as an ‘event’ for EventBridge?
Various integrations from different AWS services, e.g. someone logging in with the root account triggers an email to say someone logged in with the root account, or just every hour a Lambda job is triggered, etc.
What integrations outside of AWS does EventBridge offer?
Events can be triggered from outside of AWS services using either a ‘partner event bus’ or a ‘custom event bus’ - linking to partner services and custom apps respectively
What is CloudTrail?
A service where you can record the history of events/API calls made within your AWS account via the console, SDK, CLI and AWS services
Why is CloudTrail useful?
Well first, it simply makes it easy to track events/API calls in problematic/security cases/
It is also thus useful for governance and compliance.
Where can you send CloudTrail histories for storage?
S3 or CloudTrail Logs
What is AWS X-Ray and what it is its goal?
A service that allows you to have a visual overview of your system with the goal of making it easy to spot bottlenecks, dependencies and pinpoint service issues
What is CodeGuru Reviewer?
An ML-powered service that automatically reviews code in the repository when you commit. Supports Java and Python.
What is CodeGuru Profiler?
A reviewer used when you are already on production to identify inefficiencies in the code and thus improve app performance and decrease compute costs.
What is Health Dashboard?
Health Dashboard is more on the AWS side of things - it tells the user about events that AWS is going through that might effect their services/resources