You can calculate the cost for each virtual machine and resources.
Prerequisites
- Verify that the Management Packs for vCenter Server, VMware Cloud Director , and NSX is configured. For details, see Configuring VMware Chargeback with vCenter, VMware Cloud Director , and NSX Endpoints.
Procedure
- On the left pane, click Pricing > Configuration.
- Select the Pricing Policies tab and then, click Add New Policy.
- To create a pricing policy, enter the following details in the Base Settings tab.
Option Description Policy Name Enter the policy name that uniquely identifies your policy. Pricing Policy Type Select the pricing policy type from the drop-down menu. The pricing policy type determines your billing model based on the Organization VDC type. Currency The currency as set in vRealize Operations. Policy Description Enter a valid description for the policy. Price based on sizing policies Enable this option to charge based on the pricing policy created in VMware Cloud Director instead of charging individually for CPU and Memory. - Click Next and add more details in the Pricing tab.
Option Description Sizing Policy Sizing policies are a way of defining template VM sizes such as Small, Medium, and Large, in terms of vCPU and Memory. This option appears only when you enable the Price based on sizing policies option in Base Settings. - Select the Charge Period which indicates the frequency of charging.
- Select the Sizing Policy Name from the drop-down menu.
- Enter a valid number for Base Rate.
- Select the Charge Based on Power State by selecting the charge from the drop-down menu. This decides whether the charge should be applied based on the power state of the VM.
- Click Add and then click Next.
CPU Rate You can charge the CPU rate based on GHz or vCPU Count. - For Base Rate, select the Charge Period and Charge Based on from the drop-down menu. The Charge Period indicates the frequency of charging and Charge Based on indicates the pricing model based on which the charge is applied.
- Enter a valid number for Default Base Rate .
- Using slabs, you can optionally charge different rates depending on the number of vCPUs used. Enter valid numbers for Base Rate Slab and click Add Slab.
The base rate slab allows you to change the rate of charging based on the resources used. For example, if you enter 5 in Greater than or equal and 5 as Base Rate, it means if the usage is 5 vCPU and above, then the Base Rate of 5 will be applied for whole usage.
- Select the Charge Based on Power State by selecting the charge from the drop-down menu. This decides whether the charge should be applied based on the power state of the VM.
- For Fixed Cost, enter a valid number. Fixed costs do not depend on the units of charging.
- Click Next.
Memory Rate - For Base Rate, select the Charge Period and Charge Based on from the drop-down menu. The Charge Period indicates the frequency of charging and Charge Based on indicates the pricing model based on which the charge is applied.
- Select the Charge Based on Power State from the drop-down menu. This decides if the charge should be applied based on the power state of the VM.
- Enter a valid number for Default Base Rate.
- Using slabs, you can optionally charge different rates depending on the memory allocated. Enter valid numbers for Base Rate Slab and click Add Slab.
The base rate slab allows you to change the rate of charging based on the resources used. For example, if you enter 50 in Greater than or equal and 10 as Base Rate, it means if the usage is 50 GB and above, then the Base Rate of 10 will be applied for whole usage.
- For Fixed Cost, enter a valid number. Fixed costs do not depend on the units of charging.
- Click Next.
Storage Rate You can charge for storage either based on storage policies or independent of it. The Default Rate option appears only when you have selected Aggregate storage charges from Storage profiles for payg Org-VDCs in the Pricing Settings tab. To charge independent of storage policies, select provide the following details:Note: This way of setting rates will be deprecated in the future release and it is advisable to instead use the Storage Policy option.- For Base Rate, select the Charge Period and Charge Based on from the drop-down menu. The Charge Period indicates the frequency of charging and Charge Based on indicates the pricing model based on which the charge is applied.
- Enter a valid number for Base Rate.
- Select the Charge Based on Power State from the drop-down menu. This decides if the charge should be applied based on the power state of the VM.
- For Fixed Cost, enter a valid number. Fixed costs do not depend on the units of charging.
- Click Add and then click Next.
To charge based on storage policies, select Storage Policy, and provide the following details:Note: Storage prices are calculated based on usage by storage policies that are independent of underlying VMs and templates, or by aggregating the usage from underlying VMs and templates. The difference is that the former considers indirect disks such as log disks and swap disks, whereas the latter considers only the storage used directly by the VMs. You can change this setting under Configuration > Pricing Settings. To charge by aggregating the usage from underlying VMs and templates, see Creating and Assigning vCenter Storage Profile Tag in VMware Chargeback.- Select the Storage Policy Name from the drop-down menu.
Note: The rate specified using the Default option is used for any storage policy for which rate is not explicitly specified.
- For Base Rate, select the Charge Period and Charge Based on from the drop-down menu.
The Charge Period indicates the frequency of charging and the Charge Based on indicates the pricing model based on which the charge is applied. You can charge for used storage or configured storage of the VMs, for example, if a VM has a 20 GB disk and if 12 GB is utilized, setting the Charge Based on to Usage will charge for 12 GB and setting it to Limit will charge for 20 GB. For more details, see
- Select the Charge Based on Power State from the drop-down menu. This decides if the charge should be applied based on the power state of the VM.
- Enter a valid number for Default Base Rate.
- Using slabs, you can optionally charge different rates depending on the storage allocated. Enter valid numbers for Base Rate Slab and click Add Slab.
The base rate slab allows you to change the rate of charging based on the resources used. For example, if you enter 50 in Greater than or equal and 10 as Base Rate, it means if the usage is 50 GB and above, then the Base Rate of 10 will be applied for whole usage.
- Click Add and then click Next.
Cloudian Storage A third-party storage service in VMware Cloud Director that allows the Service Providers to provide additional storage to the tenants and charge them for the same. You can charge for the consumption of cloudian storage by creating slabs with different rates for storage values. Note: The bills for cloudian storage will be generated only at the organization level.- Select the Charge Period and Charge Based on from the drop-down menu. The Charge Period indicates the frequency of charging and Charge Based on indicates the pricing model based on which the charge is applied.
- Enter a valid number for Default Base Rate (Per GB).
- Click Create Slab and then click Next.
Network Rate - Enter the External Network Transmit and External Network Receive rates.
Note: If your network is backed by NSX-T, you will be charged only for the network data transmit and network data receive.
- Under Network Transmit Rate, select the Change Period from the drop-down menu, and enter the Default Base Rate .
- Using slabs, you can optionally charge different rates depending on the network data consumed. Enter valid numbers for Base Rate Slab and click Add Slab.
The base rate slab allows you to change the rate of charging based on the resources used. For example, if you enter 50 in Greater than or equal and 10 as Base Rate, it means if the usage is 50 Mbps and above, then the Base Rate of 10 will be applied for whole usage.
- Select the Usage based on which you want to charge.
- Under Network Receive Rate, select the Change Period from the drop-down menu and enter the Default Base Rate.
- Using slabs, you can optionally charge different rates depending on the network data consumed. Enter valid numbers for Base Rate Slab and click Add Slab.
The base rate slab allows you to change the rate of charging based on the resources used. For example, if you enter 50 in Greater than or equal and 10 as Base Rate, it means if the usage is 50 Mbps and above, then the Base Rate of 10 will be applied for whole usage.
- Select the Usage based on which you want to charge.
- Click Next.
Advanced Network Rate Edge Gateway Size: VMware Chargeback allows you to define the size of the edge gateway (Compact, Large, Extra Large and Quad Large) and assign differential price based on the edge size.
Edge Services: Apart from the basic data transfer, there are additional value added services offered in VMware Cloud Director in combination with NSX. All the network services associated with specific edge such as HA, DHCP, IPV6, IP Sec, Load Balancer, NAT, SSL VPN, L2 VPN, Firewall, Static Routing, BGP Routing, OSPF Routing are considered for charging based on these services are ‘Enabled’ or not.
If services are enabled for a specific day and base rate is applied for that service, then that particular service gets charged for that specific day. If the service is disabled on any day then base rate will not be applied.
IP Count is the unique IP counts available on the external network of the Org-VDC. Pricing can be performed based on the count of these IPs.
- Under Edge Gateway Size, enter the base rates for the corresponding edge gateway sizes.
- Enter the Charge Period and Base Rate in the displayed fields.
- Under the Network Service Pricing (NSXT only), L2VPN charges (per L2VPN count), Load Balancer Charges (per load balancer count), enter the Charge Period and Base Rate Slab in the displayed fields.
- Click Add Slab.
Service Providers can charge for consumption of NSX Advanced Load Balancer based on throughput. You can create slabs with different rates for throughput values.Note: The unit of charging for 'throughput' is 'mbitsps'.- Under NSX Advanced Load Balancer (Throughput), enter the Charge Period, Usage, and Default Base Rate Slab in the displayed fields
- Click Add Slab and then, click Next.
Guest OS Rate Prerequisites:
VMware tools should be installed on the monitors virtual machines
The virtual machine should be powered on atleast once during the billing period, so that data is collected in vROps
The name of guest OS mentioned in pricing policy should match exactly(case-sensitive) with the name of guest OS collected in vROps
Use the Guest OS Rate to charge differently for different operating systems .
- Enter the Guest OS Name.
- Select the Charge Period and Charge Based on Power state from the drop-down menu.
- Enter the Base Rate and click Add and then, click Next .
Cloud Director Availability Per Replica Charge: Use this section to set pricing for replications created from Cloud Director Availability. You can charge for each replication object, based on SLA profile they belong to. For charging replications without any SLA Profile assigned, please enter None as the SLA Profile name.- Click Create Per Replication Charge, and enter Replication SLA Profile name, Charge Period, and Base Rate.
- Click Add.
Storage Usage Charge: Use this section to set additional pricing for storage used by Cloud Director Availability replications in Cloud Director.Note: The storage usage defined in this tab will be added additionally to the Storage Policy Base Rate.- Click Create Storage Usage Charge, and enter Storage Policy Name, Charge Period, and Default Base Rate.
- Click Add Slab, and define Greater than or equal and Base Rate.
- Click Add to include the values entered above to the pricing policy.
vCenter Tag Rate Use the vCenter Tag Rate to charge differently for different tags set on VM . - Enter the Tag Category and Tag Value.
- Select if you want to charge based on Fixed Rate or Alternate Pricing Policy.
- Select the alternate Pricing Policy name. This option appears only when you charge based on Alternate Pricing Policy.
- Select the Priority for the alternate pricing policy. This option appears only when you charge based on Alternate Pricing Policy. When the metadata or tag-based charges overlap, setting a priority allows you to define which policy should be processed first.
- Select the Charge Period and Charge Based on Power state from the drop-down menu.
- Enter the Base Rate and click Add, and then, click Next.
VCD Metadata Rate Use the VCD Metadata Rate to charge differently for different metadata set on vApps. - Enter the Tag Key and Tag Value.
- Select if you want to charge based on Fixed Rate or Alternate Pricing Policy.
- Select the alternate Pricing Policy name. This option appears only when you charge based on Alternate Pricing Policy.
- Select the Priority for the alternate pricing policy. This option appears only when you charge based on Alternate Pricing Policy. When the metadata or tag-based charges overlap, setting a priority allows you to define which policy should be processed first.
- Select the Charge Period and Charge Based on Power state from the drop-down menu.
- Enter the Base Rate and click Add, and then, click Next.
One Time Fixed Cost Use the One Time Fixed Cost section to charge for one time incidental charges on Virtual Machines. These costs do not repeat on a recurring basis. - Enter the One time fixed cost to charge for the setup fee of the VMs.
- Using tags, you can charge for other incidental charges such as 'OS patching charge' based on one time fixed costs. Under VCD Metadata, enter the Tag Key and Tag Value.
- Enter the One time fixed cost and click Add.
- Under vCenter Tag, enter the Tag Key and Tag Value.
- Enter the One time fixed cost and click Add.
- Click Next.
Note: User can now even add a negative value for the One time fixed cost.Rate Factors Use Rate Factors to either increase or discount the prices against individual resources consumed by the Virtual Machines or by whole charges against the Virtual Machine. - For any resource with Metadata, enter the Tag Key and Tag Value under VCD Metadata.
- Select Change the price of and increase or decrease the price by entering a valid number in By applying a factor of. For example, if you want to increase the price of CPU which has a tag 'Tag1-Value1' by 20% then select CPU from the Change the price of drop-down menu and enter 1.2 in By applying a factor of.
- Click Add.
- For any resource with Tag, enter the Tag Key and Tag Value under vCenter Tag.
- Select Change the price of and increase or decrease the price by entering a valid number in By applying a factor of. For example, if you want to increase the price of CPU which has a tag 'Tag1-Value1' by 20% then select CPU from the Change the price of drop-down menu and enter 1.2 in By applying a factor of.
- Click Add and then, click Next.
Tanzu Kubernetes Clusters Use Tanzu Kubernetes Clusters to charge for the clusters and objects, based on attributes like CPU, Storage, Memory etc. - Under the Cluster Fixed Cost, select the Charge Period and enter the Fixed Cost.
- Under the Cluster CPU Rate, select the Charge Period and Charge Based On. Enter the Default Base Rate and Base Rate Slab.
- Click Add Slab and then, click Next.
CSE Kubernetes Clusters Use CSE Kubernetes Clusters to charge for the clusters and objects, based on attributes like CPU, Storage, Memory etc. - Under the Cluster Fixed Cost, select the Charge Period and enter the Fixed Cost.
- Under the Cluster CPU Rate, select the Charge Period and Charge Based On. Enter the Default Base Rate and Base Rate Slab.
- Click Add Slab and then, click Next.
Additional Fixed Cost Use the Additional Fixed Cost section to charge at the Org-VDC level. You can use this for charges such as overall tax, overall discounts, and so on. The charges can be applied to selective Org-VDCs based on Org-VDC metadata. - Under the Fixed Cost, enter the Charge Period and Fixed Cost.
- Under VCD Metadata, enter the Tag Key and Tag Value.
- Enter the Charge Period and Base Rate, and click Add.
- Under VCD Metadata One Time, enter the Tag Key and Tag Value.
- Enter the One time fixed cost to charge for the Org-VDC, and click Add.
- Click Next.
- Click Next to view the summary in the Preview tab, and click Create.
- Go to Configuration > Resources tab, select an Organization/Organization VDC, and click Assign.
- Select a policy to assign and click Assign.
The policy is assigned to the selected Organization/Organization VDC.