Introduction to hardware profiles
Hardware profiles are a convenient way of displaying CPU and RAM values that enable you to simplify the configuration of VMs for your users. They also enable you to control available hardware configurations and to recommend suitable hardware configurations for VM templates. And you can restrict users to a set of recommended configurations for a template.
- For public clouds with provider hardware profiles, you can synchronize and manage the provider's profiles in the platform. You can onboard and synchronize public cloud hardware profile price lists and incorporate them into your pricing models.
- Note that the Azure API returns a value for cores per socket but the platform does not use this value
- For private cloud datacenters and public clouds without native hardware profiles, you can create and fully manage hardware profiles in the platform.
- Some cloud providers may offer both hardware profiles and CPU and RAM.
In private cloud, the hardware profile can be dynamic for CPU and/or RAM, which means that the user can enter these values. Users can also enter cores per socket.
Manage hardware profiles with the API
Synchronize hardware profiles for a public cloud region
In public cloud providers with hardware profiles, when you create a public cloud region and add credentials for an enterprise, Abiquo will automatically retrieve the hardware profiles for the public cloud region.
- Provider hardware profiles are locked and you cannot edit them
- In public cloud regions with provider hardware profiles that also support CPU and RAM, you can deactivate hardware profiles mode.
To synchronize hardware profiles:
Privilege: Access infrastructure view and PCRs, View public cloud region details, Manage enterprises
- Go to Infrastructure → Public → select Public cloud region → Servers view → Hardware profiles
- Click the round arrows refresh button
By default, for each enterprise with credentials, the hardware profiles mode is enabled. By default, all hardware profiles are available to all enterprises.
Create a hardware profile
You can create Abiquo hardware profiles in private cloud datacenters and for public cloud providers that do not have provider hardware profiles, such as vCloud Director clouds.
Privilege: Access infrastructure view and private DCs, View datacenter details, Manage datacenter infrastructure elements
To create a hardware profile:
- Go to Infrastructure → Private or Public → select a location → Hardware profiles
- Click the + add button
- Enter the details of the hardware profile
- Click Save
Enter a unique name for the hardware profile. Identify it to users who will select it for their VMs.
The number of virtual CPUs to assign to VMs using this hardware profile. The combination of CPU and RAM must be unique in the datacenter. For dynamic hardware profiles this is the default value.
|Cores per socket||The number of cores per socket to use for supported hypervisors such as VMware. The number of CPUs must be divisible by this value. For dynamic hardware profiles this is the default value.|
The amount of virtual RAM to assign to VMs using this hardware profile. The combination of CPU and RAM must be unique in the datacenter. Select RAM units of MB, GB or TB. For dynamic hardware profiles, this is the default value.
|Dynamic||To allow the user to enter CPU and/or RAM values, select the Dynamic option/s. Pricing and billing of dynamic hardware profiles will include cost codes, and CPU and RAM usage pricing.|
|Cost code||For pricing and billing, select a cost code for the hardware profile. See Pricing View#Create a new cost code|
Select this checkbox to activate or deactivate the hardware profile
- The platform will only display active hardware profiles to make available to an enterprise but inactive hardware profiles may be shown if they were previously selected when active.
- The platform will only display active hardware profiles for selecting the recommended profiles for a template.
- Users can only work with active hardware profiles.
Set prices for hardware profiles
You can set prices for hardware profiles using cost codes or for each individual hardware profile.
Enable users to work with hardware profiles
After you have prepared hardware profiles, enable users work with them, as follows:
- Enable hardware profiles for your tenants and select allowed hardware profiles. Configure an Enterprise in a Cloud Location#Allowtenantstousehardwareprofiles.
- This section also describes how to disable hardware profiles for a tenant
- Configure hardware profiles for VM templates. See Modify a VM template