Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: 6.1.2 - 17421 - Managed price factor for AWS

Table of Contents

Info

This page describes how to create price factors to set markups and discounts for cloud providers and private cloud.
To remove a discount applied for a reseller to bill a cloud tenant , e.g., in for a provider, such as Azure, use the enterprise property for the provider discount. See Display Azure billing data

...

Tip

To exclude an item from billing, add a price factor with a value of 0 using the API

Panel
bgColor#FFF0B3

Privileges: View price factors, Manage price factors

...

Excerpt
nameCreate a price factor

To create a price factor:

  1. Go to Pricing → Price factors

  2. On the providers list, click + add

  3. Select the Provider. For private cloud, the provider is ONPREMISE

    Create a price factor with General information
  4. For Azure and AWS, you can also select the Bill type and Product ID

    Create a price factor for a bill type and product ID in AmazonImage RemovedCreate a price factor for a bill type and product ID in AmazonImage Added
  5. For Enterprise associations, select the type of association, which can be All, Reseller, or Key node. Abiquo will use your selection to create the list of Enterprises that match this type.

  6. For Reseller or Key node, select an Enterprise

  7. For the Enterprise association, enter the Value, which is the markup or discount.

    • For example, to use a markup of 10%, enter 1.1 and to add a discount of 10%, enter 0.9.

    • To exclude a product, you can set a value of 0 using the API.

  8. Click Add.

  9. Select and add more enterprise associations as required. (You can also edit the price factor later to add more then.)

    Create a price factor with enterprise associations

  10. Click Save

When you create a price factor, the platform will assign your user scope to it, and only users with the same scope will be able to view and manage the price factor.

...

Azure price factor type

Applies to

azurecompute-arm_price_factor

All resources

azurecompute-arm_price_factor.bill_type

Resources of the specific category

azurecompute-arm_price_factor.bill_type.productId

Resources of the specific category and product ID

...

Azure bill types table

The multiple bill types for price factors let you separate the customer bill into Azure plan usages, reservations, licenses, and third-party products, and set different price factors for each one.

Azure bill type

Description

License based services

Products from the view “OnliceServices” with product type “OnlineServicesNCE”. Only the new commerce ones from the CSP license based services pricing sheet. (https://docs.microsoft.com/en-us/partner-center/develop/get-a-list-of-products#rest-request )

Marketplace

All the products for which the publisher is different from Microsoft or Microsoft Corporation

Azure plan

Entries retrieved by usage line items

Reserved instances

Products from target view “AzureReservations”

Software

Products from target view “Software”

Managed

Managed will be an extra line that consists of X percent of total Azure plan cost (used to define the factor to be applied to Azure plan costs to calculate the managed cost).

...

Bill type

Description

Anniversary

Line items for services that you used during the month

Purchase

Line items for upfront service fees

Refund

Line items for refunds

Managed

Managed costs as a percentage of AWS costs, which the platform calculates if there is a Managed price factor, using:
AWS costs * AWS price factor * Managed price factor

AWS product names

AWS has many product names. Here are some examples given in their documentation for product/ProductName

...

AWS billing files contain charges and refunds. Abiquo lets you ignore billing items, which is helpful for excluding refunds from billing data. You can also ignore billing entries by specifying a price factor of 0.

To ignore billing entries with specific billtype bill type and product name:

  1. Log in to the Abiquo server as administrator

  2. Go to the /opt/abiquo/config/ folder

  3. Create a file with an appropriate name, such as aws-refund-product-ignore.csv

  4. Enter a list of bill types and product names separated by a colon, for example:
    Refund:AWS Premium Support
    Refund:EC2 Reserved Instances

  5. Edit the abiquo.properties file

  6. Set the abiquo property with the file location, for example:

    Code Block
    abiquo.ec2billing.parser.billType.productName.ignore.path=/opt/abiquo/config/aws-refund-product-ignore.csv

...

Include managed costs for AWS

To include managed costs as a percentage of a customer bill, define a price factor for the Managed bill type in the reseller, key node, or customer standard enterprise.

In AWS, the managed cost will be a percentage of the standard enterprise bill, as defined by the price factor of type Managed. The platform will apply the provider price factor and calculate the managed cost with the managed price factor.

For example, if Amazon price factor = 1.2 and Managed price factor = 0.3 and we run billing for an account that has a total cost of $125.70, then the managed cost will be $45, which the platform calculates as follows:

Code Block
$125.70 * 1.2 * 0.3 = $45.00

...

Include managed costs for Azure

In Azure, the managed cost will be a percentage of the Azure plans cost, as defined by the price factor of type Managed. The platform will apply the provider price factor and calculate the managed cost with the managed price factor.

For example, if Azure price factor = 1.1 and Managed price factor = 0.4 and we run billing for an account that has a total Azure plans cost of $110.30 for usage line items, then the managed cost will be $48.53, which the platform calculates as follows:

Code Block
$110.30 * 1.1 * 0.4 = $48.53