Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The platform can import hardware profile prices from public cloud for use in pricing.

  • The prices are for Linux

    instances 

    instances with no pre-installed software

  • For AWS, the only currency available is US dollars.

Before you begin:

  1. Check that there is a public cloud region for the provider. See Create a public cloud region.

  2. Check that the tenant has a pricing model assigned. See Create a new pricing model

    1. For Amazon regions, use US Dollars as the

...

    1. currency

    2. If you are onboarding price lists for a customer of the CSP and/or reseller, go to Pricing → Price factors and create price factors to add markups or discounts to the cloud provider prices.
      See Manage price factors

  1. Obtain credentials to retrieve pricing information from the provider.

    1. For AWS pricing, an

...

    1. IAMS user must have the AWSPriceListServiceFullAccess permission. You can add the permission to the regular public cloud user account or create a separate user. See Obtain AWS credentials

    2. For Azure, see Obtain Azure ARM credentials.

...

Standard account

...

  1. Check you have the pricing credentials in the right format. See Public cloud pricing credentials table below


To retrieve the hardware profile prices:

  1. Add pricing credentials for the tenant 

    1. From the username menu go to Edit credentials or go to Users → edit enterprise

    2. Go to Credentials → Public (for compute or

...

    1. combined credentials in Amazon) or
      Credentials → Pricing (for Azure or separate Amazon credentials)

    2. Enter the credentials

  1. If the tenant is a CSP and/or reseller, go to Edit enterprise → Properties and enter the following properties

...

  1. with appropriate values:

    Code Block
    azurecompute-arm_discount=0.2
    amazon_discount=0

    Note that CSP accounts return the prices with the discount factor applied, so the platform will not apply it again.
    To configure a custom suffix of the discount properties, set abiquo.enterprise.property.discount

...

If the tenant is a customer of the CSP and/or reseller, go to Properties and enter the following properties as appropriate:

...

  1. .

...

  1. suffix

...

  1. in abiquo.properties. See Abiquo Configuration Properties#enterprise.

  2. When you save the tenant, if the pricing credentials are present, the platform will retrieve the prices. 

...

To display and edit the prices of public cloud hardware profiles:

  1. Go to Pricing →

...

  1. edit pricing model.

  2. Go to Resource Prices → select the

...

  1. public cloud region

  2. For each hardware profile, enter a New price as required

  3. Click Save

...

The platform will update the hardware profile prices from the public cloud provider every 24 hours.

  • To set a custom interval, set abiquo.pricing.import.check.delayInHrs in abiquo.properties. See Abiquo

    Configuration Properties#pricing

    configuration properties#pricing

  • To prevent the platform from updating the prices from the public cloud provider, remove the pricing credentials


Public cloud pricing credentials table

Tenant type

Format of access key ID for pricing
and
Secret access key

Notes

CSP account owner

csp#tenantId#accessToken#refreshToken
and
Application secret key

You MUST add the text string csp# as a prefix to the credentials

Customer of CSP

-

Do not enter credentials because the platform will use the CSP credentials

Standard account

normal#subscription-id#app-id#tenant-id#offer-durable-id
OR
subscription-id#app-id#tenant-id#offer-durable-id

and
Application secret key

Add the text string normal# as a prefix to the pricing credentials. To facilitate upgrades, existing credentials will remain valid