Configure Custom Web Server Logging with Amazon CloudWatch
In this lab, you’ll practice configuring the CloudWatch Agent to monitor a custom log file on an EC2 instance. When you’re finished with this lab, you’ll have created CloudWatch Log Groups for a web server.
Terms and conditions apply.
Lab info
Lab author
Challenge
Create an IAM Role for CloudWatch Agent
Create a Service Role for a CloudWatch Agent running on an EC2 instance
Challenge
Launch an EC2 instance with a Web Server
Create and launch an EC2 instance with a running Web Server
Challenge
Install the Amazon CloudWatch Agent
Install and configure the Amazon CloudWatch Agent on an EC2 instance
Challenge
Check CloudWatch Logs
Use CloudWatch Log Groups to see logs from the Web Server
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Recommended prerequisites
- AWS IAM
- Amazon EC2
- CloudWatch Agent
- CloudWatch Log Groups