All Products
Search
Document Center

Elastic Compute Service:Use resource groups to manage ECS resources

Last Updated:Mar 29, 2024

Resource groups are used to group your resources based on usage, permissions, and regions. Then, you can manage the resources in a hierarchical manner for various users and projects. Each resource belongs to a single resource group. The correlation between resources remains unchanged after the resources are added to resource groups.

For more information about resource groups, see Resource group overview.

Supported ECS resources

Elastic Compute Service (ECS) resources that support resource groups include instances, disks, images, elastic network interfaces (ENIs), security groups, snapshots, instance launch templates, and key pairs.

Usage notes

Before you use resource groups to manage ECS resources, take note of the following information:

  • A resource group can contain ECS resources in different regions.

    For example, Resource Group A can contain instances from the China (Beijing) and China (Hangzhou) regions.

  • If resources that belong to different resource groups in the same account reside in the same region, the resources can be correlated with each other.

    For example, an instance in the China (Beijing) region of Resource Group A can be added to a virtual private cloud (VPC) in the China (Beijing) region of Resource Group B.

  • Resource groups inherit the global permissions of Resource Access Management (RAM) users. If you grant a RAM user the permissions to manage all Alibaba Cloud resources, the RAM user can view all resource groups within the Alibaba Cloud account.

For more information about how to use resource groups to manage ECS resources, see Use a resource group to grant a RAM user the permissions to manage a specific ECS instance.

References

  • You can manage resource groups based on your business requirements. For more information, see Manage resource groups.

  • You can use tags to classify ECS resources and implement fine-grained resource management. For information about tags, see Overview.