CloudWatch Alarms

  • Can trigger actions: EC2 action (reboot, stop, terminate, recover), Auto Scaling, SNS
  • Alarm events can be intercepted by CloudWatch Events

 

[SAP] CloudWatch

 

CloudWath Logs

  • Log groups: arbitrary name, usually representing an application
  • Log stream: instances within application / log files / containers
  • Can define a log expiration policies (never expire, 30 days, etc...)
  • Optional KMS encryption
  • CloudWatch Logs can send logs to:
    • S3
    • KDS
    • KDF
    • Lambda
    • ElasticSearch

[SAP] CloudWatch

 

CloudWatch Logs - S3 Export

  • S3 bucket must be encrypted with AES-256 (SSE-S3), not SSE-KMS
  • Log data can take up to 12 hours to become available for export (so it is not real time usecase)
  • The API call is CreateExportTask
  • Not near-real time or real-time... use Logs Subscriptions instead

 

[SAP] CloudWatch

 

[SAP] CloudWatch

  • For multi-account or multi region cloudwatch logs aggregation, need to send KDS first.
  • NOT KDF first
  • Then forward to S3

 

[SAP] CloudWatch

 

 

 

 

 

相关文章:

  • 2021-07-02
  • 2022-12-23
  • 2021-06-17
  • 2021-06-30
  • 2022-12-23
  • 2021-04-28
  • 2022-02-06
猜你喜欢
  • 2021-04-02
  • 2021-11-01
  • 2021-09-20
  • 2021-10-14
  • 2021-10-08
  • 2021-11-28
  • 2021-08-14
相关资源
相似解决方案