Skip to main content

Overview

Flavors define the virtual hardware profile for instances — vCPU count, memory allocation, root disk size, and optional hardware extensions. Every instance must be launched with a flavor. Administrators control the flavor catalog available to all tenants, and can create private flavors restricted to specific projects for tailored workload sizing.
Administrator Access Required — This operation requires the admin role. Contact your Xloud administrator if you do not have sufficient permissions.
Prerequisites
  • Admin credentials sourced from admin-openrc.sh
  • openstack CLI installed and configured

Default Flavors

The following flavors are available in a standard Xloud Compute deployment.
FlavorvCPUsRAMRoot DiskUse Case
m1.tiny1512 MB1 GBLightweight agents, minimal workloads
m1.small12 GB20 GBDevelopment, testing
m1.medium24 GB40 GBGeneral-purpose applications
m1.large48 GB80 GBWeb servers, mid-tier services
m1.xlarge816 GB160 GBDatabases, compute-intensive workloads

Create, Modify, and Delete Flavors

Open flavor management

Log in to the Xloud Dashboard (https://connect.<your-domain>) and navigate to Admin → Compute → Flavors.

Create a flavor

Click Create Flavor and fill in the required fields:
FieldDescription
NameUnique identifier (e.g., c4.2xlarge)
vCPUsVirtual CPU count
RAM (MB)Memory in megabytes
Root Disk (GB)Size of the instance root disk
Ephemeral Disk (GB)Optional local scratch disk, discarded when instance is deleted
Swap (MB)Optional swap partition size
PublicToggle off to restrict access to specific projects
Click Create Flavor to save.
The new flavor appears in the flavor list and is immediately available for instance launches.

Modify extra specs

Click the flavor name to open its detail view. Navigate to the Extra Specs tab to add hardware hints such as CPU pinning policy, huge page requirements, or NUMA topology constraints.Click Add Extra Spec, enter the key and value, and click Save.

Delete a flavor

In the flavor list, open the Actions menu for the target flavor and select Delete Flavor. Confirm the deletion.
Deleting a flavor does not affect running instances using it. Instances retain their original hardware profile until they are rebuilt or resized.

Extra Specs Reference

Extra specs are key-value properties on a flavor that control hypervisor-level behavior. The following table lists commonly used extra specs.
KeyValuesDescription
hw:cpu_policydedicated, shareddedicated pins vCPUs to exclusive physical threads
hw:cpu_thread_policyprefer, isolate, requireControls NUMA thread sibling usage
hw:mem_page_sizesmall, large, 1GB, 2MBRequests huge pages for the instance
hw:numa_nodesIntegerNumber of NUMA nodes to expose inside the instance
hw:tpm_version1.2, 2.0Enables virtual TPM with specified version
hw:tpm_modeltpm-tis, tpm-crbVirtual TPM hardware model
os:secure_bootrequired, optional, disabledControls UEFI Secure Boot policy
pci_passthrough:alias<alias>:<count>Requests PCI device passthrough by alias name
hw:cpu_max_socketsIntegerMax vCPU socket ceiling for live scaling
hw:cpu_max_coresIntegerCores per socket for live scaling envelope
hw:cpu_max_threadsIntegerThreads per core for live scaling envelope
hw:mem_max_mbIntegerMax RAM (MB) ceiling for live scaling
aggregate_instance_extra_specs:<key>Any stringMatch against host aggregate metadata for scheduling
Extra specs that reference hardware features (CPU pinning, huge pages, PCI passthrough) require the corresponding scheduler filter to be active. See Scheduling for the full filter list.

Flavor Metadata (User-Visible Tags)

Flavor (also called flavor tags) are display-layer annotations. Unlike extra specs, they do not influence the scheduler or hypervisor. Use them to communicate workload guidance, compliance designations, or SLA tiers to end users.

Open flavor metadata editor

Navigate to Admin → Compute → Flavors. In the flavor row, open Actions → Update Metadata.

Add metadata entries

In the Available Metadata panel, type a custom key (or select from a registered namespace) and enter its value. Click + to add each entry.
Example KeyExample ValuePurpose
sla_tiergoldCommunicate SLA level to users
workloaddatabaseHint recommended use case
compliancepci-dssTag for regulated workloads
gpuv100Indicate GPU availability
cost_categoryhigh-memoryBilling/chargeback classification

Save

Click Save. Metadata is immediately visible in the flavor detail view and API responses.

Metadata vs Extra Specs

FeatureMetadata (Tags)Extra Specs
Affects schedulingNoYes (via scheduler filters)
Affects hypervisorNoYes (CPU pinning, huge pages, etc.)
Visible to usersYesAdmin-facing
Use forDisplay labels, compliance tags, cost categoriesHardware configuration, placement control

Next Steps

Advanced Features

Use extra specs to enable CPU pinning, huge pages, GPU passthrough, and vTPM.

Quota Management

Set per-project resource ceilings that govern how many flavors a tenant can deploy.

Admin Guide

Return to the Compute Administration Guide index.