What is Cloud Watch?
Alarms and checks to ensure that we catch warning signs before they become bigger problems
Cloud Watch System Metrics
the more managed the service is [i.e. RDS], the more data you get
Cloud Watch Application Metrics
you install the CloudWatch agent on the EC2 instance
Cloud Watch Alarms
tell you when something goes wrong
Restrictions on Default Cloud Watch metrics
Restrictions on Custom Cloud Watch metrics
- can be checked every 10 seconds
Which CloudWatch metrics are default?
- Network Throughput
Which CloudWatch metrics are custom?
- EBS Storage Capacity
Exam tip: What tool do you use for monitoring?
Cloud Watch
Are there any default Cloud Watch alarms?
No
At what intervals are CloudWatch alarms provided
- Detailed metrics - 1 minute
CloudWatch logs
when you start getting a lot of logs, you will become overwhelmed with logs.
CloudWatch logs is a tool that allows you to monitor, store and access log files from a variety of sources (EC2, Lambda, RDS, etc.)
Log Event
a record of what happened
Log Stream
a collection of log events from the same source
Log Group
all of the log streams of all services/apps that log
CloudWatch Log Filter Patterns
let you look for specific terms in your logs (ex: 404 errors)
CloudWatch Logs Insights
use sql-like commands to look for general trends across all your services
CloudWatch Logs Insights
- use sql-like commands to look for general trends across all your services
EC2 CloudWatch Setup
EC2 CloudWatch Setup
For exam questions about logs …
Choose CloudWatch Logs:
- unless they’re streaming logs or real-time solution (then use Kinesis)