All Products
Search
Document Center

Cloud Data Transfer:Use CDT to split bills by tag

Last Updated:Feb 06, 2024

Background information

  • Cloud Data Transfer (CDT) supports bill splitting by tag after tags are added to the instances of Alibaba Cloud products that CDT supports. You need to only add tags to the instances of Alibaba Cloud products and enable the tags. Then, bills of the instances are split by tag.

  • For more information about how to create and add tags to the instances of Alibaba Cloud products, see Add a custom tag.

Procedure

Step 1: Create a tag or select an existing tag

  1. Log on to the Resource Management console.

  2. In the left-side navigation pane, choose Tag > Tag.

  3. In the top navigation bar, select the region where the instances that you want to manage are deployed.

  4. On the Custom Tags tab, click Create Custom Tags.

  5. In the Create Custom Tags dialog box that appears, create a tag or select an existing tag.

    • Tag key: required. You can select an existing tag key or enter a new tag key. You can perform a fuzzy match by prefix and add a maximum of 10 tag keys at a time.

      Each tag key can contain a maximum of 128 characters in length and cannot contain http:// or https://. It cannot start with aliyun or acs:.

    • Tag value: optional. You can select an existing tag value or enter a new tag value. Each tag value can contain a maximum of 128 characters in length and cannot contain http:// or https://. It cannot start with aliyun or acs:.

    Note

    If you want to add a tag, select an existing tag key and an existing tag value. If you want to create a tag, enter a new tag key and a new tag value.

  6. Click Next.

  7. Set Method to Specify Resources and select a resource type. Then, select resources or enter resource IDs.

    Method to Specify Resources includes the following options:

    • Select from Resource List: allows you to select resources from the resource list.

    • Enter Resource IDs: allows you to enter resource IDs. Separate multiple IDs with commas (,).

  8. Click OK.

  9. View the tag that is added to the resources on the Custom Tags tab.

Step 2: Enable or disable the tag

Before you can use a tag, you must enable the tag.

  • In the top navigation bar, choose Expenses > User Center to go to the Billing Management console. In the left-side navigation pane, choose Manage Split > Cost allocation tags.

  • On the page that appears, click Next.

  • On the Cost allocation tags page, select the tag key that you created or selected in Step 1 from the left-side pane and click the rightward arrow to add the tag key to the right-side pane.

  • If you do not want to use the tag key, select the tag key from the right-side pane and click the leftward arrow to remove the tag key from the right-side pane.

Important

If you do not enable the tag, the tag is not displayed in the Billing Management console. After the tag is enabled, the tag is displayed on pages such as the Cost Analysis and Bill Details pages in the Billing Management console.

Step 3: View split bills by tag in the Billing Management console

  • Split Bill

    Choose Manage Split > Split Bill. On the Split Bill page, you can query the split bills of your resources by tag. You can also export the split bills in the CSV format and filter the split bills by tag.

    To query the split bills of your resources on the Split Bill page, make sure that you have enabled the split bill feature and added tags to your resources at least one day prior.

    image.png

  • Cost Analysis

    Choose Cost Management > Cost Analysis. On the Cost Analysis page, you can specify conditions to query the split bills of your resources by tag. You can also export the split bills in the CSV format.

    To query the split bills of your resources on the Cost Analysis page, make sure that you have enabled the cost analysis feature and added tags to your resources at least one day prior.

    成本中心费用分析.png

  • Cost Center

    Choose Manage Split > Cost Center. On the Cost Centers page, you can create cost centers for your resources based on your business requirements. Then, allocate your resources to these cost centers by tag.

    分配财务单元.png

    Choose Bills > Bill Details. Click the Billing Details tab to view the split bills of your resources by cost center.

    To query the split bills of your resources by cost center on the Billing Details tab, make sure that you have enabled the cost center feature and added tags to your resources at least one day prior.

    明细账单.png