Cloud Assert Blogs

Metered Resources – Setting up Unit Multiplier and Monthly Unit Price

Metered Resources – Setting up Unit Multiplier and Monthly Unit Price

Cloud Assert Usage & Billing for Windows Azure Pack

Author: Aravind Sundaresan/Friday, January 8, 2016/Categories: Windows Azure Pack, Usage and Billing

Rate this article:
4.5

Metered Resource Pricing Setup Wizard (sample):

Edit Pricing Details


Step 1: Determine the WAP Usage Resource and its unit (Raw Usage unit)

Each WAP Resource’s Raw Usage is expressed in different units. This unit is decided by the Resource Provider that generates that usage. Cloud Assert Usage & Billing product depends upon these Raw Usage values, to calculate the bill and invoice of each customer.

One might need to refer to the Resource Provider’s documentation to know this unit.

Example WAP Resources:

#

Resource Provider

Component

Metered Resource

Units in which raw usage is returned by WAP

1

systemcenter

Virtual Machine

CPUAllocationCount-Max

Number of CPUs

2

systemcenter

Virtual Machine

MemoryConsumed-Max

Mega Bytes (MB)

3

systemcenter

Virtual Machine

CrossDiskSizeAllocated-Average

Bytes

 

Step 2: Set the Unit Multiplier

Decide the units in which to charge the customers and accordingly set the Unit Multiplier. This Unit Multiplier is multiplied with the Raw Usage, to generate the resulting units (Billable Units) upon which pricing is calculated.

Calculated Units or Billable Units = Raw Usage value * Unit Multiplier

For instance, if the Raw Usage unit is expressed in Mega Bytes, and if you decide to setup the Monthly Pricing based on Giga Bytes, then the Unit Multiplier will be 1/1024 expressed in decimals.

Examples:

#

Metered Resource

WAP Raw Usage Unit

Billable Unit

Unit Multiplier

In decimal

1

CPUAllocationCount-Max

Number of CPUs

Number of CPUs

1

1

2

MemoryConsumed-Max

MB

Giga Bytes (GB)

1 / 1024

0.0009765625

3

CrossDiskSizeAllocated-Average

Bytes

Giga Bytes (GB)

1 / (1024 * 1024 * 1024)

0.0000000009313

 

Step 3: Monthly Unit Price - Set the price per month based on above units

Monthly Unit Price is the price equivalent for usage of ‘1 unit / hour’ of usage for 720 hours (24 hours * 30 days). Based on this value, Hourly Unit Price is calculated internally by Cloud Assert Usage & Billing product and used to calculate the net cost of a customer’s per hour usage of a WAP Resource.

Usage Cost @ a hour = [Billable Units @ that hour] * [Hourly Unit Price]

Usage Cost @ a hour = Raw Usage value * Unit Multiplier * Monthly Unit Price / 720

Example Price setup:

#

Metered Resource

Billable Unit

Unit Multiplier

Monthly Unit Price

Hourly Unit Price (Calculated internally)

1

CPUAllocationCount-Max

Number of CPUs

1

30 MYR

0.04167

2

MemoryConsumed-Max

Giga Bytes (GB)

1 / 1024

40 MYR

0.05556

3

CrossDiskSizeAllocated-Average

Giga Bytes (GB)

1 / (1024 * 1024)

3 MYR

0.00417

 

Cost Calculation examples

Example 1: Compute Units or Total Count

In the below table, Hourly Unit Price is calculated considering Monthly Unit Price as 10 MYR/ 1 Unit.

#

Metered Resource

WAP Raw Usage at a hour
(A)

Unit Multiplier
(B)

Calculated Hourly Units
(C = A * B)

Hourly Unit Price
(D)

Calculated Hourly Price
(E = C * D)

1

Compute Units

10 (Units)

1

10

0.01388889

0.1388889

2

DatabaseCount

2 (Units)

1

2

0.01388889

0.0277778

3

CPUAllocationCount-Max

3 (Units)

1

3

0.01388889

0.0416667

 

Example 2: Bytes / MB / GB

In the below table, Hourly Unit Price is calculated considering Monthly Unit Price as 40 MYR / 1 GB.

#

Metered Resource

WAP Raw Usage at a hour
(A)

Unit Multiplier
(B)

Calculated Hourly Units
(C = A * B)

Hourly Unit Price
(D)

Calculated Hourly Price
(E = C * D)

1

CrossDiskSizeAllocated-Average

45134905344 (bytes)

1 / (1024 * 1024)
(1 unit = 1 MB)

43044 (MB)

5.425347

2.335

2

CrossDiskSizeAllocated-Average

45134905344 (bytes)

1 / (1024 * 1024 * 1024)
(1 unit = 1 GB)

42.03515625 (GB)

0.05556

2.335

3

MemoryConsumed-Max

2048 (MB)

1/1024
(1 unit = 1 GB)

2

0.05556

0.1111

4

TotalAllottedSpace

4096 (MB)

1/1024
(1 unit = 1 GB)

4

0.05556

0.22224


From the rows (1) and (2), we can observe that even when ‘Calculated Hourly Units’ and ‘Hourly Unit Price’ are different, the ‘Calculated Hourly Price’ stays same if the usage is same.

Key values:

X

Value

1 / 1024

0.0009765625

1 / (1024 * 1024 * 1024)

0.0000000009313

1024 ^ 3

1073741824

1024 * 1024

1048576

 

 

Print

Number of views (5774)/Comments (4)

4 comments on article "Metered Resources – Setting up Unit Multiplier and Monthly Unit Price"

Avatar image

essay

6/30/2018 5:30 AM

A monthly price unit is set uk for the happiness of the business. The scope of the project and custom essay writing has been introduced for the success of the students. The monthly review is done for the removal of the errors and flaws from the system of the things.


Avatar image

checkers

10/29/2018 4:23 AM

Play online free checkers,i am very exited and happy play this game,such a awesome perfect great puzzle game,then i am sure you fully enjoyed and understand this game,then forward this game to all game users and other groups.


Avatar image

Coursework Help

12/26/2018 12:59 AM

Web bugs are not risky and do not stay on your pc, but they can cause comfort problems. There are a few ways to turn off them, such as establishing yoru web browser to not obtain pictures. There is also application you can obtain that particularly prevents 1 pixel pictures from being downloadable.


Leave a comment

This form collects your name, email, IP address and content so that we can keep track of the comments placed on the website. For more info check our Privacy Policy and Terms Of Use where you will get more info on where, how and why we store your data.
Add comment

Text/HTML