If you use multiple types of cloud services, you can add all related resources, such as ECSs, BMSs, EVS disks, EIPs, bandwidths, and databases to the same resource group for easier management and O&M.
Constraints
- You can create up to 1,000 resource groups.
- Each resource group can contain 1 to 10,000 cloud service resources.
- You can add limited number of resources of different types to a resource group. For details, see the tips on the Cloud Eye console.
- After a resource group is created, it takes about three hours for the new resource group rule to be applied.
Creating a Resource Group
- Log in to the Cloud Eye console.
- In the navigation pane, choose Resource Groups.
- In the upper right corner, click Create Resource Group.
- On the Create Resource Group page, enter a group name. Select the way you want to add a resource and define resource matching rule as required. Supported cloud services vary with how resources are added. For details, see Cloud Services Supported by Resource Groups.
Creating a Resource Group by Matching Resources by Instance Name
- Select Automatically for Add Resources.
- Select Instance name for Match Resources By and set other parameters based on Table 1.
Table 1 Parameters for adding resources by instance name
Parameter |
Description |
Example Value |
Cloud Product |
Select the cloud product where the instance is located and configure resource matching rules.
You can select one or more cloud products. For each product, you can add up to 50 combination conditions. You can select any or all combination conditions. The relationship between different cloud products is OR.
You can select Equal, All, Include, Prefix, Suffix, or Not include. If All is selected, all instances of the cloud product are selected, and you do not need to enter an instance name.
The instance name can contain a maximum of 128 characters, including only letters, digits, underscores (_), periods (.), and hyphens (-). |
Elastic Cloud Server - ECSs
Add to the resource group when any combined condition is met
Instance Name Equal test1 |
Case Insensitive |
Whether to configure case-insensitive matching for resources by instance name. This function is enabled by default.
NOTE:
This feature is only available in certain regions. You can see these regions on the console.
|
Enabled |
Enterprise Project |
Enterprise project that the resource group belongs to |
default |
- (Optional) After the basic configuration is complete, select whether to associate the custom metric alarm template in the Advanced Settings area. For parameter details, see (Optional) Advanced Configurations.
- Click Create.
Creating a Resource Group by Matching Resources by Enterprise Project
- Select Automatically for Add Resources.
- Select Enterprise project for Match Resources By and set other parameters based on Table 2.
After you select an enterprise project, resources in the resource group will be automatically kept consistent with the resources in the enterprise project. To manage resources in this resource group, you can only add or remove resources to and from the enterprise project.
Table 2 Parameters for matching resources by enterprise project
Parameter |
Description |
Example Value |
Resource Level |
Resource level of the monitored object. You can select Cloud product or Specific dimension.
If you select Cloud product for Resource Level, select a cloud product.
If Resource Level is set to Specific dimension, all available resources in the selected dimensions will be automatically added to this resource group. For details, click View monitored dimensions. |
Cloud product |
Cloud Product |
If you select Cloud service for Resource Level, you need to select the cloud service that the instance belongs to. You can select one or more cloud services.
If Cloud Product is set to All, all cloud products that are interconnected with Cloud Eye will be selected. For details, see Cloud Services Supported by Resource Groups. |
All |
Enterprise Project |
Enterprise project for matching resources. You can select multiple enterprise projects. |
default |
Enterprise Project |
Enterprise project that the resource group belongs to |
default |
- (Optional) After the basic configuration is complete, select whether to associate the custom metric alarm template in the Advanced Settings area. For parameter details, see (Optional) Advanced Configurations.
- Click Create.
Creating a Resource Group by Matching Resources by Tag
- Select Automatically for Add Resources.
- Select Tag for Match Resources By and set other parameters based on Table 3.
Table 3 Parameters for matching resources by tag
Parameter |
Description |
Example Value |
Resource Level |
Resource level of the monitored object. You can select Cloud product or Specific dimension.
If you select Cloud product for Resource Level, select a cloud product.
If Resource Level is set to Specific dimension, all available resources in the selected dimensions will be automatically added to this resource group. For details, click View monitored dimensions. |
Cloud product |
Cloud Product |
If you select Cloud service for Resource Level, you need to select the cloud service that the instance belongs to. You can select one or more cloud services.
If Cloud Product is set to All, all cloud products that are interconnected with Cloud Eye will be selected. For details, see Cloud Services Supported by Resource Groups. |
All |
Matching Rule |
Matching rule of the tag. You can add up to 50 tags. Each tag is a key-value pair. You can tag cloud resources to easily categorize and search for them.
- Resource tag key: A tag key cannot start or end with a space, or start with _sys_. It can contain a maximum of 128 characters and contain letters, digits, spaces, and the following special characters: _.:=+-@
- Resource tag value: A resource tag value consists of the matching method and value. The matching method can be set to Equal, All, Include, Prefix, Suffix, or Not include. The value can contain a maximum of 255 characters and contain letters, digits, spaces, and the following special characters: _.:/=+-@
NOTE:
If you enter multiple tags, the relationship between different keys is AND, and the relationship between values of the same key is OR.
|
Usage Equal to Project1 |
Enterprise Project |
Enterprise project that the resource group belongs to. |
default |
- (Optional) After the basic configuration is complete, select whether to associate the custom metric alarm template in the Advanced Settings area. For parameter details, see (Optional) Advanced Configurations.
- Click Create.
Creating a Resource Group by Matching Resources by Multiple Criteria
- Select Automatically for Add Resources.
- Select Multiple criteria for Match Resources By and set other parameters based on Table 4.
Table 4 Parameters for matching resources by multiple criteria
Parameter |
Description |
Example Value |
Resource Level |
Resource level of the monitored object. You can select Cloud product or Specific dimension.
If you select Cloud product for Resource Level, select a cloud product.
If Resource Level is set to Specific dimension, all available resources in the selected dimensions will be automatically added to this resource group. For details, click View monitored dimensions. |
Cloud product |
Cloud Product |
If you select Cloud service for Resource Level, you need to select the cloud service that the instance belongs to. You can select one or more cloud services.
If Cloud Product is set to All, all cloud products that are interconnected with Cloud Eye will be selected. For details, see Cloud Services Supported by Resource Groups. |
All |
Multi-Criteria Match |
Combination method for matching resources by multiple criteria. After selecting a combination method, you need to configure the matching rule. For details, see Table 1 to Table 3. You can add up to 50 combinations.
If Resource Level is set to Cloud product, you can select at least two matching criteria from Enterprise project, Tag, and Instance name.
If Resource Level is set to Specific dimension, Enterprise project and Tag are selected by default and cannot be changed.
NOTE:
The relationship between different combinations is OR. The relationship between different matching rules in the same combination is AND.
|
Enterprise project and Tag |
Enterprise Project |
Enterprise project that the resource group belongs to. |
default |
- (Optional) After the basic configuration is complete, select whether to associate the custom metric alarm template in the Advanced Settings area. For parameter details, see (Optional) Advanced Configurations.
- Click Create.
Creating a Resource Group by Adding Resources Manually
- Select Manually for Add Resources and set other parameters based on Table 5.
Table 5 Parameters for adding resources manually
Parameter |
Description |
Example Value |
Resource Level |
Resource level of the monitored object. You can select Cloud product or Specific dimension.
If you select Cloud product for Resource Level, select a cloud product and desired resources.
If you select Specific dimension for Resource Level, manually select resources to be added to the resource group. |
Cloud product |
Cloud Product |
If you select Cloud product for Resource Level, you need to select the cloud product that the instance belongs to and specify resources. You can select one or more cloud products. |
Elastic Cloud Server - ECSs |
Enterprise Project |
Enterprise project that the resource group belongs to. |
default |
- (Optional) After the basic configuration is complete, select whether to associate the custom metric alarm template in the Advanced Settings area. For parameter details, see (Optional) Advanced Configurations.
- Click Create.
(Optional) Advanced Configurations
You can configure whether to associate an alarm template and send alarm notifications when creating a resource group or afterward. This streamlines alarm rules management and simplifies alarm rule configuration. For details, see Associating a Resource Group with an Alarm Template.
- In the Advanced Settings area, select the template to be associated.
- Configure alarm notifications.
Table 6 Configuring alarm notifications
Parameter |
Description |
Enterprise Project |
Enterprise project that the alarm rules belong to. Only users with the enterprise project permissions can manage the alarm rule. For details about how to create an enterprise project, see Creating an Enterprise Project. |
Alarm Notifications |
Whether to send alarm notifications by SMS, emailFunctionGraph (function), FunctionGraph (Workflow), WeCom, DingTalk, Lark, WeLink or HTTP or HTTPS. This parameter is enabled by default. |
Notified By |
Notification method. You can select Notification groups, or Topic subscriptions.
- Notification groups: You need to create notification recipients and add them to a notification group.
- Topic subscriptions: You can select a cloud account contact or a custom topic created in SMN.
NOTE:
Cloud Eye uses SMN for alarm notifications. If SMN has major delays, the alarm notifications may also be delayed.
|
Notification Group |
This parameter is only available if you select Notification groups for Notified By. Select the notification groups to which alarm notifications will be sent. Select or create a notification template and set the notification window. For details about how to create a notification group, see Creating a Recipient and Notification Group. |
Recipient |
Target recipient of alarm notifications. You can select the account contact or a topic name. This parameter is available only if Notified By is set to Topic subscriptions. If there is a display name of a topic, the format is Topic name (display name), and you can search for a topic by name or display name. If no display name is set for a topic, only the topic name will be displayed.
- Account contact: Enter the phone number and email address of the registered account.
- Topic: A topic is used to publish messages and subscribe to notifications. If the required topic is unavailable, create one first and subscribe to it. For details, see Creating a Topic and Adding Subscriptions.
|
Notification Window |
Time window during which Cloud Eye sends notifications.
If you set Notification Window to 08:00 to 20:00, Cloud Eye only sends notifications within this period. |
Time Zone |
Time zone for the alarm notification window. By default, it matches the time zone of the client server, but can be manually configured. |
Trigger Condition |
Condition that will trigger an alarm notification. You can select Generated alarm (when an alarm is generated), Cleared alarm (when an alarm is cleared), or both. |