Installing & Configuring AWS CloudWatch Agent on On-Premise device

Aswathy Prasad
Tech Titan
Published in
4 min readAug 11, 2022

--

Monitoring & Operations in AWS.

Amazon CloudWatch can monitors not only your Amazon Web Services (AWS) resources and the applications you run on AWS in real time, but also on premise applications and instances. You can use CloudWatch to collect and track metrics, which are variables you can measure for your resources and applications.You can create alarms that watch metrics and send notifications or automatically make changes to the resources you are monitoring when a threshold is breached. For example, you can monitor the CPU usage and disk reads and writes of your Amazon EC2 instances and then use that data to determine whether you should launch additional instances to handle increased load. You can also use this data to stop under-used instances to save money.

With CloudWatch, you gain system-wide visibility into resource utilization, application performance, and operational health. Below are the steps to run CloudWatch Agent on an on premise system. The diagram shows the setup of a log file generated by an application which is stored on the device and this file is streamed to CloudWatch console. The system metrics are also transferred to CloudWatch by CloudWatch Agent.

CW Agent on device streaming logs and system metrics to CW on AWS
  1. On the device, download CloudWatch Agent based on the architecture and device type. For example, I have a…

--

--

Aswathy Prasad
Tech Titan

AWS Solutions Architect | Engineer | interested in quirky stories | writes about experiences, learnings and feelings |afraid of uselessness