Company Billing Plans

OnApp provides a possibility to limit which resources should be allocated to customers, and charge users for what they actually consume. For this, it is required to create a billing planset prices and resources limits for it, and then assign users to that plan. To set pricing for OnApp Cloud customers who create servers on XEN/KVM, configure user billing plans. For more information refer to the Billing plans chapter of OnApp Administration guide.

To set limits and pricing for vCloud Director resources imported into OnApp, configure company billing plans. Company billing plan is a set of limits and prices for the resources used by vCloud Director organizations imported as user groups into OnApp. 

Company billing plan functionality is applicable for three models of resources allocation of vCloud Director resource pools - Pay-As-You-Go, reservation pool and allocation pool. If you are committing resources to your customers based on these vCloud Director resource pools, you can charge customers  for the block of resources (CPU, RAM, storage, & network etc.) assigned to their user group. 

You can set two types of billing for each resource: hourly or monthly (on peak usage)The hourly limit type means that the amount of used resources is calculated per hour. If you choose monthly (on peak usage) limit type, then the resource amount is calculated hourly for the whole day, and at the end of the month the highest (peak) value is charged at a set price.

 

  • Ensure that Company Billing Plans and Resource Pool Statistics permissions are on before creating a company billing plan. For more information about permissions refer to the Permissions section of this guide.
  • Be aware that the maximum value that you can set is 1013.

 

Below you can find instructions on how to create and manage company billing plans and billing statistics.

On this page:


 

Create company billing plan


 

To create a company billing plan:

  1. Go to your Control Panel's Billing Plans menu.
  2. Click the Company Plans tab.
  3. On the screen that appears, press "+" button or click the Create Company Billing Plan button at the bottom of the screen.
  4. Complete the form on the screen that follows:
    • Label - give your company billing plan a name.
    • Monthly price – set a monthly price for the company billing plan. This price will be applied regardless of the actual prices for used resources.
    • Currency - set a currency to charge in.
  5. Click Save to finish.

Set company billing plan prices and resource limits


 

 

 

Resource pool is allocated to user group (organization), and user group is associated to a compute resource of a specific compute zone. Thus when you set limits and pricing for a specific compute zone, it means that these prices are set for all resource pools associated with this compute zone.



To add a resource limit to a company billing plan:

  1. Go to your Control Panel's Billing Plans menu.
  2. Click the Company Plans tab.
  3. The screen that appears shows all company billing plans currently available. Click the label of the plan in question.
  4. The screen loads all the resources currently assigned to this billing plan. Now you can add limits to the following resources:


Limits for Compute zones


To add limits for Compute zones:

  1. Go to the billing plan resources screen (Billing Plans Company Plans tab > Company billing plan label).
  2. Go to the Limits & Pricing for Compute Zones section and click the "+" button in the upper right corner.
  3. In the window that pops up, select the target compute zone from the drop-down menu. Select the limit type: hourly or monthly (on peak usage)

  4. Click Add Resource.
  5. On the screen that appears set the limits and pricing:

The amount of free resources is given to a user group as a total amount for all vCloud Director resources in the compute zone. The minimum/maximum amounts and prices are set for each vCloud Director resource pool in the compute zone.

 

For allocation pool

ResourceLimitsPrice
CPU Allocation
  • the amount of CPU (in GHz) that users get for free
  • the minimum amount of CPU (in GHz) users can request under this plan
  • the maximum amount of CPU (in GHz) users can request under this plan

the price per GHz per hour or per month (depending on selected limit type) for CPU

CPU Resources Guaranteed
  • the amount of CPU Resources (in %) that users get for free
  • the minimum amount of CPU Resources (in %) users can request under this plan
  • the maximum amount of CPU Resources (in %) users can request under this plan

the price per % per hour or per month (depending on selected limit type) for CPU Resources

CPU Used

the amount of  used CPU (in GHz) that users get for free

the price per GHz per hour or per month (depending on selected limit type) for used CPU

Memory Allocation
  • he amount of Memory (in GB) that users get for free
  • the minimum amount of Memory (in GB) users can request under this plan
  • the maximum amount of Memory (in GB) users can request under this plan
the price per GB per hour or per month (depending on selected limit type) for Memory
Memory Resources Guaranteed
  • the Memory Resources (in %) that users get for free
  • the minimum amount of Memory Resources (in %)  users can request under this plan
  • the maximum amount of Memory Resources (in %)  users can request under this plan

the price per % per hour or per month (depending on selected limit type) for Memory Resources

Memory Used

the amount of used memory (in GB) 

the price per GB per hour or per month (depending on selected limit type) for used memory

vCPU Speed
  • the amount of vCPU speed (in MHz) that users get for free
  • the minimum amount of vCPU speed (in MHz) users can request under this plan
  • the maximum amount of vCPU speed (in MHz) users can request under this plan

the price per MHz per hour or per month (depending on selected limit type) for vCPU speed


For reservation pool

ResourceLimitsPrice
CPU Allocation
  • the amount of CPU (in GHz) that users get for free
  • the minimum amount of CPU (in GHz) users can request under this plan
  • the maximum amount of CPU (in GHz) users can request under this plan
the price per GHz per hour or per month (depending on selected limit type) for CPU
Memory Allocation
  • the amount of Memory (in GB) that users get for free
  • the minimum amount of Memory (in GB) users can request under this plan
  • the maximum amount of Memory (in GB) users can request under this plan
the price per GB per hour or per month (depending on selected limit type) for Memory

 


For Pay-As-You-Go

ResourceLimitsPrice
CPU Quota
  • the amount of CPU quota (in GHz) that users get for free
  • the minimum amount of CPU quota (in GHz) users can request under this plan
  • the maximum amount of CPU quota (in GHz) users can request under this plan

the price can be regular or unlimited.The regular price is per GHz per hour or per monthly peak (depending on selected limit type) for CPU quota. Otherwise you can set price per unlimited amount of CPU quota per hour

Memory Quota
  • the amount of Memory quota (in GB) that users get for free
  • the minimum amount of Memory quota (in GB) users can request under this plan
  • the maximum amount of Memory quota (in GB) users can request under this plan

the price can be regular or unlimited. The regular price is per GB per hour or per monthly peak (depending on selected limit type) for Memory quota. Otherwise you can set price per unlimited amount of Memory quota per hour

  • CPU quota is CPU limit in terms of resource pool creation ( memory quota is memory limit respectively).
  • Min/max amounts of CPU and memory quotas affect the range within which you can set CPU and memory limits during resource pool creation/edit.
  • If min/max amounts of CPU and memory quotas are set to unlimited, that allows you to set unlimited CPU and memory during resource pool creation/edit. Otherwise unlimited option will not be available during resource pool creation/edit.
 CPU Used the amount of  used CPU (in GHz) that users get for free the price per GHz per hour or per month (depending on selected limit type) for used CPU
 Memory Used the amount of used memory (in GB)  the price per GB per hour or per month (depending on selected limit type) for used memory

To delete the compute zone from Limits & Pricing for Compute Zones section click the Delete icon next to this compute zone ( ) and confirm.

If no compute zones are added to the Limits & Pricing for Compute Zones section, then the user under this plan will have no compute zone resources available and will not be able to create any resources.

 

Limits for data store zones

The amount of free resources is given to a user group as a total amount of storage for each data store zone. The min/max amounts and prices are set for each data store in data store zone.


In the Limits & Pricing for Data Store Zones section we set limits for storage policies which are integrated into OnApp as data stores.

To add limits for data store zones:

  1. Go to the billing plan resources screen (Billing Plans > Company Plans tab > Company billing plan label).
  2. Go to the Limits & Pricing for Data Store Zones section and click the "+" button in the upper right corner.
  3. In the window that pops up, select the target data store zone from the drop-down menu. Select the limit type: hourly or monthly (on peak usage)
  4. Click Add Resource.
  5. On the screen that appears set the following limits:

     Allocation Disk Size
    • the amount of disk size (in GB) that users get for free
    • the minimum amount of disk size (in GB) users can request under this plan
    • the maximum amount of disk size (in GB) users can request under this plan
    • the price can be regular or unlimited:
      - regular: the regular price is per GB per hour or per month (depending on selected limit type) for disk size
      - unlimited: if disk capacity for the storage policy is set to unlimited, you can set price per unlimited disk size per hour

   Used Disk Size

    • the amount of  used disk size (in GB) that users get for free
    • the price per GB per hour or per month (depending on selected limit type) for used disk size


To delete the data store zone from Limits & Pricing for Data Store Zones section click the Delete icon next to this data store zone ( ) and confirm.

If no data store zones are added to the Limits & Pricing for Data Store Zones section, then you will have no data store zone resources available and you will not be able to create any resources.

 


Limits for network zones

 

The amount of free resources is given to a user group as a total amount of network resources for each network zone. The min/max amounts and prices are set for each network zone.


To add limits for network zones:

  1. Go to the billing plan resources screen (Billing Plans > Company Plans tab > Company billing plan label).
  2. Go to the Limits & Pricing for Network Zones section and click the "+" button in the upper right corner.
  3. In the window that pops up, select the target network zone from the drop-down menu. Select the limit type: hourly or monthly (on peak usage)
  4. Click Add Resource.
  5. On the screen that appears set the following limits:

    IP Address
    • the number of IP Addresses that users get for free
    • the maximum number of IP Addresses users can request under this plan
    • the price per IP Address per hour or per month (depending on selected limit type)


    Data Received

    • the amount of received data (in GB) that users get for free per hour or per month (depending on selected limit type)
    • the price over free units per GB per hour or per month (depending on selected limit type) for received data


    Data Sent
    • the amount of sent data (in GB) that users get for free per hour or per month (depending on selected limit type)
    • the price over free units per GB per hour or per month (depending on selected limit type) for sent data

To delete the network zone from Limits & Pricing for Network Zones section click the Delete icon next to this network zone ( ) and confirm.
If no network zones are added to the Limits & Pricing for Network Zones section, then you will have no network zone resources available and you will not be able to create any resources.

Assign company billing plan to user group (organization)


 

Assigning a user group to a company billing plan takes place on the Create Group screen, as part of the user group creation process:

  1. Go to your Control Panel's Users and Groups menu.
  2. Go to User Groups tab.
  3. Click the "+" button or the Create Group button.
  4. On the screen that appears, fill in the user group creation form:
    • Label - choose a name for the user group
    • Assign to vCloud - move this slider to the right to assign this user group to vCloud Director compute resource and create an organization in vCloud Director 
    • vCloud owner - choose vCloud Director owner (vCloud Director compute resource) from the drop-down list
    • Company Billing Plan - choose company billing plan from the drop-down list
  5. Click Save

After user group creation, all vCloud Director roles are assigned to this user group by default and cannot be further changed. Also the default user billing plan and the selected company billing plan are assigned to this user group.

Edit company billing plan


 

When a company billing plan is edited, the new monthly price will apply starting with the following month. For the current month, the monthly price from the previous month is taken.

To edit a company billing plan:

  1. Go to your Control Panel's Billing Plans menu.
  2. Click the Company Plans tab.
  3. On the screen that appears, click the Actions button next to the company billing plan in question, then click Edit.
  4. Make changes on the screen that follows:
    • Label - give your company billing plan a name.
    • Monthly price – set a monthly price for the company billing plan. This price will be applied regardless of the actual prices for used resources.
    • Currency - set a currency to charge in.
  5. Click Save to finish.

 

Delete company billing plan


 

To delete a company billing plan:

  1. Go to your Control Panel's Billing Plans menu.
  2. Click the Company Plans tab.
  3. On the screen that appears, click the Actions button next to the company billing plan in question, then click DeleteYou'll be asked for confirmation before the plan is removed.

 

 

Billing statistics


 

The billing statistics on used vCloud Director resources  and prices for them is collected from vCloud Director resource pools. Company billing plan for vCloud Director resource pool types includes charging for the block of resources (CPU, RAM, storage, & network etc.) assigned to your user group (organization). 

 

Statistics are not collected on a resource pool if the compute zone is not added to the billing plan.

 

To view vCloud Director resource pool billing statistics:

  1. Go to your Control Panel's Resource Pools menu to see an overview of all resource pools in the cloud.
  2. Click the label of a specific resource pool.
  3. Click the Billing Statistics tab.
  4. The page that loads will show the following details of the billing statistics:

    • Date - particular date and hour for the generated statistics

    • User Group - the label of user group (vCloud Director organization), to which the company billing plan is assigned. Click the user group name to see its details.

    • Resource Pool - the resource pool name with the total due for vCloud Director resources for the point of time specified in the Date column.
    • Network Usage - the network name with the total due for vCloud Director resources for the point of time specified in the Date column.
    • Storage Policy Usage - the storage policy name with the total due for vCloud Director resources for the point of time specified in the Date column.
    • Costs - the total due for the Resource Pools, Network Usage and Storage Police Usage at the point of time specified in the Date column.

To generate statistics for a particular time period:

  1. Go to your Control Panel's Resource Pools menu to see an overview of all resource pools in the cloud.
  2. Click the label of a specific resource pool.
  3. Click the Billing Statistics tab.
  4. At the top of the table set Start and End time for which you want to generate the billing statistics.
  5. Tick the Show in my timezone checkbox if you want to  show billing statistics according to your profile's timezone settings.
  6. Click Apply.