From the course: AWS: Monitoring and Reporting

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

CloudWatch agent

CloudWatch agent - Amazon Web Services (AWS) Tutorial

From the course: AWS: Monitoring and Reporting

Start my 1-month free trial

CloudWatch agent

- [Instructor] Amazon CloudWatch provides an agent that can be used to collect system-level metrics and logs from EC2 instances and on-premises servers. This is available for Amazon Linux, Ubuntu, CentOS, Red Hat Enterprise Linux, and Windows operating system. The metrics collected by the agent can be stored and viewed in CloudWatch just like other system default metrics. Let's walk through the steps needed to install the agent. The agent will be used to collect memory utilization details from an EC2 instance. Before installing the agent, we need to create an IAM role. This will be used by the agent to write metrics to CloudWatch. I'll first navigate to the IAM service. I'll then click Roles on the left navigation pane and then click the button Create role. On the next step, I'll select EC2 as a service that will use this role. This will allow the role to be used by EC2 instances to call AWS services. Then I'll click…

Contents