Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.xloud.tech/llms.txt

Use this file to discover all available pages before exploring further.

Overview

VM Templates let you save a complete instance configuration — disk, flavor, network, security groups, and key pair — as a reusable template. Deploy templates to create standardized instances with consistent configurations across your projects. Templates appear in the dedicated Compute > VM Templates page, separate from regular images and snapshots.
Xloud-Developed — VM Templates are developed by Xloud and ship with XAVS / XPCI.
Prerequisites
  • An active instance to create a template from
  • Sufficient image storage quota

What a VM Template Is

A VM Template is a first-class template object surfaced in the Dashboard, implemented on top of the Image Service with a xloud_template=true discriminator and captured config metadata. It is more than a snapshot used as a base image — it also carries the surrounding launch context.
CapabilityVM TemplateSnapshot used as base image
Version field (e.g. 1.0)Yes
Category field (Base OS, Web Server, Database, Application, Custom)Yes
Captured flavor (vCPU / RAM summary shown on the row)Yes
Captured network, security groups, key pairYes
Deploy action that pre-fills the launch wizard from the captured configYes
Lives on its own Compute → VM Templates pageYes
Just disk content for a future bootYes
A snapshot used as a base image gives you the disk only — the next launch needs flavor, network, security groups, and key pair to be re-chosen by hand. A VM Template captures the disk and the surrounding configuration, and its Deploy action re-applies all of it in one click.
Implementation note — under the hood, a VM Template is stored in the Image Service like any other image, marked with xloud_template=true plus the captured config metadata. Operators can list templates from the CLI with openstack image list --property xloud_template=true. The same storage backend, RBAC privileges, and quotas that apply to images apply to templates — there is no separate subsystem to learn.

View Templates

Navigate to Compute > VM Templates in the sidebar. The list shows all templates in your project.
ColumnDescription
Template NameTemplate identifier (clickable to view details)
DescriptionOptional template description
VersionTemplate version (e.g., 1.0)
CategoryBase OS, Web Server, Database, Application, or Custom
FlavorCaptured flavor name
ConfigurationvCPUs / RAM summary
StatusActive, Saving, etc.
SizeTemplate image size
Created AtCreation timestamp
Filter by Name or Status.
Administrators see an additional Project ID/Name column and can view templates across all projects.

Create a Template

There are two ways to create a template:

From the VM Templates Page

1

Open the Create Template dialog

Navigate to Compute > VM Templates and click Create Template.
2

Select the source instance

FieldTypeRequiredDescription
Source InstanceDropdownYesSelect an instance (Active, Stopped, Shutoff, or Paused)
Template NameTextYesName for the template
VersionTextYesVersion string (default: 1.0)
CategoryDropdownNoClassification (default: Custom)
DescriptionText areaNoOptional notes
Delete Instance After ConversionCheckboxNoDelete the source instance after template creation
Category options:
CategoryUse Case
Base OSClean OS installations (Ubuntu, CentOS, Windows)
Web ServerPre-configured web stacks (Nginx, Apache, etc.)
DatabaseDatabase servers (MySQL, PostgreSQL, MongoDB)
ApplicationCustom application stacks
CustomGeneral-purpose templates (default)
If Delete Instance After Conversion is checked, the source instance is permanently deleted after the template is created. This cannot be undone.
3

Create the template

Click Confirm. The template appears in the list with status Saving, transitioning to Active when the snapshot completes.
The template captures the full configuration: flavor, network, security groups, key pair, and availability zone. When deploying from this template, these settings are used as defaults.
Template status is Active — ready for deployment.

From an Instance (Convert to Template)

Navigate to Compute > Instances. Click the More dropdown on the instance row and select Convert to Template under the Clone & Template group. The form is the same as above except the source instance is pre-selected.
Convert to Template is available for instances in Active, Stopped, Shutoff, or Paused status.

Template Detail

Click a template name to open the detail page. Three info cards are displayed:Template Info:
FieldDescription
Template NameDisplay name
VersionVersion string
CategoryClassification (Base OS, Web Server, etc.)
DescriptionTemplate description
Source InstanceInstance this template was created from (copyable)
Created ByUser who created the template
Template CreatedCreation timestamp
VM Configuration (captured from the source instance):
FieldDescription
FlavorOriginal flavor name
vCPUsCPU count
RAM (MB)Memory allocation
Disk (GB)Root disk size
NetworkNetwork name
Security GroupsComma-separated list
Key PairSSH key pair name
Availability ZoneZone placement
Image Info (underlying Glance image):
FieldDescription
Image IDUUID (copyable)
StatusActive, Saving, etc.
SizeImage file size
Disk FormatQCOW2, RAW, etc.
VisibilityPublic, Private, or Shared
ProtectedYes/No
ChecksumImage checksum (copyable)

Deploy a Template

1

Select Deploy

Navigate to Compute > VM Templates. Click the More dropdown on the template row and select Deploy.
2

Name the new instance

Enter a Name for the new instance. Click Confirm.The wizard redirects to the Instance Create page with the template pre-selected as the boot source image.
New instance created from the template with the captured configuration.

Edit a Template

Click Edit (the first row action) on the template row. You can modify:
FieldDescription
NameTemplate display name
VersionVersion string
CategoryTemplate classification
DescriptionTemplate description (max 255 chars)
PublicMake visible to all projects (admin only)
ProtectedPrevent accidental deletion
Configuration fieldsFlavor, vCPUs, RAM, Disk, Network, Key Pair, AZ
Click Confirm to save changes.

Delete a Template

Click the More dropdown on the template row and select Delete Template. Templates with Protected enabled must have protection removed before deletion. Batch delete is available via checkboxes.
Deleting a template permanently removes the underlying image. Instances previously deployed from this template are not affected, but no new deployments can be made.

Manage Access (Admin Only)

Administrators can share templates with specific projects via the Manage Access action in the More dropdown. This requires the template to have Shared visibility.

Template Actions Summary

ActionLocationDescription
EditFirst row actionEdit template name, version, category, configuration
DeployMore dropdownLaunch a new instance from the template
DeleteMore dropdown / batchDelete the template
Manage AccessMore dropdown (admin)Share with specific projects (requires Shared visibility)
Create TemplatePrimary action (top)Create a new template from an existing instance

Next Steps

Clone an Instance

Create an exact copy of a running instance without templates

Instance Snapshots

Create point-in-time snapshots (simpler than templates)

Create an Instance

Launch instances from the 4-step wizard

Image Management

Upload and manage OS images