Pricing Profile

Creating a Fixed Payment Plan

  • Logon to WAP Admin portal, click on Usage and Billing on the Left.

  • Click on the ‘PRICING PROFILES’ Tab.

  • Click ‘ADD’ button.

  • Specify a name for the pricing profile.

  • Check the ‘SET MONTHLY FEE?’ check box.

  • Specify the ‘MONTHLY FEE’ amount.

  • Specify the ‘ONE-TIME FEE’ amount.

  • Specify the ‘REGION’, ‘CURRENCY TEXT’ and ‘CURRENCY SYMBOL’ and click next.

  • If the tax rate needs to be included for the tenants who subscribe for this plan check the ‘APPLY STANDARD TAX RATE?’ box provided the tax rate is specified under ‘SETTINGS’ ‘INVOICE’ tab under Usage and Billing admin portal. (Optional)

  • Specify the ‘MARKUP PERCENT’ if required. The specified percentage will be applied to the usage cost monthly.

  • If the markup percent needs to be applied for the base profile alone then check the ‘APPLY MARKUP TO BASE PROFILE ALONE?’ box. If the markup percent is specified and the box is unchecked for a single profile(which doesn’t link with any profile) then, the specified markup will be applied to a current profile.

  • If the markup percent of the base profile needs to be aggregated, then check the ‘SHOULD AGGREGATE MARKUPS OF BASE PROFILE?’ box. If the box is unchecked, then the lowest child’s markup alone applied.

  • Specify the ‘PROMO TYPE’ and specify the ‘PROMO CREDIT AMOUNT’ if required (Refer Recurring Credit & One-Time Credit).

Note: If the promo credit needs to be calculated in percentage, check the ‘PROMO CREDIT IN PERCENTAGE’ and specify the percentage in ‘PROMO CREDIT PERCENTAGE’ field.

  • Specifying the ‘MINIMUM COMMITEMENT DURATION’ will allow the tenant users to delete their subscriptions only after the expiry date (In the above example, expiry date is 365 days from the date of subscription of the plan). (Optional)

  • Click next.

Note: The next step (shown in the below Figure) appears only if the pricing catalog feature is enabled under ‘SETTINGS’ ‘PRODUCT FEATURES’ tab in Usage and Billing admin portal.

  • The name specified under ‘DISPLAY NAME’ appears in the ‘MARKET PLACE’ of Usage and Billing tenant portal.

  • Specify the ‘DISPLAY SEQUENCE ORDER’, ‘ADVERTISED AMOUNT’ and ‘ADVERTISED TEXT’.

  • Click Finish to create a pricing profile.

Creating / Cloning Pay-As-You-Go Plan

Usage and Billing comes with a pre-loaded pricing profile called as ‘default’ pricing profile which is of the type ‘Pay-As-You-Go’. This pricing profile contains all the meters of the resources providers. It is better to clone this pricing profile rather than to create a new pricing profile of type pay-as-you-go.

Creating a Pay-As-You-Go Pricing Profile

  • Logon to WAP Admin portal, click on Usage and Billing on the Left.

  • Click on the ‘PRICING PROFILES’ Tab.

  • Click ‘ADD’ button.

  • Specify a name for the pricing profile.

  • Uncheck the ‘SET MONTHLY FEE?’ check box.

  • Specify the ‘ONE-TIME FEE’ as zero.

  • Repeat steps 8 to 18 from ‘Creating a Fixed Payment Plan’ section.

  • Click the ‘ID’ column of the newly created pricing profile to configure the pricing profile.

  • Click ‘CREATE METERED PRICING’ or ‘ADD’ button to create a meter for the resource.

  • After specifying all the fields check the ‘IS COLLECTION ENABLED?’ check box to enable Usage and Billing solution to calculate the usage cost for the resource as specified.

  • Click next

  • The Advanced detail setting is an optional setting and can be ignored.

  • Refer ‘Unit Credit’ to set ‘HOURLY UNIT CREDITS’ if necessary.

  • Click Finish to configure the price settings for the resource.

Cloning a Pay-As-You-Go Pricing Profile

  • Logon to WAP Admin portal, click on Usage and Billing on the Left.

  • Click on the ‘PRICING PROFILES’ Tab.

  • Select the default pricing profile labeled as ‘default’ and click the ‘CLONE’ button.

  • A dialog box appears prompting to enter a new name for the pricing profile.

  • Click Finish button.

  • Click the ‘ID’ column of the newly cloned pricing profile.

  • A list of meter resources appears. Select a desired meter resource and click the ‘EDIT’ button.

  • It is enough to specify either the ‘MONTHLY UNIT PRICE’ or the ‘HOURLY UNIT PRICE’ and checking the ‘IS COLLECTION ENABLED?’ checkbox.

  • Click next button and click finish.

Note: To know more about configuring ‘Metered Resource Pricing’ click

http://www.cloudassert.com/Blogs/metered-resources-e28093-setting-up-unit-multiplier-and-monthly-unit-price-53375

To Know more about ‘Setting up Pricing Profiles for System Center Virtual Machines’ click

http://www.cloudassert.com/Blogs/setting-up-pricing-profiles-for-system-center-virtual-machines-53348

Creating Fixed Payment + Pay-As-You-Go Plan

  • Repeat steps 1 to 4 in ‘Creating a Pay-As-You-Go Pricing Profile’ section.

  • Check the ‘SET MONTHLY FEE?’ check box.

  • Specify the ‘MONTHLY FEE’ amount.

  • Specify the ‘ONE-TIME FEE’ amount (optional).

  • Repeat steps 7 to 14 in ‘Creating a Pay-As-You-Go Pricing Profile’ section.

NOTE: Creating a ‘Fixed + Pay-as-you-go’ pricing profile is available for versions higher than v1.9.0.2. In lower versions only two types of pricing profile can be created, ‘Fixed Payment’ and ‘Pay-As-you-Go’.

Configuring resource Condition Under Advanced Details Metered Resource Settings

Configuring a resource condition is an optional setting which can be ignored while configuring the unit price for a resource. Resource condition is given in order to set different price for the same metered resource. This can be done by cloning a configured metered resource and setting a new unit price for the cloned metered resource. Following is an example to set resource condition for SQL Database based on the Database count.

  • Select a metered resource and click edit.

  • Set the ‘MONTHLY UNIT PRICE’ as $10.

  • Set the ‘MINIMUM MONTHLY FEE’ as $500 and copy the ‘METERED RESOURCE NAME’ (DatabaseCount). Click next.

Note: Minimum monthly fee will be applied to a subscription only if it is greater than the usage cost of a subscription (and vice versa). This feature is currently available for versions higher than v 2.1.1.3.

  • In the ‘RESOURCE CONDITION’ field paste the copied ‘METERED RESOURCE NAME’ and give the following condition:

DatabaseCount > 1 && DatabaseCount <= 2

  • Click Finish Button.

  • Select the newly configured resource from the metered resource list and click the ‘CLONE’ button.

  • Select the cloned metered resource and click edit.

  • Change the ‘MONTHLY UNIT PRICE’ as $20 and click next.

  • In the ‘Resource Condition’ field give the following condition and click Finish:

    'DatabaseCount > 2

The above example demonstrates the use of ‘RESOURCE CONDITION’ while configuring a metered resource. Based on the conditions specified above, if the tenant creates either one or two Databases, a monthly unit price of $10 is calculated and if the tenant creates more than two databases a monthly unit price of $20 is calculated.

Usage and billing allows to link one pricing profile with another, hence admin can manage multiple pricing profiles with a single WAP plan by adding the lowest child profile alone. (available only in versions v2.1.1.7 or higher).

Note: In the forthcoming releases Usage and billing will import Azure usage data and Azure rate card (Profile name: ‘CSP-Azure-Base-RateCard') which contains monthly prices for each azure VM. The prices in this ‘CSP-Azure-Base-RateCard' cannot be edited since it is set by Microsoft Azure. Admin can link the pricing profile (user defined pricing profile) to the azure profile (‘CSP-Azure-Base-RateCard ') and set a markup percentage for it. The user defined pricing profile will be added to a WAP plan.

  • Logon to WAP Admin portal, click on Usage and Billing on the Left.

  • Click on the ‘PRICING PROFILES’ Tab and then click on the ‘LINK PROFILES’ sub tab.

  • Select the desired pricing profile and click the ‘LINK’ button.

  • Select the desired base profile and click ‘OK’.

  • Logon to WAP Admin portal, click on Usage and Billing on the Left.

  • Click on the ‘PRICING PROFILES’ Tab and then click on the ‘LINK PROFILES’ sub tab.

  • Select the desired pricing profile and click the ‘UNLINK’ button.

  • Select the base profile and click ‘OK’.

Adding Cloud Assert Usage and Billing Service to a WAP Plan

Once the pricing profile is created and configured, it is essential to add the Cloud Assert Usage and Billing service to a plan and configure the service by selecting a pricing profile and thus associating a pricing profile to a plan.

  • Logon to WAP Admin portal, click on PLANS on the Left pane.

Adding Usage and Billing Service To An Existing Plan

  • Select a desired plan to which the Usage and Billing service needs to be added.

  • Click the ‘ADD SERVICE’ button.

  • Select the service as ‘CloudAssert Billing’ and instance as ‘CloudAssert Billing instance’.

  • Click Finish.

  • Once the service is added to the plan, select the ‘CloudAssert Billing’ service from the plan Dashboard tab.

  • From the drop down list, select the desired pricing profile and click the save button.

  • Co-admin subscription will be hidden in tenant portal for co-administrators if co-admin setting is disabled.

  • Email notification will be sent to tenant if ‘SEND EMAIL NOTIFICATIONS?’ is enabled.

  • Once the changes are saved change the access of the plan as desired.

Creating Fixed Fee Add-Ons / Add-On deletion block

A fixed fee add-on is a type of add-on that allows the tenants to subscribe to it and are charged based on the fixed amount that is set by the admin at the pricing profile level.

Note: Fixed Fee Add-Ons feature is currently available for versions higher than v 1.8.2.2.

  • Logon to WAP Admin portal, click on ‘PLANS’ on the Left pane.

  • Click ‘Add-Ons’ tab

  • Click ‘Create New Add-On’ or click ‘NEW’ button from the bottom and click ‘Create Add-On’.

  • Specify the Add-On name and click next button.

  • Include ‘CLOUDASSERT BILLING’ service and any other service that is required and click next.

  • Click the newly created add-on and click ‘CloudAssert Billing’ from the dashboard.

Note: Add-on deletion can be blocked by clicking ‘No’ button for ‘Is Allowed To Delete’ and vice versa.

  • Click ‘Yes/No’ button for ‘Is Allowed To Delete?’.

  • Click ‘SAVE’ button to finish configuring the add-on.

  • Link the Add-on to the desired plan.

  • Click ‘USAGE AND BILLING’ on the Left pane of the admin portal.

  • Click ‘PRICING PROFILE’ tab.

  • Select a pricing profile.

  • Click ‘ADD FIXED FEE ADD-ON’ button from the bottom.

  • Specify the ‘PROVIDER NAME’ and select the ‘ADD-ON NAME’ from the list-box.

  • Set the ‘MONTHLY PRICE’ as desired and click Finish.

  • Logon to the machine(s) where the Usage and Billing Agent Service Setup is installed.

  • Open ‘CloudAssert.WAP.Billing.AgentService.exe.config’ file from ‘C:\Program Files\CloudAssertBilling\CloudAssert.WAP.Billing.AgentService’.

  • Stop the ‘Billing Agent Service’ from Services.msc.

  • Change ‘add key=" UsageEventsProcessor.Enabled"’ value from ‘false’ to ‘true’.

Configure Billing Adapter to Support Add-On deletion Approval / Rejection for 'SystemCenter' service

  • Logon to a machine where the WAP Usage Service component is installed.

  • Open ‘Windows Azure Pack Configuration PowerShell’ from start menu.

  • Run the following command.

Set-MgmtSvcNotificationSubscriber -Endpoint http://UsageAndBillingApiMachine:30045/BillingAdapter/ -Name CloudAssertBilling -AuthenticationMode Basic -AuthenticationPassword UsageAndBillingApiPassword -AuthenticationUsername UsageAndBillingApiUserName -Enabled $True -Force -SubscriberType BillingService -ConnectionString "Data Source=DatabaseServername;Initial Catalog= Microsoft.MgmtSvc.Usage; User Id=SQLAuthenticationUsername; password= SQLAuthenticationPassword;"

  • The Usage and Billing API username and password can be obtained from the ‘Web.config’ file located in the machine where the Usage and Billing API Service is installed. The ‘Web.config’ file can be found in ‘C:\inetpub\MgmtSvc-CloudAssertBilling’ .

Configure System Center Settings

Configuring the system center settings in Usage and Billing solutions is needed in-order to prevent the deletion of add-ons with VLANs/Virtual Networks being used. Earlier a tenant can subscribe an add-on with VLAN, attach it any VM and can delete the add-on. The tenant continues using the VLAN but will not be charged since the add-on is deleted.

NOTE: The tenant will not be charged for the add-ons with VLAN only if the add-on is given as fixed-fee add-on.

NOTE: In-order to configure the System Center Server Settings, Admin should have a user account on SPF Server with Administrator privilege.

  • Logon to WAP Admin portal, click on Usage and Billing on the Left.

  • Click on the ‘SETTINGS’ Tab.

  • Click ‘SPF’ sub tab.

  • Enter the System Center Server URL. For example, ‘https://spf.contoso.com:8090/SC2012R2.

  • Specify the Domain name if any.

  • Specify the User Name and Password of System Center Server.

  • Click ‘SAVE’ button.