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.
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$).