Skip to main content

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.
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 polystack_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. 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 polystack_template=true plus the captured config metadata. Operators can list templates from the CLI with openstack image list --property polystack_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.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

Category options:
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:VM Configuration (captured from the source instance):Image Info (underlying Glance image):

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: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


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