Configure BlueXP workload factory notifications
You can configure the BlueXP workload factory notification service to send notifications to the BlueXP alerts service or to an Amazon SNS topic. Notifications sent to BlueXP alerts appear in the BlueXP alerts panel. When workload factory publishes notifications to an Amazon SNS topic, subscribers to the topic (such as people or other applications) receive the notifications at the endpoints configured for the topic (such as email or SMS messages).
Notification types and messages
Workload factory sends notifications for the following events:
Event | Description | Notification type | Severity | Workload | Resource type |
---|---|---|---|---|---|
Some database instances in your account are not well-architected |
All Microsoft SQL Server instances in your account have been analyzed for well-architected issues. The description for this event gives the number of well-architected instances and unoptimized instances. Review well-architected status findings and recommendations in the Databases inventory from the workload factory console. |
Well-architected |
Recommendation |
Databases |
Microsoft SQL Server instance |
Microsoft SQL Server/PostgreSQL server deployment succeeded |
The deployment of the Microsoft SQL Server or PostgreSQL host succeeded. For more information, go to job monitoring. |
Deployment |
Success |
Databases |
FSx for ONTAP, DB host |
Microsoft SQL Server/PostgreSQL server deployment failed |
The deployment of the Microsoft SQL Server or PostgreSQL host failed. For more information, go to job monitoring. |
Deployment |
Error |
Databases |
FSx for ONTAP, DB host |
Failed replication relationship creation |
A SnapMirror replication relationship creation has failed. For more information, go to Tracker. |
Replication |
Critical |
General storage |
FSx for ONTAP |
FSx for ONTAP creation failure |
An FSx for ONTAP file system creation process has failed. For more information, go to Tracker. |
FSx for ONTAP file system action |
Critical |
General storage |
FSx for ONTAP |
Configure workload factory notifications
Configure workload factory notifications using the BlueXP console or the workload factory console. If you use the BlueXP console, you can configure workload factory to send notifications to BlueXP alerts or to an Amazon SNS topic. You can configure BlueXP alerts from the Alerts and notifications settings area in BlueXP.
-
You need to configure Amazon SNS and create Amazon SNS topics using either the Amazon SNS console or the AWS CLI.
-
Note that workload factory supports the Standard topic type. This type of topic does not ensure that notifications are sent to subscribers in the order in which they were received, so consider this if you have critical or emergency notifications.
-
Log in to the BlueXP console.
-
Select Workloads from the left navigation.
-
Select Home to view all workloads or select one workload like Storage or Databases.
-
From the workload factory menu bar, select the configuration menu.
-
In the menu, select Workload Factory notification setup.
-
Optional: Select Enable BlueXP notifications to configure workload factory to send notifications to BlueXP alerts.
-
Select Enable SNS notifications.
-
Follow the instructions to configure Amazon SNS from the Amazon SNS console.
After you create the topic, copy the topic ARN and enter it in the SNS topic ARN field in the Notification setup dialog.
-
After you verify the configuration by sending a test notification, select Apply.
Workload factory is configured to send notifications to the Amazon SNS topic that you specified.
-
Log in to the workload factory console.
-
Open the account menu from the top navigation bar.
-
In the menu, select Notification setup.
-
Select Enable SNS notifications.
-
Follow the instructions to configure Amazon SNS from the Amazon SNS console.
-
After you verify the configuration by sending a test notification, select Apply.
Workload factory is configured to send notifications to the Amazon SNS topic that you specified.
Subscribe to the Amazon SNS topic
After you configure workload factory to send notifications to a topic, follow the instructions in the Amazon SNS documentation to subscribe to the topic so that you can receive notifications from workload factory.
Filter notifications
You can reduce unnecessary notification traffic and target specific notification types for specific users by applying filters to the notifications. You can do this using an Amazon SNS policy for SNS notifications, and using the BlueXP notifications settings for BlueXP notifications.
Filter Amazon SNS notifications
When you subscribe to an Amazon SNS topic, you receive all notifications published to that topic by default. If you want to receive only specific notifications from the topic, you can use a filter policy to control which notifications you receive. Filter policies cause Amazon SNS to deliver only the notifications that match the filter policy to the subscriber.
You can filter Amazon SNS notifications by the following criteria:
Description | Filter policy field name | Possible values |
---|---|---|
Resource type |
|
|
Workload |
|
|
Priority |
|
|
Notification type |
|
|
-
In the Amazon SNS console, edit the subscription details for the SNS topic.
-
In the Subscription filter policy area, select to filter by Message attributes.
-
Enable the Subscription filter policy option.
-
Enter a JSON filter policy in the JSON editor box.
For example, the following JSON filter policy accepts notifications from the Microsoft SQL Server resource that are related to the WLMDB workload, have a priority of Success or Error, and provide details on Well-architected status:
{ "accountId": [ "account-a" ], "resourceType": [ "Microsoft SQL Server host" ], "workload": [ "WLMDB" ], "priority": [ "Success", "Error" ], "notificationType": [ "Well-architected" ] }
-
Select Save changes.
For other examples of filter policies, refer to Amazon SNS example filter policies.
For further information about creating filter policies, refer to the Amazon SNS documentation.
Filter BlueXP notifications
You can use the BlueXP alerts and notifications settings to filter the alerts and notifications that you receive in BlueXP by severity level, such as Critical, Info, or Warning.
For more information about filtering notifications in BlueXP, refer to the BlueXP documentation.