The platform can import hardware profile prices from public cloud for use in pricing. The prices are for Linux instances and for AWS the only currency available is US dollars.
Before you begin:
- Check that there is a public cloud region for the provider. See Create a public cloud region.
- Check that the tenant has a pricing model assigned. See Create a new pricing model
- For Amazon regions, we recommend that you use US Dollars as the currency for the regions in the pricing model
- Obtain credentials to retrieve pricing information from the provider
- 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
For Azure, see Obtain Azure ARM credentials.
Tenant type Format_of_Access_ Key_ID_for Pricing_____ Secret access key Notes Standard account
normal#subscription-id#app-id#tenant-id#offer-durable-id
OR
subscription-id#app-id#tenant-id#offer-durable-idApplication secret key Add the text string "normal#" as a prefix to the pricing credentials. To facilitate upgrades, existing credentials will remain valid CSP account owner csp#tenantId#accessToken#refreshToken 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
To retrieve the hardware profile prices:
- Add pricing credentials for the tenant from the username menu or go to Users → edit enterprise.
- Go to Credentials → Public (for combined credentials) or Pricing (for separate credentials)
- Enter the credentials.
- When you save the tenant, if the pricing credentials are present, the platform will retrieve the prices.
To display the prices:
- Go to Pricing → Pricing models → edit pricing model.
- Go to Resource Prices → select the provider
- Adjust the prices as required
- Click Save
The platform will update the hardware profile prices from the public cloud provider every 24 hours, or at the interval set in the abiquo.properties file. See Abiquo Configuration Properties#pricing