AWS Health Dashboard

CloudWatch watches your systems. This watches AWS's systems, and — the part that matters — tells you which of your resources are in the blast radius. It is also where AWS announces the maintenance it is about to do to you: instance retirements, forced reboots, certificate rotations.

CloudWatch canh hệ thống của bạn. Cái này canh hệ thống của AWS, và — phần quan trọng nhất — chỉ ra tài nguyên nào của bạn nằm trong bán kính ảnh hưởng. Đây cũng là nơi AWS thông báo những việc bảo trì sắp làm với bạn: instance bị thu hồi, bắt buộc reboot, xoay vòng chứng chỉ.

Reach for itNên dùng

  • "Is it us or is it AWS?" — and if it's AWS, which of our resources."Lỗi của mình hay của AWS?" — và nếu là AWS thì tài nguyên nào của mình.
  • Reacting to scheduled maintenance before it reboots something at 3 a.m.Phản ứng với bảo trì theo lịch trước khi nó reboot cái gì đó lúc 3 giờ sáng.
  • One Organization-wide feed of AWS-side events across many accounts.Một luồng chung cho cả Organization về các sự kiện phía AWS trên nhiều account.
  • Pushing AWS events into Slack, Jira or ServiceNow automatically.Tự động đẩy sự kiện AWS vào Slack, Jira hay ServiceNow.

Not the right toolKhông phải công cụ này

  • Health of your own application → CloudWatch alarms and Synthetics.Sức khoẻ ứng dụng của chính bạn → CloudWatch alarm và Synthetics.
  • Cost, quota and security advice → Trusted Advisor. Different service, easy to mix up.Khuyến nghị chi phí, quota, bảo mật → Trusted Advisor. Service khác, rất dễ nhầm.
  • A record of who did what in your account → CloudTrail.Bản ghi ai làm gì trong account → CloudTrail.
  • An SLA credit — the dashboard is information, the claim goes through Support.Bồi hoàn SLA — dashboard chỉ là thông tin, muốn đòi thì qua Support.

1 · Two dashboards, one name1 · Hai dashboard, một cái tên

The distinction the exam actually tests: a public event says "S3 is degraded in eu-west-1" — true for everyone, useless for deciding what to do. An account-specific event says "these four of your instances are affected, here is the action" — that one is worth waking someone up for. Điểm phân biệt mà đề thi thật sự hỏi: sự kiện public nói "S3 đang suy giảm ở eu-west-1" — đúng với tất cả mọi người, nhưng vô dụng khi cần quyết định làm gì. Sự kiện account-specific nói "bốn instance này của bạn bị ảnh hưởng, đây là việc cần làm" — cái đó mới đáng đánh thức người ta dậy.

Left: the public service health view, identical for every customer. Right: your account health view, listing the specific affected resources in your account Service health · public Your account health · personal eventScopeCode = PUBLIC eventScopeCode = ACCOUNT_SPECIFIC Amazon S3 · eu-west-1 Elevated error rates · investigating same text for every AWS customer EC2 · scheduled instance retirement affected entities in YOUR account: i-0a91… · i-0b47… · i-0c02… action: stop/start before 12 Aug this is the part nobody else can see answers "is AWS having a bad day?" who sees it everyone · no sign-in needed history: public post-event summaries answers "does it hit me, and what do I do?" who sees it only your account · signed in free · global service · no setup at all

Both are free and need no setup. The right-hand column is the one worth automating, because it already contains the resource IDs.

Cả hai đều miễn phí và không cần cài đặt gì. Cột bên phải mới là cái đáng tự động hoá, vì nó đã chứa sẵn ID của tài nguyên.

  • It is a global service, but events carry a Region. That matters as soon as you write EventBridge rules — see section 3.Đây là dịch vụ global, nhưng sự kiện có gắn Region. Điều đó quan trọng ngay khi bạn viết rule EventBridge — xem mục 3.
  • The affected entities list is the whole value proposition. A status page tells you a service is degraded; only this tells you it's your volume.Danh sách affected entities chính là toàn bộ giá trị của nó. Trang trạng thái chỉ nói service đang suy giảm; chỉ cái này nói đó là volume của bạn.
  • Renamed from Personal Health Dashboard — same thing, and exam questions may still use the old name.Đổi tên từ Personal Health Dashboard — vẫn là nó, và đề thi có thể vẫn dùng tên cũ.

2 · What an event looks like2 · Một sự kiện trông như thế nào

Anatomy of an AWS Health event: service, region, category, scope code, timing, affected entities and the identifiers used for deduplication service EC2 region ap-southeast-1 category scheduledChange scope ACCOUNT_SPECIFIC typeCode AWS_EC2_PERSISTENT_INSTANCE_RETIREMENT_SCHEDULED window starts 12 Aug 03:00 UTC · ends 12 Aug 05:00 UTC entities i-0a91c7… · i-0b47f2… — the list you act on the three categories issue something is broken now scheduledChange AWS will do this to you, on a date accountNotification admin news, no outage

The category tells you the urgency; the entity list tells you the work. Everything else is routing metadata.

Category cho biết mức khẩn cấp; danh sách entity cho biết phải làm gì. Phần còn lại là metadata để định tuyến.

Way inĐường vào Who can use itAi dùng được Good forHợp với
Dashboard (console)Dashboard (console) Every customer, free, no setupMọi khách hàng, miễn phí, không cần cài đặt Looking, during an incidentNgồi nhìn, lúc đang có sự cố
EventBridge Every customer, freeMọi khách hàng, miễn phí Reacting — notify, ticket, remediatePhản ứng — báo, mở ticket, tự xử lý
AWS Health APIAWS Health API Business / Enterprise On-Ramp / Enterprise support onlyChỉ gói Business / Enterprise On-Ramp / Enterprise Pulling history into your own dashboard or CMDBKéo lịch sử về dashboard hay CMDB của bạn
Organizational viewOrganizational view Management account or delegated administratorManagement account hoặc delegated administrator One feed across every accountMột luồng cho toàn bộ account

3 · Automating it — and the Region trap3 · Tự động hoá — và cái bẫy Region

Health events are an EventBridge source like any other: "source": ["aws.health"]. The trap is where you put the rule. Events land in the Region they concern, so a single rule in one Region quietly misses the rest of the world — and global events, such as IAM, only ever land in us-east-1. Health event là một source của EventBridge như mọi source khác: "source": ["aws.health"]. Cái bẫy nằm ở đặt rule ở đâu. Sự kiện rơi vào đúng Region mà nó liên quan, nên một rule duy nhất ở một Region sẽ âm thầm bỏ sót phần còn lại của thế giới — và sự kiện global, ví dụ của IAM, chỉ rơi vào us-east-1.

AWS Health emits events to EventBridge, which fans out to Lambda, SNS, SQS and Kinesis; below, the rules about which Region receives which events AWS Health event raised EventBridge rule source: aws.health Lambda SNS SQS Kinesis → Slack message · Jira ticket · stop and start the affected instances where the rule has to live regional events land in the Region they affect — one rule per Region you care about global events · IAM and friends only ever delivered to us-east-1 — no rule there means you never hear about them backup Region every Region also copies to us-west-2 (and us-west-2 copies to us-east-1) — so the alert survives the outage one rule for everything a single rule in us-west-2 collects account-specific events from all Regions — but not public ones

Duplicates are the price of the backup Region: deduplicate on the event ARN or communication ID, or filter out backup copies.

Trùng lặp là cái giá của Region dự phòng: khử trùng bằng event ARN hoặc communication ID, hoặc lọc bỏ bản sao dự phòng.

  • The rule must match "source": ["aws.health"] exactly — a wildcard like aws.health* matches nothing.Rule phải khớp "source": ["aws.health"] chính xác — dùng wildcard kiểu aws.health* thì không khớp gì cả.
  • A rule receives events for its own account only. Cross-account is what organizational view is for — it doesn't happen by accident.Một rule chỉ nhận sự kiện của chính account đó. Xuyên account là việc của organizational view — không tự nhiên mà có.
  • Filter on scope when you only want actionable things: detail.eventScopeCode = "ACCOUNT_SPECIFIC" keeps the noise of the public status page out of your on-call channel.Lọc theo scope khi chỉ muốn thứ cần hành động: detail.eventScopeCode = "ACCOUNT_SPECIFIC" giữ cho kênh trực không bị ồn vì trang trạng thái công khai.
  • Delivery is at least once — your handler must be idempotent. Restarting the same instance twice because the backup Region also fired is a self-inflicted incident.Giao nhận theo kiểu ít nhất một lần — handler phải idempotent. Restart cùng một instance hai lần vì Region dự phòng cũng bắn là tự gây sự cố cho mình.
The classic exam scenarioKịch bản kinh điển trong đề "We want to be told automatically when AWS schedules maintenance or retirement on our EC2 instances, across all accounts in our Organization, with no polling." → turn on organizational view, create an EventBridge rule on aws.health in the management or delegated administrator account, target SNS (or a Lambda that files the ticket). Not the Health API — that's polling, and it needs a paid support plan. "Chúng tôi muốn được báo tự động khi AWS lên lịch bảo trì hoặc thu hồi EC2 instance, trên tất cả account trong Organization, không phải polling." → bật organizational view, tạo EventBridge rule trên aws.health ở management account hoặc delegated administrator, target là SNS (hoặc Lambda để mở ticket). Không phải Health API — cái đó là polling, và cần gói support trả phí.

Exam reflexesPhản xạ khi thi

  • "Which of our resources is affected by the AWS outage?" → account health view / affected entities. A public status page can't answer that."Tài nguyên nào của chúng tôi bị ảnh hưởng bởi sự cố của AWS?" → account health view / affected entities. Trang trạng thái công khai không trả lời được.
  • "Notify us automatically about AWS-side events" → EventBridge on aws.health → SNS / Lambda. Free, no support plan needed."Báo tự động về các sự kiện phía AWS" → EventBridge trên aws.health → SNS / Lambda. Miễn phí, không cần gói support.
  • "Ingest health events into our own monitoring system / query history programmatically" → AWS Health API → requires Business or Enterprise support."Đưa health event vào hệ thống giám sát của chúng tôi / truy vấn lịch sử bằng code" → AWS Health API → cần gói Business hoặc Enterprise.
  • "Hundreds of accounts, one place to see AWS events" → organizational view from the management account or a delegated administrator."Hàng trăm account, một chỗ để nhìn sự kiện AWS" → organizational view từ management account hoặc delegated administrator.
  • "We missed an IAM notification" → the rule wasn't in us-east-1, where global events land."Chúng tôi bỏ lỡ một thông báo về IAM" → rule không đặt ở us-east-1, nơi sự kiện global rơi vào.
  • Careful with lookalikes: Trusted Advisor = advice on cost, quotas and security. CloudWatch = your workload. Health = AWS's side, and its blast radius on you.Cẩn thận với mấy cái giống nhau: Trusted Advisor = khuyến nghị về chi phí, quota, bảo mật. CloudWatch = workload của bạn. Health = phía AWS, và bán kính ảnh hưởng lên bạn.
RelatedLiên quan The bus and the rule syntax: EventBridge. Alarms on your own workload: CloudWatch. Instance retirement and recovery: EC2. Bus và cú pháp rule: EventBridge. Alarm trên workload của chính bạn: CloudWatch. Thu hồi và khôi phục instance: EC2.