Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
hiddentrue

Abiquo has a flexible pricing system that is designed to enable cloud providers to supply estimates for and price cloud services.

...

For each datacenter, you can set separate prices, and use different currencies, and you can set add extra charges for resources, such as VM image templates. 

The workflow to create a new pricing model is as follows:

  1. Enter currencies

  2. Create cost codes for extra charges

  3. Create the pricing model

  4. Assign the model to an enterprise

...

  1. Go to PricingCurrencies

  2. Click the + add button

  3. Complete the dialog

    1. The currency Code will display in pricing. Download code information from the ISO website or refer to Wikipedia

    2. The Name of the currency must be unique and it can include the currency symbol

    3. For Digits, enter the number of digits after the decimal point. If you change the pricing model from a currency with more digits to one with fewer digits, then the platform will round prices up to the nearest digit.

  4. Click Save

    Create a new currency

...

Create a new cost code for extra

...

charges

You can use cost codes for extra charges to set prices for resources or services, such as VM templates and hardware profiles. A  
A pricing estimate for a virtual appliance will include the extra charges.
The platform can also account and bill the usage of resources with cost codes for extra charges.

To create an extra charge for resource pricing:

  1. Go to Pricing  → Extra charges with cost codes

  2. Click the + add button

  3. For General information:

    1. Enter a Name to identify the cost code for extra chargecharges.
      You can use the Name and Description to identify the cost item to make it easier for your users to understand their cloud bill

    2. Select the Type that is the resource type the extra charge will apply to.
      (warning) The Custom service option is not implemented yet

    3. Select the Unit for the extra charge:
      (warning) The Subscription option is not implemented yet

      1. Usage CPUs will record the usage and multiply by the number of CPUs in a VM with the extra charge

      2. Usage user licenses for a template will record the usage and multiply by the number of licenses you enter when you add the extra charge to a VM

  4. For Initial prices

    1. The initial prices for a resource are set now in all of the currencies in your platform. You can later assign different prices in each pricing model.

...

Now assign For full details of working with cost codes for extra charges, see Multiple cost codes

You can assign cost codes for extra charges to VM templates (see Modify a VM template) and hardware profiles (see Hardware profiles).
Then set prices for the cost codes for extra charges in your pricing models.
You can also assign cost codes for extra charges to VMs, see VM cost codes and Administer and troubleshoot VMs.

...

Excerpt
nameDisplay a pricing estimate message

To display pricing estimates, assign a pricing model to the enterprise. The platform will display the estimates as follows:

  •  At any time users can click the Estimate button in the virtual appliance view to display a current pricing estimate for a VM. 

    Screenshot: Pricing estimate button with EUR price code

    Virtual machines in virtual datacenter virtual appliance view

    Screenshot: A sample pricing message

    Deploy charges
  • Users with access to the Abiquo API can also request a pricing estimate via the API.

  • To automatically display a pricing estimate popup when the user deploys a virtual appliance or VM, when creating a pricing model, select the checkbox to "Show charges before deployment".

Configure the pricing estimate message

Excerpt
nameConfigure the pricing estimate message

The default text of the pricing estimate message is as follows.

The charge for this Virtual Appliance will be %CHARGE_FORMATTED% per %CHARGEPERIOD%, charged per %MINPERIOD%, subject to a minimum charge of %MINCHARGE_FORMATTED%. Backup service charge: %BACKUP_PRICE%. VMs in this Virtual Appliance will be:
%VM_PRICES%
Resources defined in the Virtual Datacenter total %VDC_TOTAL_CHARGE% per %CHARGEPERIOD%:
%VDC_PRICES%

Notes about the pricing estimate message:

  • The virtual appliance and VM pricing estimates only include the costs that are directly related to VMs. 

  • The virtual datacenters resources estimate includes other costs such as the network cost, backup costs, and the cost of datastore disks without a datastore tier, such as a cloud-init ISO. 

  • The VDC resources cost also includes public IP addresses because they are billed for the time of reservation, which may be longer than the time they are attached to a VM.

To customize the pricing estimate message:

  1. Edit the message, change the text and use the standard cut and paste keys to change the location of the variables. 

  2. You can also select variables to add to this message from the pull-down list. Align the message with your accounting system.

Pricing estimate message

Variable

Description and example

%CHARGEPERIOD%

Charging period, for example "month".

%MINCHARGE_FORMATTED%

Minimum charge, for example 2.25 USD.

%MINPERIOD%

Minimum charging period, for example "week"

%BACKUP_PRICE

%CHARGE_FORMATTED%

Charge for the virtual machine, for example "22.50 USD"

%VM_PRICES%

List of charges per virtual machine. for example:
VM1 1.25 USD
VM2 1.00 USD 

%VDC_PRICES%

List of charges per virtual datacenter resource

%VDC_TOTAL_CHARGE

Total charge for virtual datacenter resources, not including VMs

...