Billing Management


Bills

Bills of different resources under different projects, departments, and accounts are calculated and displayed in real time based on the unit price and time of usage defined in a pricing list. The time is accurate to seconds.

Bills Page

In the navigation pane of the ZStack Private Cloud UI, choose Platform Management > Billing Management > Bills. Then, the Bills page is displayed, as shown in Figure 1.
Figure 1. Bills Page


The Bills page displays the bills generated in a specified period of time, allowing you to view the recent spendings conveniently. By default, bills of the latest three days are displayed. You can view bills of different time periods by selecting different time ranges. The bills page includes the following tab pages:
  • Project tab page: Displays the bills of different projects within a specified period of time in a list in real time.
    Note:
    • To view the project bills, obtain and install the license of the Enterprise Management Module in advance.
    • After you attach a pricing list to a project and set the unit price for each resource to be billed, the billing starts, and project bills will be generated accordingly.
    • Project bills can be viewed by the administrators, platform members, and project members.
  • Department tab page: Displays the bills of different departments within a specified period of time in real time in the form of an organizational structure tree.
    Note:
    • To view the department bills, obtain and install the license of the Enterprise Management Module in advance.
    • After you add a project to a department, you can obtain the project-related billing data, including the historical data, and generate bills by department.
    • The billing data is directly related to projects. After you remove a project from a department, all relevant billing data (including the historical data) will be removed from the department bills.
    • Department bills can be viewed by the administrators, platform members, and head of departments.
  • Account tab page: Displays the bills of different accounts within a specified period of time in a list in real time.
    Note:
    • After you attach a pricing list to an account and set the unit price for each resource to be billed, the billing starts, and account bills will be generated accordingly.
    • Account bills can be viewed by the administrators, platform members, and account owners.
ZStack supports multi-tenant managements on the vCenter that you took over. Common accounts and project members can view the bills of KVM or vCenter as needed.

Resource Bills

The bill list on the bills page allows you to view the resource bills of different projects, departments, and accounts.
  • The project details page and the account details page allow you to view the bills according to different resources at granular level, as shown in Figure 2.
    Figure 2. Project/Account Billing Details Page


    Note:
    • Resource bills are generated at a specified time, not in real time. By default, the system generates bills at 00:00 on a daily basis. You can set the bill generation time as needed. The method is as follows:

      Go to Settings > Global Settings > Advanced, locate The time point of billing generation, and click the Edit icon. Default value: 0.

    • The resource bills of VM instances and routers (including vRouters and VPC vRouters) are displayed on the VM instance tab page.
    • The resource bill of a VM instance includes the total billed amount of the compute resources, such as the memory and CPU.
    • The public IP resource bill includes two bill lists: public IP (flat network) and public IP (virtual IP).
    • The billing details, such as the bills of VM instances, root volumes, data volumes, GPU devices, and public IP addresses, in an account can be viewed by regular accounts and project members.
  • The department billing details page allows you to view the project fees of the current department and fees of subsidiary departments, as shown in Figure 3. The project bills of the current department are displayed in a list.
    Figure 3. Department Billing Details Page


    Note:
    • Project fees of the current department: Only displays the total billed amount of the projects added to the current department.
    • Project fees of subsidiary departments: Displays the total billed amount of the projects added to all subsidiary departments.

Billing Details

You can view the billing details of a project or an account by specifying a resource. To view the details, click Details next to the resource fees, as shown in Figure 4.
Figure 4. Billing Details




Note:
  • Resource bills are generated at a specified time, not in real time. By default, the system generates bills at 00:00 on a daily basis. You can set the bill generation time as needed. The method is as follows:

    Go to Settings > Global Settings > Advanced, locate The time point of billing generation, and click the Edit icon. Default value: 0.

  • If you change the pricing list of a project or an account, bills of the associated resources will be generated immediately.
  • If you delete a up-to-date historical price in a pricing list, bills of the associated resources will be generated immediately.
  • The billing details, such as the bills of VM instances, root volumes, data volumes, GPU devices, and public IP addresses, in an account can be viewed by regular accounts and project members.

More Information

  • If you turn off the Switch for Billing in global settings, the Cloud will stop billing the resources, and no new bills will be generated.

  • When a VM instance is deleted but not expunged (completely deleted), compute resources, such as the CPU and memory, and IP resources, such as the public IP (flat network), will be released immediately. Therefore, the CPU, memory, and public IP resources are no longer billed.
  • When a VM instance or volume is deleted but not expunged, the VM instance or volume still occupies the physical storage resources (root volume and data volume). Therefore, the root volume and data volume continue to be billed until the corresponding VM instance or volume is completely deleted.
  • A VM instance in the Stopped state still occupies storage resources and IP resources. Therefore, the root volumes, data volumes, and public IP (flat network) will continue to be billed.
  • An uninstantiated VM instance is not billed. However, the VM instance will be immediately billed once instantiated. For example, a project or an account has an instantiated data volume, and does not attach the data volume to a VM instance. In this case, the data volume is still billed.
  • Change the resource owner: The fees generated before the resource owner changed are retained in the old accounts and projects, and new fees will be charged for the new accounts and project after the resource owner changed.

Pricing List

Pricing list, also known as price table, defines the unit price of different resources based on the resource specification and time of usage. After you attach a pricing list to a project or an account, the corresponding bills of resources will be generated accordingly.

To use the pricing list feature, go to Settings > Global Settings > Advanced, locate Switch for Billing, and set the value to true.

Pricing List Page

In the navigation pane of the ZStack Private Cloud UI, choose Platform Management > Billing Management > Pricing List. Then, the Pricing List page is displayed, as shown in Figure 1.
Figure 1. Pricing List Page


The pricing list page displays the created pricing lists and related information. When you use a pricing list, note that:
  • A pricing list can be attached to more than one project or account. A project or an account can have only one pricing list attached.
  • The Cloud provides a default pricing list, which cannot be deleted. When you upgrade the Cloud, a default pricing list will be automatically created and attached to all projects or accounts according to the previous billing setting.

Create Pricing List

On the Pricing List page, click Create Pricing List. On the displayed Create Pricing List page, set the following parameters:
  • Name: Enter a name for the pricing list.
  • Description: Optional. Enter a description for the pricing list.
  • Set Unit Price: Click Add Unit Price to set unit price for different prices, including CPU, memory, root volume, data volume, GPU device, public IP (flat network), and public IP (virtual IP).
    • To set the unit price for CPU, configure the following parameters:
      • Resource Type: Select CPU.
      • Price: Customize the billing price. Value range: 0-10000, inclusive. Five decimal places are supported.
      • Unit of Time: Set the billing cycle. Options: second | minute | hour | day | week | month (30 days).
      Click OK to submit the settings, as shown in Figure 2.
      Figure 2. Set Unit Price for CPU


    • To set the unit price for memory, configure the following parameters:
      • Resource Type: Select memory.
      • Price: Customize the billing price. Value range: 0-10000, inclusive. Five decimal places are supported.
      • Size: Set the resource unit. Options: MB | GB | TB.
      • Unit of Time: Set the billing cycle. Options: second | minute | hour | day | week | month (30 days).
      Click OK to submit the settings, as shown in Figure 3.
      Figure 3. Set Unit Price for Memory


    • To set the unit price for root volume, configure the following parameters:
      • Resource Type: Select root volume.
      • Price: Customize the billing price. Value range: 0-10000, inclusive. Five decimal places are supported.
      • Size: Set the resource unit. Options: MB | GB | TB.
      • Unit of Time: Set the billing cycle. Options: second | minute | hour | day | week | month (30 days).
      • Advanced: Configure advanced parameters in JSON format to customize the billing based on the disk performance.
        Example:
        {     "priceUserConfig": {         "priceKeyName": "Enter the value of priceKeyName in the advanced parameters of the corresponding instance offering."     } }
        Note: This configuration item depends on the priceUserConfig field in the advanced parameters of the corresponding instance offering. Therefore, make sure that the value of priceUserConfig here is the same as that in the advanced parameters of the corresponding instance offering. Otherwise, the bill will fail to be generated.
      Click OK to submit the settings, as shown in Figure 4.
      Figure 4. Set Unit Price for Root Volume


    • To set the unit price for data volume, configure the following parameters:
      • Resource Type: Select data volume.
      • Price: Customize the billing price. Value range: 0-10000, inclusive. Five decimal places are supported.
      • Size: Set the resource unit. Options: MB | GB | TB.
      • Unit of Time: Set the billing cycle. Options: second | minute | hour | day | week | month (30 days).
      • Advanced: Configure advanced parameters in JSON format to customize the billing based on the disk performance.
        Example:
        {     "priceUserConfig": {         "priceKeyName": "Enter the value of priceKeyName in the advanced parameters of the corresponding disk offering."     } }
        Note: This configuration item depends on the priceUserConfig field in the advanced parameters of the corresponding disk offering. Therefore, make sure that the value of priceUserConfig here is the same as that in the advanced parameters of the corresponding disk offering. Otherwise, the bill will fail to be generated.
      Click OK to submit the settings, as shown in Figure 5.
      Figure 5. Set Unit Price for Data Volume


    • To set the unit price for GPU device, configure the following parameters:
      • Resource Type: Select GPU device.
      • Price: Customize the billing price. Value range: 0-10000, inclusive. Five decimal places are supported.
      • Type: Select a GPU type. Options: Desktop GPU | Compute GPU.
      • Model: Select the model of the GPU device that was passed through.
      • Unit of Time: Set the billing cycle. Options: second | minute | hour | day | week | month (30 days).
      Click OK to submit the settings, as shown in Figure 6.
      Figure 6. Set Unit Price for GPU Device


    • To set the unit price for public IP, configure the following parameters:
      Note: Public IP addresses are billed in bandwidth. When you set the unit price for public IP addresses, note that:
      • Changes of public IP addresses are incurred only after QoS is set.
      • Currently, virtual IP addresses of the IPv6 type cannot be billed.
      • Resource Type: Select public IP (flat network) or public IP (virtual IP).
        • Public IP (flat network): VM instances that were created directly from public networks are billed by public IP (flat network). The billing starts after the QoS is set for the corresponding VM NICs.
        • Public IP (virtual IP): Elastic IP addresses, port forwarding, load balancing, and IPsec network services are billed by public IP (virtual IP). The billing starts after the QoS is set.
      • Upstream Bandwidth Price: Customize the billing price for the upstream bandwidth. Value range: 0-10000, inclusive. Five decimal places are supported.
        Note: The upstream bandwidth and the downstream bandwidth can be billed separately. However, the upstream bandwidth and the downstream bandwidth cannot be left unspecified at the same time.
      • Downstream Bandwidth Price: Customize the billing price for the downstream bandwidth. Value range: 0-10000, inclusive. Five decimal places are supported.
      • Size: Set the resource unit. Options: Kbps | Mbps | Gbps.
      • Unit of Time: Set the billing cycle. Options: second | minute | hour | day | week | month (30 days).
      Click OK to submit the settings, as shown in Figure 7.
      Figure 7. Set Unit Price for Public IP


Click OK to finish creating a pricing list, as shown in Figure 8.
Figure 8. Create Pricing List


Pricing List Operations

  • Create pricing list: Create a pricing list, and set the unit price for CPU, memory, root volume, data volume, GPU device, public IP (flat network), and public IP (virtual IP) as needed.
  • Modify pricing list: Modify the pricing list information, such as the resource price, resource unit, unit of time, and advanced parameters.
  • Delete: Delete a pricing list that is not attached to a project or an account. Bulk delete operations are supported.
    Note: When you delete pricing lists, note that:
    • The default pricing list cannot be deleted.
    • The pricing list that is being used by a project or an account cannot be deleted. To delete such a pricing list, change a pricing list for the associated project or account, and then delete the pricing list.
  • Attach project/account: Attach a pricing list to a project or an account. Then, the associated account will be billed according to the pricing list.
    Note: A pricing list can be attached to more than one project or account, while the same project or account must have only one pricing list attached.
  • Change pricing list: Replace the pricing list attached to a project or an account with another pricing list. After the pricing list is changed, the associated account will be billed according to the new pricing list.
  • Delete pricing history: Delete a pricing history that you no longer need.
    Note: When you delete a pricing history, note that:
    • When you delete a pricing history whose end date is the current date, the pricing records will also be deleted. Meanwhile, the corresponding bills will be generated immediately, and no more fees will be incurred any longer.
    • When you delete a pricing history whose end date is not the current date, only the pricing records will be deleted. The billing and bills are not affected.
  • Set billing currency symbol: Set the currency symbol for billing. The method is as follows:

    Go to Settings > Global Settings > Advanced, locate Billing currency symbol, and click the Edit icon. Options: RMB (¥) | USD ($) | EUR (€) | GBP (£) | AUD (A$) | HKD (HK$) | JPY (¥) | CHF | CAD (C$).












Back to Top

Download

Already filled the basic info?Click here.

Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

An email with a verification code will be sent to you. Make sure the address you provided is valid and correct.

Download

Not filled the basic info yet? Click here.

Invalid email address or mobile number.

Email Us

contact@zstack.io
ZStack Training and Certification
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

Email Us

contact@zstack.io
Request Trial
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

Email Us

contact@zstack.io

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder. After receiving the email, click the URL to download the documentation.

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder.
Or click on the URL below. (For Internet Explorer, right-click the URL and save it.)

Thank you for using ZStack products and services.

Submit successfully.

We'll connect soon.

Thank you for using ZStack products and services.