Monitoring Flashcards
What is CloudWatch?
Cloudwatch is a monitoring and observability platform that was designed to give us insight into our AWS architecture. It allows us to monitor multiple levels of our applications and identify potential issues.
What are the main things that CloudWatch can do?
- Collect system metrics (metrics you get out of the box, the more managed your service, the more you get out of the box)
- Collect application metrics (by installing a CloudWatch agent, you can get information from inside your EC2 instances)
- Create alarms (alerts you when something goes wrong based on metrics)
What are the two kinds of metrics in CloudWatch?
- Default (provided out of the box and do not require additional work on your part to configure)
- Custom (these metrics will need to be provided by using the CloudWatch agent installed on the host)
What are the metrics that are provided by default in CloudWatch?
EC2 Metrics: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html
RDS Metrics:
<list>
Lambda Metrics:
<list>
S3 Metrics:
<list>
</list></list></list>
What is the lowest period of data collection for standard metrics in CloudWatch?
1 minute
What is the lowest period of data collection for custom metrics in CloudWatch?
10 seconds
If you are asked what service to use for monitoring, what service would you recommend?
CloudWatch
Are there any alarms created by default?
No
What is CloudWatch Logs?
CloudWatch Logs is a tool that allows you to monitor, store and access log files from a variety of different sources. It gives you the ability to query your logs to look for potential issues or data that is relevant to you.
What is a Log Event in CloudWatch?
This is the record of what happened. It contains the timestamp and the data.
What is a Log Stream in CloudWatch?
A collection of Log Events from the same source.
What is a Log Group in CloudWatch?
A collection of Log Streams.
What are Filter Patterns in CloudWatch Logs?
You can look for specific terms in your logs.
What are CloudWatch Logs Insights?
This allows you to query all your logs using SQL-like interactive solution.
What are Alarms in CloudWatch Logs?
Once you’ve identified you trends and patterns, you can alert on them using CloudWatch Alarms.