From the course: Monitoring AWS with CloudWatch

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Using the CloudWatch agent

Using the CloudWatch agent

- [Instructor] Most of the time, all the services utilized are in the cloud, but there are a lot of cases where we have on-premise or cloud virtual machines where we need to collect logs from. For this, we can use the AWS CloudWatch agent to collect logs on Amazon EC2 instances or on-premise servers. The CloudWatch agent enables us to collect more system-level metrics from Amazon EC2 instances across operating systems. It also enables us to collect system metrics from on-premise servers. This can include servers in hybrid environment as well as servers not managed by AWS. It allows us to retrieve custom metrics from our applications or services using the StatsD and CollectD protocols. StatsD is supported on both Linux servers and servers running on Windows Server. And CollectD is only supported on Linux servers. And finally, it also allows us to collect logs from both Amazon EC2 instances as well as…

Contents