VMware Cloud Director Buckets
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 bucket, set prices and resource limits, and then assign users to that bucket. Buckets can be assigned to individual users and to organizations imported into OnApp.
This functionality is available for users with the vCloud Organization Administrator role. As a user with the vCloud Organization User role, you can only view your own buckets.
Buckets enable you to set up resources allocation and pricing separately. They are subdivided into two subsections:
- Access Control - in this section you configure the resources allocation for the users under this bucket. If you assign a bucket to a user, that user will have access only to those resources which you have added to the bucket. If no resources are added to a section of the Access Control, e.g. compute zones, the user under the bucket will not have access to any of the compute zones in the cloud.
- Rate Card - in this section you set up prices for the resources and the amount of resources users can request for free. Users under the bucket will be billed according to the prices you configure in the Rate Card. In the Rate Card, you can set the pricing type: hourly or monthly.
For convenience, you can duplicate resources from the Access Control to the Rate Card and vice versa. When adding a resource to the Access Control tick the Duplicate to rate card checkbox and the resource will be added to the Rate Card with no prices and free limits by default. Similarly, when adding a resource to the Rate Card tick the Duplicate to access control checkbox box and the resource will be added to the access control with no limits by default.
These tabs are further subdivided into sections that depend on the server types of resources you have in the cloud. The VMware Cloud Director resources have the VPC server type.
Buckets functionality is applicable to three models of resources allocation of VMware Cloud Director resource pools - Pay-As-You-Go, reservation pool and allocation pool. If you are allocating resources to your customers based on these VMware Cloud 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 - the number of used resources is calculated hourly and users are charged per hour for the usage of resources.
- Monthly (on peak usage) - the number of used resources is calculated monthly and users are charged once per month (on the first day of a month for the preceding month) for a peak value of a resource usage. The peak value is the highest value that occurred throughout a month (e.g. from 01.04.2019 00:00 to 30.04.2019 23:59).
Before you Begin
- Be careful when deleting or editing resources in buckets assigned to users or user groups and which have been used to build servers, as any changes will affect these servers. For example, if you have a server running on a template and the template's store is removed from the bucket, the server will remain running but it will not be possible to edit it. Therefore, we advise to clone the required bucket and make the necessary changes in the cloned version.
- Ensure that Buckets and Resource Pool Statistics permissions are on before creating a bucket. For more information about permissions, refer to the VMware Cloud Director 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 buckets and billing statistics.
Create Bucket
To create a bucket:
- Go to your Control Panel > Admin > Buckets menu.
- On the screen that appears, click the + button or click New Bucket at the bottom of the screen.
- Complete the form on the screen that appears:
- Label – eneter a name for the bucket
Monthly price – set a monthly price for the bucket. This price will be applied regardless of the actual prices for used resources.
Be aware that the maximum value that you can set is 1013.- Currency - set a currency to charge in.
- Specify Windows licensing support settings:
- Tick the Allows mak box to enable MAK licensing for a user signed up for this bucket
- Tick the Allows kms box to allow using KMS service
- Choose Allows own to permit inserting custom licenses
- Click Save to finish.
Configure Resource Allocation and Prices
- A resource pool is allocated to an organization, and the organization is associated with 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.
- The amount of free resources is given to an organization as a total amount for all VMware Cloud Director resources in the compute zone. The minimum/maximum amounts and prices are set for each VMware Cloud Director resource pool in the compute zone.
Configure Access Control
Access control is used to manage availability of resources to users. For the newly created bucket, the Access Control is empty, and that means that no resources are available to a user to whom this bucket is assigned. To make compute, disk space, or networking resources available, add the corresponding zones to a bucket.
- If you do not add resources to a section of Access Control, e.g. compute zone, the user under this bucket will not have access to any of the compute zones in the cloud.
- If you remove a template store or compute/data store/network/backup server zone from the Access Control, it will not be possible to edit the resources of the servers running in this zone(s).
To manage resources allocation:
Go to your Control Panel > Admin > Buckets menu.
Click a label of a bucket. You will be redirected to the Access Control tab of the bucket.
Click an icon to select the required server type (VPC) and add resources as follows:
- Click the + in the appropriate box.
- When the new windows pops up, set limits for resources (see the table below for reference).
- Select the Duplicate to rate card checkbox if you want to set free limits and prices for the resources.
Resource Type | Resource name | Values | Description |
---|---|---|---|
Miscellaneous | Virtual Servers | Max | Set the total amount of VSs the users can create in the cloud. This parameter affects the number of virtual servers, VSs in Federation and load balancers users can create. Leave the '-' value to let the user create an unlimited amount of VSs in the cloud. |
Application Servers | Max | Set the total amount of application servers that the users can create in the cloud. Leave the '-' value to let the user create an unlimited amount of application servers in the cloud. | |
Limits for compute zones Allocation Pool | CPU Allocation | Min Max |
|
CPU Guaranteed | Min Max |
| |
vCPUs | Min Max |
| |
Memory Allocation | Min Max |
| |
Memory Guaranteed | Min Max |
| |
vCPU Speed | Min Max |
| |
Limits for compute zones Reservation Pool | CPU Allocation | Min Max |
|
vCPUs | Min Max |
| |
Memory Allocation | Min Max |
| |
Limits for compute zones Pay-As-You-Go | CPU Quota | Min Max |
CPU quota is a CPU limit in terms of resource pool creation. Min/max amounts of CPU quotas affect the range within which you can set CPU limits during resource pool creation/edit. If min/max amounts of CPU quota is set to unlimited, that allows you to set unlimited CPU and memory during resource pool creation/edit. Otherwise, the unlimited option will not be available during resource pool creation/edit. |
vCPUs | Min Max |
| |
Memory Quota | Min Max |
Memory quota is the name of the resource which controls the memory limit at resource pool creation. Min/max amounts of memory quotas affect the range within which you can set 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, the unlimited option will not be available during resource pool creation/edit. | |
| |||
Limits for compute zones Per zone limits | VS CPU Cores | Max | The maximum amount of CPU cores that users can request for all VSs totally created in the compute zone. Leave the '-' value to let the user request an unlimited amount of CPU cores for their servers within the compute zone. |
VS RAM | Max | The maximum amount of RAM that users can request for all VSs totally within the compute zone. Leave the '-' value to let the user request an unlimited amount of CPU cores for their VSs within the compute zone. | |
Limits for compute zones NSX-T Edge Gateways | Number of NSX-T edge gateways | Max | The maximum number of NSX-T edge gateways can be created in the compute zone. |
Limits for data store zones | Disk Size | Min Max |
|
VS Disk Size | Max | The maximum amount of disk size that users can request for all VSs totally within the whole data store zone. Leave the '-' value to provide an unlimited amount of VS disk space in the selected data store zone to a user under this bucket. | |
Limits for network zones | IP Address | Max | The maximum number of IP Addresses users can request to deploy Edge Gateways for the whole network zone. Leave the '-' value to provide an unlimited amount of IP addresses in the selected network zone to a user under this bucket. |
VS IP Addresses | Max | The maximum amount of IP addresses that users can allocate to deploy/recompose a vApp within the whole network zone. Leave the '-' value to provide an unlimited amount of VS IP addresses in the selected network zone to a user under this bucket. | |
Limits for NSX-V edges | Firewall NAT Load balancer IPSec VPN L2 VPN | Yes No | Move the slider to the right to provide access to NSX-V service. Move the slider to the left not to deny access to NSX-V service. After the bucket Access Control is enabled for selected NSX-V services, they will be billed according to the prices set in the Rate Cards section. |
Resource Type | Description |
---|---|
Limits for orchestration models | Add the orchestration model(s) which will be available for a user or user group at the Orchestration Models menu. The orchestration models section will appear only if you added the compute zone(s) associated with the model(s) to the Access Control. |
Limits for backup resource zones | Select which backup resource zones will be available to users under this bucket. |
Limits for edge groups | Select which edge groups will be available to users under this bucket. |
Limits for template store | Select which template stores from which templates will be available for users to select during a virtual server creation. |
Limits for recipe groups | Select which groups of recipes will be available to users under this bucket. |
Limits for service add-on groups | Select which service add-on groups will be available for users to assign to virtual servers. |
Other Resources
Configure Rate Card
Rate Card is used to manage the prices and the amount of free limits for resources. For the newly created bucket, the Rate Card is empty, and that means that a user, to whom this bucket is assigned, is not billed for any of the resources in the system. To configure pricing for compute, disk space, or networking resources, add the corresponding zones to the bucket's Rate Card.
- If you add a resource to the Rate Card but do not add it to the Access Control, the user under this bucket will not have access to that resource.
- In case you remove from Access Control a resource on which users under the bucket have running servers, the users' existing servers will remain as they are, but users will not be able to access these resources to create new servers. If you leave such a resource in the Rate Card, the users' existing servers will continue to be billed according to the prices you have configured.
- If you remove a template store or compute/data store/network/backup server zone from the Rate Card, the prices for the removed resource will be set to zero for the servers using this zone(s).
- If you want to disable prices completely you can do so by enabling the Disable billing slider at the Edit System Configuration page. When the billing is disabled, the Rate Cards are removed from existing buckets. Note that if billing is enabled again, the prices won't be recalculated again. Instead, the price calculation will start with the next hour.
To manage pricing for the resources:
Go to your Control Panel> Admin > Buckets menu.
Click a label of a bucket. You will be redirected to the Access Control tab of the bucket.
- Click the Rate Card tab.
Click an icon to select the required server type and add resources as follows:
- Click the + in the appropriate section.
- When the new windows pops up, set the value for the free limit and the price (see the table below for reference).
- Select the Duplicate to access control checkbox if you want to add the resource not only to Rate Card but also to Access Control.
Resource Type | Resource name | Values | Description |
---|---|---|---|
Miscellaneous | Virtual Servers | Max | Set the total amount of VSs the users can create in the cloud. This parameter affects the number of virtual servers, VSs in Federation and load balancers users can create. Leave the '-' value to let the user create an unlimited amount of VSs in the cloud. |
Application Server | Free Price |
| |
Pricing for compute zones Allocation Pool | CPU Allocation | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. |
RAM Allocation | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
CPU Used | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
vCPUs | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
RAM Used | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
CPU Resources Guaranteed | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
RAM Resources Guaranteed | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
vCPU Speed | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
Pricing for compute zones Reservation Pool | CPU Allocation | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. |
vCPUs | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
RAM Allocation | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
Pricing for compute zones Pay-As-You-Go | CPU Quota | Regular Price Unlimited Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. |
RAM Quota | Regular Price Unlimited Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
CPU Used | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
vCPUs | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
RAM Used | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
Pricing for compute zones Per zone | VS CPU | Price on Price off Free |
These parameters apply only if you are configuring a bucket that will be assigned to individual users. |
VS RAM | Price on Price off Free |
These parameters apply only if you are configuring a bucket that will be assigned to individual users. | |
Pricing for compute zones NSX-T Edge Gateways | Number of Edge Gateways | Price Free |
|
Pricing for data store zones | Disk Size | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. |
Disk Size Used | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
VS Disk Size | Price on Price off Free |
These parameters apply only if you are configuring a bucket that will be assigned to individual users. | |
Unlimited Disk Size | Price | If disk capacity for the data store zone is set to unlimited, you can set price per unlimited disk size per hour or per month, depending on the selected pricing type This parameter applies only if you are configuring a bucket that will be assigned to organizations. | |
Pricing for network zones | IP Address | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. |
VS IP Address | Price on Price off Free |
These parameters apply only if you are configuring a bucket that will be assigned to individual users. | |
Data Sent | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
Data Received | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to organizations. | |
VS Data Sent | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to individual users. | |
VS Data Received | Price Free |
These parameters apply only if you are configuring a bucket that will be assigned to individual users. | |
Pricing for NSX-V edges | Firewall NAT Load balancer IPSec VPN L2 VPN | Price on | The price per service per hour or per month (depending on selected pricing type) which users can request under this bucket. |
Other Resources
Resource Type | Resource Name | Values | Description |
---|---|---|---|
Pricing for backup resource zones | Recovery Point | Price Free |
The recovery point is a term that is used to refer to a backup created by means of a backup plugin. |
Recovery Point Size | Price Free |
| |
Space Used | Price Free |
| |
Pricing for edge groups | Edge Group Resource | Price | Set the price per GB of CDN bandwidth that will be available to users under this bucket in the selected CDN edge group. |
Pricing for template store | Template Store | Price | Select the template store for the templates in which you wish to set a price and enter the cost for each individual template. As a single template can be included in multiple template stores, the same template will have the same price in all the template stores added to the rate card of a single bucket. If you add/edit the price of a template in one template store, the price of the same template will change to the new value in all the template stores in the rate card. Tick the Apply to all buckets checkbox to set the price you have configured for the templates in the store to all buckets that contain this template store. |
Pricing for service add-on groups | Service Add-on Store | Price | The price that will be charged for adding the service add-ons from this service add-on store to virtual servers. |
CPU | Price Free |
| |
Memory | Price Free |
| |
Disk Size | Price Free |
|
Assign Users to Bucket
You can assign a bucket to an individual user while creating or editing a user profile.
To assign a bucket to a new user:
- Go to your Control Panel > Admin > Users menu. The page that loads shows all the users in your cloud.
- Click the + icon or the Create User button. You will be forwarded to the first step of the user creation wizard.
- Fill in the login, first and last name, email and password for the new user and click Next.
- At the second step of the user creation process select the required VMware Cloud Director user group and one or several vCloud roles for the user from the drop-down lists. Click Next to proceed.
- Select the bucket under which the user will be billed. Click Next to proceed to the final step of the user creation process.
- Set the auto suspending options if required and click Save to create the user. The new user will be able to log into OnApp with the credentials you have specified during creation and will be billed according to the bucket you have selected.
To assign a bucket to an existing user:
Go to your Control Panel > Admin > Users menu. The page that loads shows all the users in your cloud.
Click the Actions icon next to the user to which you want to assign a bucket.
To assign a certain bucket to a user, select the required bucket from the drop-down list in the Buckets field. On this page, you can also change other details of the user account, e.g., login, email, password, etc.
Click Save to change the details of the user profile. After this process the user will be billed according to the bucket you have selected.
Assign Organizations to Bucket
You can assign a user group to a bucket while creating a new organization.
To assign a bucket to the user group:
- Go to your Control Panel > Cloud > Organizations menu.
- Click the + icon or the Add new Organization button.
- On the screen that appears, fill in the organization details:
- Label - type a name for the organization
- Compute Resource - the VCD compute resource with which the new organization is to be associated
- Automatically create User Group? - whether you wish to create a new user group with which this organization will be associated. If you enable this slider, a new user group with the label of this organization will be created and will contain this organization. If you do not enable this option, you can associate this organization with an already existing user group.
- User Group - the user group with which this organization is to be associated. This parameter applies only if you disable the Automatically create User Group? slider.
- Company Billing Plan - the bucket for the user group that is to be created for this organization. This parameter applies only if you enable the Automatically create User Group?
- Click Submit to create a new organization.
The newly created organization will have the following roles:
- If you select to automatically create a new user group for this organization, all VMware Cloud Director roles are assigned to this organization by default and cannot be further changed.
If you select an existing user group, the organization inherits roles from this user group settings.
To enable all VMware Cloud Director roles on the User Group level, select the Assign vCloud Roles checkbox while creating or editing a user group to which the organization will belong.
View List of Users Assigned to Bucket
You can view the list of users assigned to a bucket from the buckets list page.
To view the list of users assigned to a bucket:
- Go your Control Panel > Admin > Buckets. The page that loads lists all the buckets in your cloud.
- In the Associated with users column click the number next to the bucket you are interested in. This number indicates how many active users are associated with this bucket. You will be forwarded to the list of users to whom the bucket is assigned. The users which have been deleted or deactivated are not shown at this list.
- Click the user’s Full Name to view the account details or click the Actions icon next to the user to edit, delete or perform other action related to this user.
Edit Bucket
To edit a bucket:
- Go to your Control Panel > Admin > Buckets menu.
- Click the Actions button next to the required bucket and then click Edit.
- Change the required settings and click the Save button.
- Editing a bucket that is associated with more than one user will affect all users attached to it. If you want to affect only a particular user, copy the bucket, assign it to this user and then edit the bucket.
- When a bucket 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.
Copy Bucket
To copy a bucket:
- Go to your Control Panel > Admin > Buckets menu. The screen that appears will show all the buckets currently set up on the cloud.
- Click the Actions icon next to a required bucket, then click Copy.
- You will be forwarded to the Access Control section of the copied version of the original bucket. The copy will be displayed in the bucket's list at Control Panel > Buckets with a label consisting of ‘Bucket clone of’ and the name of the original bucket, e.g. ‘Bucket Clone of Test.Bucket’.
Delete Bucket
To delete a bucket:
- Go to your Control Panel > Admin > Buckets menu. The screen that appears will show all the buckets currently set up in the cloud.
- Click the Delete icon next to a bucket to remove it from the system. You'll be asked for confirmation before the bucket is removed.
Billing Statistics
The billing statistics on used VMware Cloud Director resources and prices for them is collected from VMware Cloud Director resource pools. Buckets for VMware Cloud Director resource pool types includes charging for the block of resources (CPU, RAM, storage, network, etc.) assigned to your organization.
To view VMware Cloud Director resource pool billing statistics:
- Go to your Control Panel > Cloud > Resource Pools menu to see an overview of all resource pools in the cloud.
- Click the label of a specific resource pool.
- Click the Billing Statistics tab.
- 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 (VMware Cloud Director organization), to which the bucket is assigned. Click the user group name to see its details.
- Resource Pool - the resource pool name with the total due for VMware Cloud Director resources for the point of time specified in the Date column.
- Network Usage - the network name with the total due for VMware Cloud Director resources for the point of time specified in the Date column.
- Storage Policy Usage - the storage policy name with the total due for VMware Cloud Director resources for the point of time specified in the Date column.
- Costs - the total due for the Resource Pools, Network Usage including sub-allocated IP addresses, and Storage Policy Usage at the point of time specified in the Date column.
To generate statistics for a particular time period:
- Go to your Control Panel > Cloud > Resource Pools menu to see an overview of all resource pools in the cloud.
- Click the label of a specific resource pool.
- Click the Billing Statistics tab.
- At the top of the table set Start and End time for which you want to generate the billing statistics.
- Tick the Show in my timezone checkbox if you want to show billing statistics according to your profile's timezone settings.
- Click Apply.