In private cloud, dynamic hardware profiles support different values of CPU and/or RAM, so they enable administrators to create fewer hardware profiles. Administrators can now set prices for hardware profiles at the platform level (instead of at the cloud location level) by assigning cost codes to hardware profiles. Dynamic hardware profiles have one or more dynamic attributes (CPU and/or RAM). Users can set values of CPU and/or RAM when they create or edit VMs with dynamic hardware profiles.
This feature uses standard Abiquo cost codes, which were previously applied only to VM templates.
To create a cost code, go to Pricing → Cost codes. Enter the description.
And set default prices that will load into pricing models.
To set cost code prices in a pricing model: go to Pricing → Pricing models → create or edit a Pricing model → Cost code prices.
Create dynamic hardware profiles with cost codes
To create a dynamic hardware profile (with one or more dynamic attributes), do these steps:
In previous versions, you could only have one hardware profile for each combination of CPU and RAM. Now you can create multiple hardware profiles with the same combination by using different cost codes.
When you enable hardware profiles for an enterprise, the platform will reuse or create hardware profiles for combinations of CPU and RAM that are not covered by existing hardware profiles. It is important to note that the platform will not reuse hardware profiles with cost codes. The order of priority of existing profiles is 1. static profiles, 2. static CPU, dynamic RAM, 3. dynamic CPU, static RAM, 4. dynamic CPU and RAM, 5. if NO dynamic / dynamic already exists in infrastructure, the platform will create a static HP with the CPU / RAM values needed (as in previous versions).
To set a price for a hardware profile (which will override the price of the cost code), go to Pricing models → create or edit a pricing model → select datacenter → Hardware profiles.
When the user creates a VM using a dynamic hardware profile, the platform will display the default values for the dynamic CPU and/or RAM, and the user can change these values.
When the user modifies a VM with a dynamic hardware profile, they can also change the CPU, Cores per socket, and/or RAM values.