• Amazon CloudWatch is a monitoring service for AWS cloud resources and the applications that run on AWS. • CloudWatch is an AWS component that monitors our AWS resources and provides information to users in the form of data and alerts. • Amazon CloudWatch can be used to collect and track metrics, collect and monitor log files, and set alarms. • Amazon CloudWatch can monitor AWS resources such as Amazon EC2 instances, Amazon DynamoDB tables, and Amazon RDS DB instances, as well as custom metrics generated by the applications and services, and any log files the applications generate. • Amazon CloudWatch can also be used to gain system-wide visibility into resource utilization, application performance, and operational health. • CloudWatch …show more content…
For example, CloudWatch Logs can track the number of errors that occur in the application logs and send a notification whenever the rate of errors exceeds a threshold. • CloudWatch Logs uses log data for monitoring; so, no code changes are required. • The CloudWatch Logs Agent makes it easy to quickly move both rotated and non rotated log files off of a host and into the log service. We can access the raw log event data whenever needed. • Amazon CloudWatch Logs lets to monitor and troubleshoot the systems and applications using the existing system, application and custom log files. • With CloudWatch Logs, logs can be monitored, in near real time, for specific phrases, values or patterns. For example, an alarm can be set on the number of errors that occur in the system logs or view graphs of latency of web requests from the application logs. We can then view the original log data to see the source of the problem. • Log data can be stored and accessed indefinitely in highly durable, low-cost storage. • The data can be accessed directly, as text and numerical output that can then be analyzed or manipulated, or viewed in more mediated formats, such as graphs. • We can have CloudWatch keep an eye on the processor load of an EC2 instance. The metric can be configured to generate an e-mail alert if the processor load percentage rises above a certain level or even trigger a programmatic action such as an Auto Scaling