Billing Information
November 24, 2023 at 2:42 PMBilling Information
After going to the Reports
page, the billing manager is provided with information about the cost of consumed resources.
Resource Cost Calculation
The final price is calculated on the base of resources used in the previous month and consists of 3 parameters:
-
Storage_CB
= disk storage amount * price per 1 GB HDD/hour * uptime (last month) -
RAM_CB
= average amount of memory used in the previous month(*) * price per 1 GB RAM/hour * total hours in a month -
CPU_CB
= average amount of CPU used in the previous month(*) * price per 1 core CPU/hour * total hours in a month
(*) - The average amount of CPU and memory used in the previous month is calculated based on the time when the VM was active and the number of allocated resources during that period.
Calculation example.
As an example, you can see the daily data on the chart. In reality, the data on the VM usage is collected hourly.
This VM was active 3 times a month. Firstly it was active for 2 days using 2 GB RAM, then, after the reconfiguration for 6 and 2 days using 4 GB RAM. The average amount of memory used this month is:
(48 * 2 + 144 * 4 + 48 * 4) / 31*24 = 1.16 GB
The same calculation applies to CPU cores. Resources cost for the current month is updated daily around midnight.
Note: Disk subsystem prices depend on the disk types being used.