ApsaraMQ for RocketMQ integrates the tag feature of Alibaba Cloud Resource Management to simplify searching for and aggregating resources. You can attach different tags to instances based on dimensions such as business departments or project teams. When you view your bills, you can filter and aggregate them by tag to efficiently manage cost allocation for projects or teams.
Split bill rules
Objects: Pay-as-you-go bills for Standard Edition instances and subscription bills for Platinum Edition instances of ApsaraMQ for RocketMQ 4.0.
Granularity: ApsaraMQ for RocketMQ supports instance-level bill splitting. You can use different instances to isolate services for different departments or applications.
Principle: Bill splitting in ApsaraMQ for RocketMQ is based on tag management. You can attach tags to your instances and then filter your bills by these tags to view detailed bills from different dimensions.
Best practices
Scenarios
A company uses a single Alibaba Cloud account that has many ApsaraMQ for RocketMQ resources. The finance department wants to split bills by cost center, department, and project.
To achieve this, you can attach tags to instances to identify different projects. Then, you can filter the bills by tag to view the costs for each project. This helps you manage cost allocation throughout the company.
Step 1: Plan tags
You can mark resources with tags based on business properties, owners, or departments for efficient management. In this example, instances are classified by tag based on three dimensions: cost center, department, and project. Plan your tags based on your business needs.
Business team | Tag (key:value) |
Cost center |
|
Department |
|
Project |
|
Step 2: Attach tags to instances
Attach the tags that you planned in Step 1: Plan tags to your ApsaraMQ for RocketMQ instances.
For example, if Instance 1 belongs to Team A of the order department in the Shanghai cost center, you can attach the tags costcenter:Shanghai, department:Order, and project:project A to Instance 1.
ApsaraMQ for RocketMQ supports the following methods for tag management:
Attach tags to an instance in the console: Add tags
Attach tags to an instance by calling an API operation: TagResources
Step 3: View split bills in the User Center
After you attach tags to an instance, the split bills are updated on the next day (T+1).
Log on to the Alibaba Cloud Expenses and Costs.
In the navigation pane on the left, choose .
Set filter conditions to view cost information.
Example 1: View the costs of the three cost centers (costcenter).
In the bill list, select costcenter from the Instance Tag column.
Example 2: View the costs of the order department (
department:Order) for Project A (project:project A).In the Instance Tag column of the bill list, select and .