Logo Aws Health Events

Aws Health Events

Tổ chức
aws
aws-health-events

ALWAYS use this skill in the beginning of any incident investigation, root cause analysis, or operational troubleshooting. This skill retrieves and analyzes AWS Health events (service issues, scheduled changes, and account notifications) to identify AWS-side events that may explain or correlate with observed operational issues. Activate this skill when investigating an issue and you observe service degradation, elevated error rates, latency spikes, connection failures, throttling, capacity issues, deployment-related failures, alarms, or any operational event or issue. This skill searches AWS Health events by service, time window, region, and status to surface active or recent service disruptions, scheduled maintenance, and account-specific notifications that inform the current investigation. Also activate when a user requests a health event summary or report for their account over a specified time period.

Tổng quan

Nhà phát hànhaws
Kho mãtools-for-devops-agent
Tên kỹ năngaws-health-events
Sao
120
Bản fork
97
Tệp đi kèm
7
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 7 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được aws công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Aws Health Events trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/aws/tools-for-devops-agent/tree/main/skills/aws-health-events
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aws/tools-for-devops-agent.git /tmp/tools-for-devops-agent
mkdir -p .claude/skills
cp -r /tmp/tools-for-devops-agent/skills/aws-health-events .claude/skills/aws-health-events
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Aws Health Events trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Aws Health Events ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Aws Health Events với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

AWS Health Event Review

Use this skill when investigating an incident and you need to check for AWS-side service events that may be causing or contributing to the observed issue. Also use this skill when a user requests a summary report of AWS Health events over a configurable time period.

When to Use This Skill

Incident Investigation (automatic activation):

  • An active incident may be caused by an AWS service disruption or degradation.
  • You observe service degradation, elevated error rates, latency spikes, connection failures, throttling, or capacity issues.
  • You need to determine whether an AWS-side event is the root cause or a contributing factor to the current incident.
  • You want to correlate observed symptoms with known AWS Health events.

Chat Reporting (on-demand activation):

  • A user requests a health event summary or report for their account.
  • A user wants to review the health posture of their AWS environment over a specific time period.
  • A user asks about recent AWS service issues affecting their account or region.

Prerequisites

  • The account must have an AWS Business Support+, Enterprise Support, or Unified Operations support plan to access the AWS Health API.
  • The agent must have permissions to call the following IAM actions:
    • health:DescribeEvents
    • health:DescribeEventDetails
    • health:DescribeAffectedEntities
    • health:DescribeEventTypes
  • The AWS Health API is only available in the us-east-1 region. All API calls must target the us-east-1 endpoint regardless of where the affected resources are located.
  • Health event data is available for up to 90 days. Events older than 90 days cannot be retrieved via the API.

Step 1: Gather Incident Context

Before searching Health events, extract key details from the current incident:

  1. Affected AWS services — identify the service(s) experiencing issues (e.g., EC2, RDS, Lambda, ELB, ECS).
  2. Timeframe — determine when the incident started and its current duration. Use ISO 8601 timestamps.
  3. Affected resources — collect specific resource identifiers (instance IDs, ARNs, endpoint names, cluster names).
  4. Region and availability zone — identify the AWS region and, if known, the specific availability zone(s) affected.
  5. Symptoms — note the observed symptoms (latency spikes, 5xx errors, connection timeouts, throttling, capacity errors).

Use these details as filter criteria in subsequent steps.


Step 2: Search Health Events

Use the AWS Health API DescribeEvents operation to retrieve events matching the incident context. All calls must target the us-east-1 endpoint.

API call pattern

aws health describe-events \
  --region us-east-1 \
  --filter '{
    "services": ["<SERVICE_CODE>"],
    "startTimes": [{"from": "<ISO-8601-start>"}],
    "regions": ["<affected-region>"],
    "eventStatusCodes": ["open", "closed"],
    "eventTypeCategories": ["issue", "scheduledChange", "accountNotification"]
  }' \
  --max-results 100

Filtering strategies

StrategyHow to Apply
By serviceUse the services filter with the AWS Health service code (e.g., EC2, RDS, ELASTICLOADBALANCING), because service-specific events are most likely to correlate with the incident.
By time rangeUse startTimes with a from value set to 7 days before the incident start, because events that started before the incident may still be active and causing impact.
By regionUse the regions filter to scope events to the affected region, because regional events are more likely to impact the specific resources under investigation.
By availability zoneUse the availabilityZones filter when the incident is isolated to a specific AZ, because AZ-scoped events have the highest correlation with AZ-specific failures.
By statusInclude both open and closed statuses, because recently closed events may have caused residual impact that is still being observed.
By event scopeInclude both ACCOUNT_SPECIFIC and PUBLIC events, because public service events affect all accounts in the region while account-specific events target your resources directly.

Pagination handling

  • Follow the nextToken from each response to retrieve subsequent pages.
  • Continue paginating until nextToken is null or a maximum of 500 events have been collected.
  • Set maxResults to 100 per page for efficient retrieval.

Step 3: Filter Relevant Events

Before retrieving full event details, filter the events returned in Step 2 to identify only those relevant to the current investigation. This avoids unnecessary DescribeEventDetails calls for events that are clearly unrelated.

Relevance filtering criteria

Evaluate each event from the DescribeEvents response using these fields (available without calling DescribeEventDetails):

FieldRelevance Signal
serviceMust match one of the affected services from the incident context, or a related service from the Service Dependency Map
eventTypeCategoryPrioritize issue events for active incidents; include scheduledChange if the incident coincides with a maintenance window
eventTypeCodeMatch against known operational event patterns (e.g., AWS_EC2_OPERATIONAL_ISSUE, AWS_RDS_MAINTENANCE)
statusCodePrioritize open events; include closed only if the event ended within 2 hours of the incident start
startTime / endTimeThe event's active period must overlap with the incident timeframe
region / availabilityZoneMust match the incident's affected region or AZ

Filtering rules

  1. Keep events where the service matches an affected service or a related service from the Service Dependency Map.
  2. Keep events where the active period (startTime to endTime, or to present if open) overlaps with the incident timeframe.
  3. Keep events where the region or availabilityZone matches the incident's affected region/AZ.
  4. Discard accountNotification events unless the incident context specifically suggests an account-level issue (e.g., abuse notification, certificate expiry).
  5. Discard closed events that ended more than 2 hours before the incident started (unlikely to be contributing).

Result

After filtering, proceed to Step 4 only with the relevant subset of events. If all events are filtered out, report that no relevant Health events were found and suggest alternative investigation paths (see Step 7).


Step 4: Get Event Details

For each relevant event identified in Step 3, retrieve full descriptions and timelines using DescribeEventDetails.

API call pattern

aws health describe-event-details \
  --region us-east-1 \
  --event-arns '["<arn-1>", "<arn-2>", ..., "<arn-10>"]'

Batching rules

  • The API accepts a maximum of 10 event ARNs per request.
  • If more than 10 relevant events need details, issue multiple batched calls of up to 10 ARNs each until all relevant events are detailed.

Extract from each event detail

  • Event description — the latestDescription text explaining the event.
  • Timeline — start time, end time (null if ongoing), last updated time.
  • Status — current status (open, closed, upcoming).
  • Service and region — confirm the affected service and region.
  • Event type — the category (issue, scheduledChange, accountNotification) and specific type code.

Handling failedSet

  • The response contains a successfulSet and a failedSet.
  • If any event ARNs appear in failedSet, report the failed ARN and error message to the operator.
  • Continue processing all events from successfulSet without blocking on failures.

Step 5: Identify Affected Entities

For events with eventScopeCode of ACCOUNT_SPECIFIC, retrieve the list of affected resources using DescribeAffectedEntities.

Important: Only call DescribeAffectedEntities for ACCOUNT_SPECIFIC events. PUBLIC events do not return entity data.

API call pattern

aws health describe-affected-entities \
  --region us-east-1 \
  --filter '{"eventArns": ["<event-arn>"]}'
  --max-results 100

Entity matching

When the incident context includes specific resource identifiers:

  1. Retrieve all affected entities for the event (paginate up to 500 entities per event using nextToken).
  2. Perform exact string matching of each entity's entityValue against the incident context resource identifiers.
  3. Present matched entities in a separate section before non-matched entities.
  4. Include entity status (IMPAIRED, UNIMPAIRED, UNKNOWN, PENDING) and last updated time for each entity.

Error handling

  • If DescribeAffectedEntities returns an error for a specific event ARN, report the event ARN that failed and continue processing remaining events.

Step 6: Correlate with Incident

Score each Health event for relevance to the current incident using the following criteria:

Relevance scoring

ClassificationCriteriaLabel
HighMatching service + overlapping timeframe + matching affected resource (or matching region/AZ if no resource IDs available)Likely contributing factor (if event is open)
MediumMatching service + overlapping timeframe (no resource match)Likely contributing factor (if event is open)
LowMatching service only (no timeframe overlap)Background context

Scoring rules

  • Service match: The event's service code matches one of the affected services from the incident context.
  • Timeframe overlap: The event's active period (start time through end time, or through present if still open) intersects with the incident's timeframe (start time through end time, or through present if ongoing).
  • Region/AZ match: The event's region or availability zone matches the incident's affected region or AZ.
  • Resource match: At least one affected entity's entityValue matches a resource identifier from the incident context.

Contributing factor labeling

  • Any open event classified as High or Medium relevance SHALL be labeled as a "likely contributing factor" in addition to its relevance classification.
  • Closed events with High relevance should be noted as potential recent causes if the incident started shortly after the event closed.

When resource identifiers are unavailable

If the incident context does not include specific resource identifiers, score relevance using only service, timeframe, and region/AZ factors:

  • High: Matching service + overlapping timeframe + matching region or AZ
  • Medium: Matching service + overlapping timeframe
  • Low: Matching service only

Step 7: Present Structured Output

Present findings in a clear, structured format organized for quick comprehension and action.

Output structure

  1. Summary — total events found, broken down by category and status.
  2. Correlated events — grouped by event type category in this order:
    • Issues (service disruptions) — present first
    • Scheduled changes (maintenance) — present second
    • Account notifications — present last
  3. Within each group — sort by:
    • Relevance classification (High → Medium → Low)
    • Then by start time descending (most recent first)
  4. Per event — include:
    • Event type category and service
    • Region and availability zone (if applicable)
    • Status (open/closed/upcoming)
    • Start time and end time (ISO 8601)
    • Description (summarized to 256 characters max)
    • Relevance classification and matching criteria
    • Contributing factor label (if applicable)
  5. Actionable next steps — for each correlated event, include at least one recommendation such as:
    • Check specific affected resources
    • Review related service limits or quotas
    • Verify recent configuration changes
    • Monitor the AWS Health Dashboard for updates
    • Contact AWS Support if the event is ongoing

When no events are found

If no relevant Health events are identified:

  • Explicitly state that no matching AWS Health events were found.
  • Confirm the search parameters used (service, time range, region).
  • Recommend checking other potential causes:
    • Recent deployments or configuration changes
    • Resource limits or quota exhaustion
    • Network connectivity issues
    • Application-level errors

Decision Tree: Event Search Strategy

Is this a chat-based health report request?
├── YES → Search the user-specified time period (default 30 days, max 90 days)
│         Organize results by category, service, and status
│         Present as a summary report
└── NO → Continue with incident investigation flow below

Is the affected AWS service known?
├── YES → Search events for that service within the past 7 days
│   ├── Events found → Proceed to Step 3 (Filter Relevant Events)
│   └── No events found → Broaden to related services (see Service Dependency Map)
│       ├── Events found → Proceed to Step 3
│       └── No events found → Expand time window to 14 days and retry
│           ├── Events found → Proceed to Step 3
│           └── No events found → Report no events found, suggest other investigation paths
└── NO → Search all services filtered by region and availability zone (past 7 days)
    ├── Events found → Proceed to Step 3
    └── No events found → Expand time window to 14 days
        ├── Events found → Proceed to Step 3
        └── No events found → Report no events found, suggest other investigation paths

Does the incident involve a specific availability zone?
├── YES → Include the AZ filter in all searches above
└── NO → Filter by region only

Service Dependency Map

When the initial service-specific search returns no results, broaden the search to related services that share infrastructure dependencies:

Primary ServiceRelated Services to Check
ELB / ALB / NLBEC2, VPC, Route 53
RDSEC2, EBS
ECS / EKSEC2, VPC, ELB
LambdaVPC, CloudWatch
CloudFrontS3, Route 53
API GatewayLambda, VPC
ElastiCacheEC2, VPC
DynamoDBVPC (if VPC endpoints used)
S3CloudFront, VPC (if VPC endpoints used)
KinesisEC2, VPC

Search up to 3 related services when broadening. Use the Health API service codes from the references document (e.g., ELASTICLOADBALANCING for ELB, ROUTE53 for Route 53).


Error Handling

Error ConditionAgent Behavior
Missing health:Describe* permissionsReport the missing permissions and specify the required IAM actions: health:DescribeEvents, health:DescribeEventDetails, health:DescribeAffectedEntities, health:DescribeEventTypes. Provide the IAM policy snippet needed.
Throttling (HTTP 429)Retry with exponential backoff: wait 1s → 2s → 4s (max 3 retries). If still throttled after 3 retries, report that the Health API is currently rate-limited and recommend trying again shortly.
Service error (HTTP 5xx)Report the error code and recommend the operator check the AWS Health Dashboard directly as a fallback.
Timeout (30 seconds)Cancel the request and report a timeout error. Suggest the operator check the Health Dashboard directly or retry with narrower filters.
Zero events foundReport that no events matched the specified filters. Confirm the search parameters used. Suggest broadening the search or checking other investigation paths.
Invalid time range (start > end)Report the invalid time range error. Ask the operator to provide corrected timestamps.
DescribeEventDetails failedSetReport the failed event ARNs and error messages. Continue processing events from the successfulSet.
DescribeAffectedEntities errorReport the event ARN for which entity retrieval failed. Continue processing remaining events.
Unknown service name (chat report)Inform the user the service was not recognized. List services that have events in the requested time period.

Tips for Effective Health Event Review

  • Always check us-east-1: The Health API endpoint is only in us-east-1, regardless of where your resources are located.
  • Start narrow, then broaden: Begin with the specific affected service and a 7-day window. Only expand if no results are found.
  • Check both open and closed events: A recently closed event may still be causing residual impact.
  • Correlate with support cases: If a Health event references a service disruption, check if related support cases exist using the support-cases skill.
  • Account-specific vs public events: Account-specific events directly affect your resources. Public events are service-wide but may still impact you.
  • Look at scheduled changes: Upcoming or recent maintenance windows can explain transient issues that resolve on their own.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Aws Health Events làm được gì?

ALWAYS use this skill in the beginning of any incident investigation, root cause analysis, or operational troubleshooting. This skill retrieves and analyzes AWS Health events (service issues, scheduled changes, and account notifications) to identify AWS-side events that may explain or correlate with observed operational issues. Activate this skill when investigating an issue and you observe service degradation, elevated error rates, latency spikes, connection failures, throttling, capacity issues, deployment-related failures, alarms, or any operational event or issue. This skill searches AW...

Vì sao nên dùng Aws Health Events trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Aws Health Events là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Aws Health Events trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/aws/tools-for-devops-agent/tree/main/skills/aws-health-events. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Aws Health Events?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Aws Health Events với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Aws Health Events với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Aws Health Events có miễn phí không?

Có. Kỹ năng này được aws phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇