Say I have few applications running on physical machines which are not part of AWS infra, is it possible for such applications to publish metrics to cloudwatch and use its alerting mechanism?
Docs do not mention this case, and it seems that CloudWatch CLIs just take metrics as arguments and probably derive the AWS instance ID and send the metric to CloudWatch.
If you have downloaded the CloudWatch agent on one computer and created the agent configuration file you want, you can use that configuration file to install the agent on other on-premises servers.
CloudWatch provides you with data and actionable insights to monitor your applications, respond to system-wide performance changes, and optimize resource utilization. CloudWatch collects monitoring and operational data in the form of logs, metrics, and events.
For Windows, the CloudWatch agent can capture any of the Windows performance monitor counters. For Linux, the CloudWatch agent can capture system-level metrics. For more details, please see Metrics Collected by the CloudWatch Agent. The agent can also capture logs from the server.
Short description. You can use CloudWatch Synthetics to create a canary for your website. Canaries are configurable scripts that run on a schedule to monitor your endpoints and APIs. You can configure canaries to perform the same actions that your customers do on your website.
It is possible to use CloudWatch to record custom metrics even if your apps do not run on the AWS EC2 infrastructure. See this blog post that announces the introduction of custom metrics (in 2011) and the CloudWatch custom metrics documentation for more details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With