Updated on 2024-03-05 GMT+08:00

Configuring Notifications for an AS Group

Scenarios

After the SMN service is provisioned, you can promptly send AS group information, such as successful instance increasing, failed instance increasing, successful instance decreasing, failed instance decreasing, or AS group exception to the user using the SMN service. This helps the user learn the AS group status.

To configure notifications for an AS group, you need to specify a notification event and topic. You need to create a notification topic on the SMN console. When the notification scenario matched with the notification topic appears, the AS group sends a notification to the subscribers.

A maximum of five notifications can be configured for an AS group.

Procedure

  1. Log in to the management console.
  1. Under Computing, click Auto Scaling. Then, on the Auto Scaling page, click the AS Groups tab.
  2. Click the name of the target AS group. On the AS group details page, click the Notifications tab and then click Add Notification.
  3. Set the parameters listed in Table 1.
    Table 1 Parameter description

    Parameter

    Description

    Example Value

    Event

    When at least one of the following conditions is met, SMN sends a notification to the user:

    • Instance creation succeeds
    • Instance removal succeeds
    • Errors occur in an AS group
    • Instance creation fails
    • Instance removal fails

    N/A

    Topic

    Select a created topic. For details about how to create a topic, see "Creating a Topic" in Simple Message Notification User Guide.

    N/A

  4. Click OK.