Help Center> Auto Scaling> User Guide> AS Group and Instance Monitoring> Configuring Notifications for an AS Group
Updated on 2023-07-21 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 Compute, 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.

    N/A

  4. Click OK.