Set Up Custom Logging in AWS CloudWatch
In this lab, you’ll practice installing and configuring the CloudWatch agent. When you’re finished with this lab, you’ll have the ability to connect any server with CloudWatch to enhance and centralize all your server logging.
Terms and conditions apply.
Install the CloudWatch Agent
Download and install the CloudWatch agent software on a Linux server.
Create an IAM User with CloudWatch Permissions
Add a new programmatic user to the AWS account with the required permissions for running the CloudWatch agent.
Setup Server as if an On Prem Server
Configure the CloudWatch agent on the EC2 server as if it were not running in an AWS account.
Start and Validate Agent is Active
Start the agent check the agent logs and review console for server log data and metrics
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
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.
- Familiarity with common Linux terminal commands (including a file editor like vi)
- Familiarity with the CloudWatch AWS console