> For the complete documentation index, see [llms.txt](https://docs.ilert.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ilert.com/integrations/inbound-integrations/aws-phd.md).

# AWS Personal Health Dashboard Integration

[AWS Personal Health Dashboard](https://aws.amazon.com/premiumsupport/technology/personal-health-dashboard/) provides alerts and remediation guidance when AWS is experiencing events that may impact you.

With ilert's AWS Personal Health Dashboard integration, you can automatically create alerts in ilert from problems in AWS Personal Health Dashboard. That way, you will never miss a critical alert and always alert the right person using ilert's on-call schedules, automatic escalation, and multiple alerting channels. When AWS Personal Health Dashboard reports an issue, ilert will alert the on-call person through their preferred channel, including SMS, phone calls, push notifications and Slack. ilert will automatically escalate to the next person, if the alert is not acknowledged. ilert also lets you define alerting rules based on support hours and delay alerts until your support hours start.

## In ilert: Create an AWS Personal Health Dashboard alert source <a href="#in-ilert" id="in-ilert"></a>

1. Go to **Alert sources** --> **Alert sources** and click on **Create new alert source**

   <figure><img src="https://4017197022-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FjX0cS4q7woTXKajZmc1W%2FScreenshot%202023-08-28%20at%2010.21.10.png?alt=media&#x26;token=8ef3666b-84eb-4b51-abee-f07303313941" alt=""><figcaption></figcaption></figure>
2. Search for **AWS Personal Health Dashboard** in the search field, click on the AWS Personal Health Dashboard tile and click on **Next**.

   <figure><img src="https://4017197022-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FlXzQlJpaTFSR49AZk0xA%2FScreenshot%202023-08-28%20at%2010.24.23.png?alt=media&#x26;token=cffeacb4-57b9-47d4-827d-b0f6b1afd914" alt=""><figcaption></figcaption></figure>
3. Give your alert source a name, optionally assign teams and click **Next**.
4. Select an **escalation policy** by creating a new one or assigning an existing one.

   <figure><img src="https://4017197022-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FNnuZqONaIhbOf6fn4OkZ%2FScreenshot%202023-08-28%20at%2011.37.47.png?alt=media&#x26;token=8a74f7b5-5bd2-4eea-97fa-1c1dbb041333" alt=""><figcaption></figcaption></figure>
5. Select you [Alert grouping](https://docs.ilert.com/alerting/alert-sources#alert-grouping) preference and click **Continue setup**. You may click **Do not group alerts** for now and change it later.

   <figure><img src="https://4017197022-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FueugN4JgHn1c90ggFA6u%2FScreenshot%202023-08-28%20at%2011.38.24.png?alt=media&#x26;token=b8009daf-3ca8-4264-a6fa-e42ef7333205" alt=""><figcaption></figcaption></figure>
6. The next page show additional settings such as customer alert templates or notification prioritiy. Click on **Finish setup** for now.
7. On the final page, an API key and / or webhook URL will be generated that you will need later in this guide.​

   <figure><img src="https://4017197022-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fi3TIOBvNYBQfDtNpmm0A%2FScreenshot%202023-08-28%20at%2011.47.34.png?alt=media&#x26;token=6cae965a-e448-4443-8c20-37cf501c43b2" alt=""><figcaption></figcaption></figure>

## In AWS: Create a SNS topic

> If you have already created an SNS topic for your AWS Personal Health Dashboard that you want to reuse, you can proceed to step 3.

1. In the SNS Dashboard click on **Create topic**

![](/files/-M9_-haOGynLkglQHp0u)

2. Name the topic and click on **Create topic**

![](/files/-M9_-l1v1trc7VRgiYnR)

3. Click on **Create subscription** on the Topic Detail page

![](/files/-M9_-oJ3TF30ektCAL1l)

4. In the **Topic ARN** section, ensure that the **SNS Topic** that you generated is selected
5. In the **Protocol** section, choose the **HTTPS** protocol
6. In the **Endpoint** section, paste the **Webhook URL** that you generated in ilert
7. In the **Enable raw message delivery** section, ensure that the checkbox is unchecked
8. Click on **Create subscription**

![](/files/-M9_-vLUIUZgMcJkSLWH)

9. The subscription is **automatically confirmed by ilert** when it is created. After updating the overview, the status "PendingConfirmation" should disappear, and the ID should be displayed.

## In AWS EventBridge: Create an Event bus Rule <a href="#create-phd-rule" id="create-phd-rule"></a>

AWS Health generates events that are relayed by AWS EventBridge. You now create an EventBridge rule that matches these events and publishes them to the SNS topic you created above.

1. In the AWS EventBridge console, click on **Rules** and then on **Create rule**.
2. Select **Advanced builder** as builder mode, enter a **Name** for the rule, leave the **default** event bus selected and click on **Next**.

<figure><img src="/files/y1Ic9px5rFWkGfzVwTZ9" alt=""><figcaption></figcaption></figure>

3. Select **Custom pattern (JSON editor)** as creation method, enter the following **Event pattern** and click on **Next**:

```json
{
    "source": ["aws.health"],
    "detail-type": ["AWS Health Event"]
}
```

<figure><img src="/files/wylIE0GqdiJ3btD4X4bI" alt=""><figcaption></figcaption></figure>

> To only receive events for specific AWS services, add a `service` filter to the `detail` object, e.g. `"detail": { "service": ["EC2", "RDS"] }`.

4. As **Target types** select **AWS service**, choose **SNS topic** as target, select the topic you created before and click on **Next**. You may skip the tags step.

<figure><img src="/files/emBhKBXOcocMHKPinC9h" alt=""><figcaption></figcaption></figure>

5. Review your settings and click on **Create rule** to finish the setup.

<figure><img src="/files/3Qhw5atLEtoItOQnXdH6" alt=""><figcaption></figcaption></figure>

## FAQ <a href="#faq" id="faq"></a>

**Will alerts in ilert be resolved automatically?**

Yes, as soon as the Personal Health Issue is solved in AWS, the alert in ilert will be closed.

**Can I link AWS Personal Health Dashboard to multiple alert sources in ilert?**

Yes, create an SNS topic subscription in AWS for each alert source.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ilert.com/integrations/inbound-integrations/aws-phd.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
