AWS CloudWatch - Salem73616C656D/reading-notes GitHub Wiki
Key Takeaways
Amazon CloudWatch is a service used for real-time monitoring AWS resources like EC2 instances, EBS, RDS, load balancer, lambda, Cognito, S3, etc. and also can use for monitoring on-prem resources. CloudWatch is a useful service to collect & track matrices, monitor log files, set alarms. It automatically provides metrics for CPU utilization, latency and request count. Additionally, custom CloudWatch metrics can also be monitored such as memory usage, error rates, etc. in a detailed manner. It’s useful service for cronjob and automation purposes.
CloudWatch Events: CloudWatch Events allows users to consume a near real-time stream of events like changes to their AWS environment takes place. These event changes can afterword trigger notification services like SNS, SMS, etc. or can trigger other AWS services like Lambda, SSM, Step function. CloudWatch Events can monitor actions like an AWS service (Eg: EC2 instance) being launched or stopped/ terminated and detect when an auto-scale happens.
-
Events: generated in four ways. It is represented by the JSON script. They can happen from within AWS when the resource changes its state or events are generated by API calls and console sign-ins that are delivered to Amazon CloudWatch Events via CloudTrail or when your own code can generate application-level events and publish them to Amazon CloudWatch Events for processing. The last way is that they can be issued on a scheduled basis, with options for periodic or Cron-style scheduling.
-
Rules: match incoming events and route them to one or more targets or processing. Rules do not have any order for processing, all the rules matching for an event will be processed.
-
Targets: process events and are specified within the rules.
Vocabulary
No new vocabulary