Monitoring Flashcards
CloudWatch Alarms Integrations
- EC2 action: reboot, stop, terminate
- Auto Scaling
- SNS
- Can be intercepted by Event Bridge
CloudWatch Synthetics Canary
Configurable scripts that monitor APIs
* Reproduce programmatically what costumers do
* Checks the availability and latency of endpoints
CloudWatch logs structure
Log stream is a sequence of log events that share the same source
Log group group of log streams that share the same retention, monitoring and access control settings
CloudWatch Logs S3 export
- S3 bucket must be encrypted
- Log data can take up to 12 hours to become available for export
CloudWatch logs subscriptions
Access to a real-time feed of log events and have it delivered to other services.
You can create subscriptions at the account level and at the log group level. This is useful to aggregate multi account and multi region.
CloudWatch logs subscriptions receiving resources
- Amazon Kinesis stream
- Amazon Data Firehose stream
- AWS Lambda
EventBridge
Route events from sources to consumer applications across your organization
EventBridge rules
Specifies which events to send to which targets.
* Rules that match on event data
* Rules that run on a schedule
* Rules managed by AWS services
EventBridge archive
Create an archive of events so that you can easily replay them at a later time
AWS X-Ray
Collects data about requests, and provides tools to view, filter, and gain insights into issues and opportunities for optimization.
Analyze vpc flow logs with an open-source integration in near-real time
Ingest VPC Flow logs to Kinesis Data Firehose, delivering them to OpenSearch