AWS DevOps Pro Certification Blog Post Series: Monitoring and Logging
This is part of the blog post series: AWS DevOps Pro Certification
What does the exam guide say?
To pass this domain, you'll need to know the following:
- Determine how to set up the aggregation, storage, and analysis of logs and metrics
- Apply concepts required to automate monitoring and event management of an environment
- Apply concepts required to audit, log, and monitor operating systems, infrastructures, and applications
- Determine how to implement tagging and other metadata strategies
What whitepapers are relevant?
According to the AWS Whitepapers for DevOps we should look at the following documents:
What services and products covered in this domain?
- CloudWatch - Complete visibility of your cloud resources and applications. Chances are if you provision a resource (well at least through the Console), it's probably logging in CloudWatch.
- AWS X-Ray - Analyze and debug production, distributed applications. Similar products are Rollbar, Sentry, Azure Application Insights.
Source: AWS DevOps - Monitoring and Logging page
What about other types of documentation?
If you have the time, by all means, read the User Guides, but they are usually a couple of hundred pages. Alternatively, get familiar with the services using the FAQs:
You're all expected to know the APIs
- CloudWatch
- AWS X-Ray. There's specific APIs for the Java, .Net (and Core), Ruby, Node and Python SDKs.
Before you panic, you'll start to spot a pattern with the API verbs.
And the CLI commands
- CloudWatch. This is for the command that is part of the AWS CLI. The standalone CloudWatch CLI has been deprecated.
There's no CLI for X-ray
As with the API, there are patterns to the commands.
Monitoring and Logging (yawn)
Monitoring and logging are what DevOps engineers do on a daily basis. We use the data from our logs to spot patterns, and the monitoring alerts to react to issues and mitigate outages.
It's not the most exciting topic to cover, it's a necessity for the role. I hope in future versions of the exam, this domain extends to Observability.
This domain contains the fewest services, but make no mistake CloudWatch integrates with so many services it makes sense to have a good understanding of the features it provides. AWS X-Ray if you've used similar products, should be an easier concept to grasp (famous last words).
AWS DevOps Pro Certification Blog Post Series
- Intro
- Domain 1: SDLC automation
- Domain 2: Configuration Management and Infrastructure as Code
- Domain 3: Monitoring and Logging
- Domain 4: Policies and Standards Automation
- Domain 5: Incident and Event Response
- Domain 6: High Availability, Fault Tolerance, and Disaster Recovery