# 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