The application group feature allows you to manage resources from different services and regions by group. You can create application groups based on your business requirements. You can add resources such as servers and databases related to the same business to an application group, and manage alert rules by application group.

Background information

The following table describes the methods that you can use to create application groups and the Alibaba Cloud services that are supported by each method.
Creation method Description Supported Alibaba Cloud service
Create an application group based on tags If tags are attached to your instances, you can specify a tag-based matching rule to create an application group. All instances that match the rule are automatically added to the application group for you to manage. If an existing instance has a tag that is specified in the matching rule, an application group is automatically created for the tag. If a newly created instance has a tag that is specified in the matching rule, the instance is automatically added to the application group. Up to 3,000 instances can match a rule at a time.

For more information about how to create and attach tags in the Resource Management console, see Add a custom tag.

  • Elastic Compute Service (ECS)
  • ApsaraDB for Redis (standard architecture)
  • ApsaraDB for Redis (cluster architecture)
  • ApsaraDB for Redis (read/write splitting architecture)
  • ApsaraDB for MongoDB (replica set architecture)
  • ApsaraDB for MongoDB (sharded cluster architecture)
  • ApsaraDB for MongoDB (standalone instance architecture)
  • ApsaraDB RDS
  • ApsaraDB RDS for PostgreSQL
  • Server Load Balancer (SLB)
  • Elasticsearch
  • PolarDB for MySQL
  • AnalyticDB for PostgreSQL
  • AnalyticDB for MySQL V3.0
  • Function Compute
  • E-MapReduce
  • Anti-DDoS Pro
  • CDN
  • Express Connect
  • Elastic IP Address (EIP)
  • EIP Bandwidth Plan
  • NAT Gateway
Manually create an application group You can create a standard application group to manage existing instances based on your business requirements. Supported cloud services
Create an application group based on instance names You can specify an instance name-based matching rule to create an application group. All instances that match the rule are automatically added to the application group for you to manage.
  • Elastic Compute Service (ECS)
  • ApsaraDB RDS
  • Server Load Balancer (SLB)
  • ApsaraDB for Redis (standard architecture)
  • ApsaraDB for Redis (cluster architecture)
  • ApsaraDB for Redis (read/write splitting architecture)
  • PolarDB for MySQL
  • ApsaraDB for MongoDB (replica set architecture)
  • ApsaraDB for MongoDB (sharded cluster architecture)
  • ApsaraDB for MongoDB (standalone instance architecture)
Create an application group from a resource group If you have specified a resource group, you can create an application group from the resource group. All instances in the resource group are added to the application group for you to manage.

For information about how to create a resource group in the Resource Management console, see Create a resource group.

  • Elastic Compute Service (ECS)
  • ApsaraDB RDS
  • Server Load Balancer (SLB)
  • Elastic IP Address (EIP)
  • Anti-DDoS Pro
  • CDN
  • EIP Bandwidth Plan
  • PolarDB for MySQL
  • ApsaraDB for Redis (standard architecture)
  • ApsaraDB for Redis (cluster architecture)
  • ApsaraDB for Redis (read/write splitting architecture)
  • ApsaraDB for MongoDB (replica set architecture)
  • ApsaraDB for MongoDB (sharded cluster architecture)
  • ApsaraDB for MongoDB (standalone instance architecture)
  • Web Application Firewall (WAF)

Create an application group based on tags

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, click Application Groups.
  3. On the Application Group tab, click the Create icon or Create Group.
  4. In the Create Group panel, set the Creation Method parameter to Standard Group Creation and set other parameters.
    Parameter Description
    Application Group Name CloudMonitor automatically generates an application group name.
    Region The region where the application group resides.
    Resource Tag Key The tag key of the instance. You can specify a matching rule based on the tag key and tag value of a resource to automatically add instances.
    Tag Value The tag value of the instance. You can specify a matching rule based on the tag key and tag value of a resource to automatically add instances.

    Instances whose tag values contain, start with, end with, do not contain, or equal to the value you specify are automatically added to the application group. If you set the Tag Value parameter to All, all instances with the specified tag are added to the application group. A newly created instance that matches the rule is also added to the application group.

    Initialize Agent Installation After you turn on Initialize Agent Installation, CloudMonitor automatically installs the CloudMonitor agent on the instances in the application group to collect monitoring data from the instances.

    By default, Initialize Agent Installation is turned on.

    Receive Event Notifications After you select Receive Event Notifications, CloudMonitor automatically sends alert notifications to you if critical or warning events occur on the instances added to the application group.

    By default, Receive Event Notifications is turned on.

    Alert Contact Group The contact group to which alert notifications are sent.

    For more information, see Create an alert contact group.

    Alert Template You can initialize alert rules of the application group by using an alert template.

    For more information, see Create an alert template.

  5. Click OK.
    On the Application Group tab, you can view the created application group.

Manually create an application group

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, click Application Groups.
  3. On the Application Group tab, click the Create icon or Create Group.
  4. In the Create Group panel, set the Creation Method parameter to Manually Create and set other parameters.
    Parameter Description
    Application Group Name The name of the application group.
    Initialize Agent Installation After you turn on Initialize Agent Installation, CloudMonitor automatically installs the CloudMonitor agent on the instances in the application group to collect monitoring data from the instances.

    By default, Initialize Agent Installation is turned on.

    Receive Event Notifications When you select Receive Event Notifications, CloudMonitor automatically sends alert notifications to you when critical or warning events occur on the instances added to the application group.

    By default, Receive Event Notifications is turned on.

    Alert Contact Group The contact group to which alert notifications are sent.

    For more information, see Create an alert contact group.

  5. Click OK.
  6. On the Group Resource page of the application group, click Add Product.
  7. In the Add/Modify Group Resources panel, select the cloud services and instances that are associated with the application group.
  8. Click OK.
    On the Group Resource page of the application group, you can view the information about the added cloud services and instances.
  9. On the Group Resource page of the application group, click the Back icon to return to the Application Groups page.
    On the Application Group tab, you can view the created application group.

Create an application group based on instance names

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, click Application Groups.
  3. On the Application Group tab, click the Create icon or Create Group.
  4. In the Create Group panel, set the Creation Method parameter to Create Based on Instance Name and set other parameters.
    Parameter Description
    Application Group Name The name of the application group.
    Dynamically Add Instances Specify the matching rule. CloudMonitor automatically adds instances to the application group based on the names of the cloud services and instances.

    You can click Add Rules to configure multiple rules. Turn on Meet All Conditions or Meet Any Condition based on your needs.

    Initialize Agent Installation After you turn on Initialize Agent Installation, CloudMonitor automatically installs the CloudMonitor agent on the instances in the application group to collect monitoring data from the instances.

    By default, Initialize Agent Installation is turned on.

    Receive Event Notifications When you select Receive Event Notifications, CloudMonitor automatically sends alert notifications to you when critical or warning events occur on the instances added to the application group.

    By default, Receive Event Notifications is turned on.

    Alert Contact Group The contact group to which alert notifications are sent.

    For more information, see Create an alert contact group.

  5. Click OK.
    On the Group Resource page of the application group, you can view the information about the added cloud services and instances.
  6. On the Group Resource page of the application group, click the Back icon to return to the Application Groups page.
    On the Application Group tab, you can view the created application group.

Create an application group from a resource group

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, click Application Groups.
  3. On the Application Group tab, click the Create icon or Create Group.
  4. In the Create Group panel, set the Creation Method parameter to Create from Resource Group and set other parameters.
    Parameter Description
    Application Group Name Select a resource group that is created in the Resource Management console.

    For information about how to create a resource group in the Resource Management console, see Create a resource group.

    Alert Contact Group The contact group to which alert notifications are sent.

    For more information, see Create an alert contact group.

    Initialize Agent Installation After you turn on Initialize Agent Installation, CloudMonitor automatically installs the CloudMonitor agent on the instances in the application group to collect monitoring data from the instances.

    By default, Initialize Agent Installation is turned on.

    Receive Event Notifications When you select Receive Event Notifications, CloudMonitor automatically sends alert notifications to you when critical or warning events occur on the instances added to the application group.

    By default, Receive Event Notifications is turned on.

  5. Click OK.
    On the Application Group tab, you can view the created application group.