Updated on 2022-08-15 GMT+08:00

Configuring Notification 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 notification for an AS group, you need to specify a notification event and topic. You can configure up to five notifications for an AS group. The notification topic is pre-configured on the SMN console. When the live network complies with the notification scenario that matches the notification topic, the AS group sends a notification to the user.

Procedure

  1. Log in to the management console.
  1. Under Computing, click Auto Scaling. In the navigation pane on the left, choose Instance Scaling. Then 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.

    -

  4. Click OK.