All Products
Search
Document Center

Hologres:Split bills based on tags

Last Updated:Aug 15, 2024

After you add tags to instances in Hologres, you can view the billing details and costs of instances by tag in the Expenses and Costs console. This topic describes how to use tags to split bills of Hologres instances.

Background information

Alibaba Cloud allows you to use tags and cost centers to split bills of cloud resources among project teams or business departments. You can sort cost relationships and establish a cost structure for the resources to facilitate cost management on the cloud.

You can perform the following steps to split bills of Hologres instances.

  1. Step 1: Plan tags

  2. Step 2: Add tags to instances

  3. Step 3: View split bills

Step 1: Plan tags

You can add different tags to Hologres instances that belong to different business domains or departments.

For example, your enterprise has three departments: Data R&D Department, Business Department 1, and Business Department 2. Data R&D Department uses Hologres to write and process data, Business Department 1 uses Hologres for Online Analytical Processing (OLAP) analysis, and Business Department 2 uses Hologres for online services. The three departments share an Alibaba Cloud account. A group of Hologres primary and secondary instances belong to the Alibaba Cloud account. The primary instance A belongs to Data R&D Department, the secondary instances B and C belong to Business Department 1, and the secondary instance D belongs to Business Department 2. The following table describes the sample tags that you plan to add to different instances.

Hologres instance name

Business department

Tag

Instance A

Data R&D Department

department:Dev

Instance B

Business Department 1

department:OLAP

Instance C

Business Department 1

department:OLAP

Instance D

Business Department 2

department:Serving

Step 2: Add tags to instances

  1. Go to the Instances page in the Hologres console. In the top navigation bar, select a region from the drop-down list. Then, click the ID of the desired instance.

  2. In the Basic Information section of the Instance Details page, click image next to Tag.

  3. In the Edit Tag dialog box, select a value for the Select Tags parameter.

    • If you want to add an existing tag to the instance, click Existing Tags and select a tag from the drop-down list.

    • If you want to add a new tag to the instance, click Create Tag, enter a key such as department and a value such as Dev, and then click Create.

  4. Click OK.

Step 3: View split bills

Split bills

  1. Go to the Split Bill page in the Expenses and Costs console.

    Note
    • Before you use the split bill feature for the first time, you must enable the feature. You can view split bills of an instance one day after you add a tag to the instance. For more information, see Enable features and Split Bill.

    • If you enable the cost allocation tag feature and specify tags as cost allocation tags, data can be filtered based on the tags. In this case, the specified cost allocation tags are available on pages such as the Cost Analysis page and Bill Details page in the Expenses and Costs console. If you enable the cost allocation tag feature but do not specify tags as cost allocation tags, no tags are available on the pages in the Expenses and Costs console.

  2. On the Split Bill page, specify search conditions to query the bills.

    To view the bills of the instance with the department:Dev tag, perform the following steps:

    1. Click the image icon in the Instance Tag column.

    2. Select the department:Dev tag in the popover that appears.

    3. Click OK.

  3. Optional. In the upper-right corner of the bill list, click Export Billing Overview (CSV) to export the bill list in the CSV format based on the tag.

Cost analysis

On the Cost Analysis page in the Expenses and Costs console, specify tag filters to view costs. You can also export the cost list in the CSV format.

  1. Go to the Cost Analysis page in the Expenses and Costs console.

    Note

    Before you analyze costs for the first time, you must enable the feature. You can view costs of an instance one day after you add a tag to the instance. For more information, see Enable features and Split Bill.

  2. On the Cost Analysis page, specify search conditions to query the costs.

    To view the costs of the instance with the department:Dev tag, perform the following steps:

    1. In the Filters section on the right, click Tag.

    2. In the popover that appears, select the department:Dev tag.

    3. Click Apply.

  3. Optional. In the upper-right corner of the cost list, click Export to export the cost list in the CSV format based on the tag.