Help Center> Cloud Eye> User Guide> Resource Groups> Creating a Resource Group
Updated on 2024-01-12 GMT+08:00

Creating a Resource Group

Scenarios

If you use multiple cloud services, you can add all related resources, such as ECSs, BMSs, EVS disks, elastic IP addresses, bandwidths, and databases to the same resource group for easier management and O&M.

Restrictions

  • Each user can create up to 10 resource groups.
  • Each resource group can contain 1 to 1,000 cloud service resources.
  • There are restrictions on the number of resources of different types that can be added to a resource group. For details, see the tips on the Cloud Eye console.

Procedure

  1. Log in to the management console.
  2. In the upper left corner, select a region and project.
  3. Click Service List in the upper left corner, and select Cloud Eye.
  4. In the navigation pane on the left, choose Resource Groups.
  5. In the upper right corner, click Create Resource Group.
    Figure 1 Create Resource Group
  6. On Create Resource Group page, enter a group name. Configure other parameters as prompted.
    1. If you select Manually for Add Resources, manually select resources for the resource group.
      Figure 2 Manually adding resources
    2. If you select Automatically for Add Resources, all resources in an enterprise project or resources with the same tags will be added to the resource group.
      1. If you select From enterprise project for Synchronize Resources, select one or more enterprise projects. After a resource group is associated with an enterprise project, resources in the resource group will be automatically kept consistent with whatever resources there are in the enterprise project. To manage resources in this resource group, you can only add or remove resources from the associated enterprise project.
        Figure 3 Synchronizing resources from enterprise projects
      2. If you select By tag for Synchronize Resources, select or enter tag keys and values that will be used to match resources. Both existing and future resources that match the configured tags will be automatically added to the resource group. For details, see Figure 4.
      Figure 4 Synchronizing resources by tag
      • If you enter multiple tags, the relationship between different keys is AND, and the relationship between values of the same key is OR.
      • You can add up to 10 tags.
  7. Configure the enterprise project.
    Figure 5 Enterprise Project
    Table 1 Configuring Enterprise Project

    Parameter

    Description

    Enterprise Project

    Specifies the enterprise project to which the resource group belongs. Only users who have all permissions for the enterprise project can view and manage the resource group. For details about how to create an enterprise project, see Creating an Enterprise Project.

  8. (Optional) Configure Advanced Settings and associate an alarm template.
    Select an alarm template and configure alarm notification parameters as needed.
    Figure 6 Alarm Notification parameters
    Table 2 Alarm Notification parameters

    Parameter

    Description

    Alarm Notification

    Specifies whether to notify users when alarms are triggered. Notifications can be sent by email, text message, or HTTP/HTTPS message.

    Notification Recipient

    Specifies the alarm notification recipient. You can select Notification group or Topic subscription.

    Notification Group

    Specifies the notification group to which alarm notifications will be sent.

    Notification Object

    Specifies the object to which alarm notifications will be sent. You can select the account contact or a topic.

    • Account contact is 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 add subscriptions to it. For details, see Creating a Topic and Adding Subscriptions.

    Notification Window

    Cloud Eye sends notifications only within the notification window you specified.

    If Notification Window is set to 08:00-20:00, Cloud Eye sends notifications only within 08:00–20:00.

    Trigger Condition

    Specifies the 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.

    Enterprise Project

    Specifies the enterprise project that the alarm template belongs to. Only users who have all permissions for the enterprise project can manage the alarm template. For details about how to create an enterprise project, see Creating an Enterprise Project.

    You can search for ECSs and BMSs by name, ID, and private IP address. For other cloud services, you can search only by name and ID.

  9. Click Create.