Skip to content

Cloudwatch

Important

Cloudwatch monitors performance. Standard monitoring is 5 mins while detailed monitoring is 1 minute. AWS services send metrics to CloudWatch. CloudWatch then uses these metrics to create graphs automatically that show how performance has changed over time.

Cloudwatch can monitor - EC2 - Autoscaling groups - Elastic Load Balancers - Route 53 checks - EBS - CloudFront

CloudTrain and Cloudwatch difference?

CloudTrail is different from CloudWatch as it records what API calls are made to AWS management console and which actions are taken. We can see who made the call, what was the IP, and when calls were made.

CloudWatch alarms

With CloudWatch, you can create alarms(opens in a new tab) that automatically perform actions if the value of your metric has gone above or below a predefined threshold.

Example

For example, suppose that your company’s developers use Amazon EC2 instances for application development or testing purposes. If the developers occasionally forget to stop the instances, the instances will continue to run and incur charges.

In this scenario, you could create a CloudWatch alarm that automatically stops an Amazon EC2 instance when the CPU utilization percentage has remained below a certain threshold for a specified period. When configuring the alarm, you can specify to receive a notification whenever this alarm is triggered.

CloudWatch Logs Insights

CloudWatch Logs Insights enables you to interactively query your log data in CloudWatch Logs. If a team wants to search and query their logs for their API, CloudWatch Logs Insights would be the best option.


Was this page helpful?
-->