-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcloudwatch
52 lines (38 loc) · 1.39 KB
/
cloudwatch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
CLOUDWATCH METRICS
#################################
# By Ksanchez #
# Security+ | MGP | Ps. Auditor #
# @ksanchez_cld (Twitter) #
#################################
- Not available in all regions.
- Used:
- Billing.
- DynamoDB.
- EC2, EBS.
- Elastic Beanstalk.
- Opsworks.
- Kinesis Firehose.
ALARMS
- Billing alarms as well as resource alarms.
- Integrates with SNS.
- Three states: OK, ALARM & INSUFFICIENT_DATA
>> If a metric is above the alarm threshold for the number of time periods defined by the evaluation period, an alarm is invoked.
CLOUDWATCH LOGS
- Monitor, store, and access your log files from EC2 instances, CloudTrail, or other resources.
- Real time monitoring of log information.
- Log Streams - Sequence of log events from a source.
- Log Groups - Streams the same retention, monitoring, and access control settings.
- Metric filters - Define how information is extracted to create data points.
- Retention settings - How long events are kept in Cloudwatch logs.
CLOUDWATCH EVENTS
- Events
- Occur when resources change state.
- EC2 state change.
- Autoscaling instance launch.
- CloudTrail integration
- API Calls.
- Log into console.
- Rules
- Match incoming events and route them to one or more targets for processing.
- Targets
- Can invoke AWS Lambada functions, Amazon SNS topics, Amazon SQS queues, Amazon Kinesis Streams, or built-in targets.