AWS - 監控設計模式


AWS Monitoring & Alerting Patterns 五大監控設計模式

Pattern目的理解方式
Black-Box Monitoring模擬使用者體驗從外部看系統
White-Box Monitoring監控系統內部從內部看系統
Distributed Tracing微服務效能追蹤看請求怎麼跑
Event-Driven Remediation自動修復有事自動處理
Centralized Observability多帳號可視化集中監控

Black-Box Monitoring

Use Case

  • 模擬使用者操作
  • 主動偵測 API/網站是否存活
  • SLA/SLO 監控

Key Services

  • CloudWatch Synthetics(Canaries)
  • Route 53 Health Checks

關鍵字

  • Proactive monitoring
  • Simulate real user behavior
  • Endppoint availability

White-Box Monitoring

Use Case

  • EC2 / RDS / ALB 監控
  • Pod / Container 使用率
  • Auto Scaling 依據

Key Services

  • CloudWatch Metrics
  • Managed Prometheus(PromQL)

關鍵字

  • Resource utilization
  • Internal metrics
  • Performance bottleneck

Distributed Tracing

Use Case

  • 微服務延遲問題
  • API 串接過慢
  • 跨服務效能瓶頸分析

Key Services

  • AWS X-Ray
  • ServiceLens

關鍵字

  • End-to-end tracing
  • Microservices latency
  • Dependency mapping

Event-Driven Remediation

Use Case

  • EC2 異常自動重啟
  • 磁碟滿自動清理
  • 資安事件自動封鎖

Key Services

  • EventBridge
  • SSM Automation
  • Lambda

Centralized Observability

Use Case

  • 集團多帳號管理
  • 中央 SOC / NOC 監控
  • 帳號 Dashboard

Key Services

  • CloudWatch Observability Access Manager
  • AWS Organizations

關鍵字

  • Multi-account visibility
  • Central monitoring account
  • Organization-wide observability