可觀測性題常把四個都像在「monitor」的服務放在一起。不要背 slogan,要分 data model。
| 服務 | 主要回答 |
|---|---|
| CloudWatch | Workload 現在怎麼了? |
| EventBridge | 哪個 event 發生,要 route 去哪? |
| CloudTrail | 誰在何時、從哪裡呼叫什麼 AWS API? |
| AWS Config | Resource 當時如何設定,是否 compliant? |
CloudWatch 有 metrics、logs、alarms、dashboards 與 synthetic canaries。EC2 預設不發布 memory 等 guest-OS metric,需 agent。Metric filter 把 log pattern 轉 metric。Subscription filter 連續 stream log;export task 偏 batch。
CloudTrail 記 management events 與可選 data events;trail 可保留超過 event-history window 的歷史。EventBridge 可對 AWS service event 或 CloudTrail-backed API activity 反應。Config 記 configuration history、evaluate rule、trigger remediation,不觀測 app performance。
Multi-account 治理中,Organizations/Control Tower 建 account structure/guardrail;IAM Identity Center 管 workforce access;CloudFormation 讓 infrastructure repeatable。Drift detection 與 Config 分別回答 declared state 和 observed state 的問題。
考試視角: 題目要的 evidence 是 performance signal、routable event、API audit 或 configuration compliance?答案就在這裡。
複習卡
- Metrics/logs:CloudWatch。
- API history:CloudTrail。
- Configuration/compliance:Config。
- Event routing:EventBridge。
- Governance = account structure + preventive guardrail + detective control + remediation。