To allocate costs by resource group after you create resource groups, you can create cost centers and map the resource groups to the cost centers.
Scenarios
A gaming company has three gaming projects under development: G1, G2, and G3. Each project requires multiple types of resources. The company has only one Alibaba Cloud account but more than 100 Elastic Compute Service (ECS) instances within this account. The finance department of the company wants separate bills to be generated for the projects.
Procedure
-
Log on to the Resource Management console and go to the Resource Group page to create resource groups.
-
Create a resource group for each project. The names of the resource groups correspond to those of the project. The names of the resource groups are
R-G1,R-G2, andR-G3.For more information, see Create a resource group.
Move the ECS instances to the desired resource groups based on the actual users of the ECS instances.
For more information, see Transfer resources between resource groups.
-
-
Go to the cost centers page in the Expenses and Costs console. Create cost centers named
R-G1,R-G2, andR-G3. Then, configure automatic allocation rules to assign ECS instances to the corresponding cost center based on each instance's resource group. For more information, see Cost Centers. -
Go to the Split Bill page in the Expenses and Costs console to view your bills organized by cost center.