"Changes to Resource Consumption and Cost Report in Abiquo 3.10"
We will update the documentation for this report shortly
This report is used to show the resources consumed by an Enterprise, and their associated costs. By clicking on the relevant name in the report, it is possible to drill-through to breakdown an individual Enterprise’s resource usage to Virtual Datacenter, Virtual Appliance, and Virtual Machine granularity, showing the cost breakdowns for each.
This report uses the Abiquo accounting data to determine resource usage. And it uses the Enterprise's Abiquo pricing template to calculate the costs. The result is always in hours.
|Start Date||The beginning of the date range for the report||Default start date is the first day of the previous month|
|End Date||The end of the report date range for the report. The report uses data for all the days up to but not including this date||Default end date is the first day of the current month|
The report is tabular in format, giving a breakdown of the resource usage and cost in pairs of columns for each resource type, with appropriate totals for combined resources. The following is a breakdown of the resources included in the report, and a description of their consumed units:
|CPU||The number of VM CPUs, per hour. For example, a 1 CPU VM running for a whole day will consume 24 CPU units|
|Memory||The amount of Memory consumed by VMs, in GB per hour. For example, a VM with 4GB of RAM running for a whole day will consume 96 RAM resources|
|External Storage||The amount of external (Network attached) volume storage allocated, in GB per hour. Note that External Storage is charged for even when it is not in use by any VM. For example, a 10GB external volume will consume 240 External Storage units in 24 hours.|
|VLAN||The number of ‘Internal/Private’ VLANs being used, per hour. For example, a VDC with a single VLAN will consume 24 VLAN units in one day|
|Public IP||The number of Public IP addresses allocated, per hour. Note that Public IPs are charged for even when it is not in use by any VM|
The number of Abiquo Apps Library virtual machine templates (or images) being used by VMs, per hour. Note that the cost for Apps Library templates varies, and is dependent on the Cost Code associated with the template and its corresponding cost in an Abiquo pricing template. For example, a VM using a template from the Apps Library will consume 24 units if running for the whole day, but the cost of those units will depend on the template’s Cost Code
The Report columns are calculated as follows:
Accounting granularity hours conversion factor: Converts accounting granularity to hours, e.g. if accounting granularity is month, it is 30 * 24. See Calculation notes below
Pricing hours conversion factor: Converts pricing charging period to hours. The minimum charging period is day. The same ratios are used as in the Accounting granuliarty hours conversion factor.
For example we will calculate the CPU Consume and CPU Cost in the following report.
During the 24 hour period of the report, the enterprise Abiquo used 40 CPUs and the accounting period granularity is HOUR, so to calculate the Consume, we use:
The following pricing model is assigned to the enterprise Abiquo.
The CPU is charged at 0.0027 USD and the charging period is Day. Therefore the Cost is calculated as:
In the report, this value is rounded to 2 decimal places, i.e. 0.11.
The Pricing hours conversion factor is the same as the Accounting period granularity hours conversion factor. See Calculation notes below.
To find the Accounting granularity of your system you can use the following MySQL query:
The Accounting period granularity hours conversion factor is:
|Accounting Period||Accounting period granularity hours conversion factor|
|WEEK||7 * 24|
|MONTH||30 * 24|
This sample report contains the first five pages and the last totals page of a longer report.