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.

...

  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 currency 
  3. Obtain credentials to retrieve pricing information from the provider
    1. For AWS pricing, an 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.

      Tenant typeFormat of access key ID for pricing Secret access keyNotes

      Standard account

      normal#subscription-id#app-id#tenant-id#offer-durable-id
      OR
      subscription-id#app-id#tenant-id#offer-durable-id
      Application secret keyAdd the text string "normal#" as a prefix to the pricing credentials.


To

...

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 for combined credentials in Amazon) or Pricing (for separate credentials)
    3. Enter the credentials
  2. If the tenant is a CSP and/or reseller, go to Edit enterprise → Properties and enter the following properties 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.suffix in abiquo.properties. See Abiquo Configuration Properties#enterprise.

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

    Code Block
    azurecompute-arm_price_factor=1.25
    amazon_price_factor=1.17

    To configure a custom suffix of the price factor properties, set abiquo.enterprise.property.pricefactor.suffix in abiquo.properties. See Abiquo Configuration Properties#enterprise.

  4. When you save the tenant, if the pricing credentials are present, the platform will retrieve the prices. 
    Image RemovedImage Added


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

  1. Go to Pricing → edit pricing model.
  2. Go to Resource Prices → select the public cloud region
  3. For each hardware profile, enter a New price as required
  4. Click Save

Image RemovedImage Added

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
  • To prevent the platform from updating the prices from the public cloud provider, remove the pricing credentials



Table of pricing credentials




Tenant typeFormat of access key ID for pricing Secret access keyNotes

Standard account

normal#subscription-id#app-id#tenant-id#offer-durable-id
OR
subscription-id#app-id#tenant-id#offer-durable-id
Application secret keyAdd the text string "normal#" as a prefix to the pricing credentials. To facilitate upgrades, existing credentials will remain valid
CSP account ownercsp#tenantId#accessToken#refreshTokenApplication secret keyYou 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