Overview
Instance tags are short, user-defined labels you attach to a virtual machine. They are free-form strings you can use to mark environment, owner, application tier, cost center, lifecycle stage, or any custom taxonomy your team needs. Tags are stored on the instance record itself, so they travel with the VM across reboots, snapshots, migrations, and ownership changes.Prerequisites
- An instance in
Active,Paused,Suspended, orStoppedstate. - Permission to update server tags
(
os_compute_api:os-server-tags:update_all). This is granted to project members by default.
Tag Rules
Where Tags Appear in the Dashboard
The Dashboard list page does not currently expose a tag-based search filter.
To filter by tag, use the CLI procedures below — the API supports tag
filtering and is the recommended path for inventory queries.
Add, Edit, and Delete Tags
All three actions — adding a new tag, replacing existing tags, and removing tags — happen inside a single dialog called Modify Instance Tags. The dialog shows the current tags as pills; you mutate the set and click Confirm, and the platform applies the new set in one operation.Add Tags
- Dashboard
- CLI
1
Open the Modify Instance Tags dialog
Navigate to Compute > Instances. On the row of the instance you
want to tag, open the More menu and click Modify Instance Tags.
2
Type a tag and press Enter
In the tag input field, type the tag value and press Enter. The
tag becomes a pill in the list. Repeat for each tag you want to add.The dialog enforces:
- Maximum 50 tags per instance.
- Maximum 60 characters per tag.
- No forward slash
/or comma,. - No duplicate (case-insensitive) tags.
3
Save the changes
Click Confirm. The platform updates the VM’s tag set and the
dialog closes.
The new tags appear in the Tags column and on the instance detail page within a few seconds.
Edit Tags
Editing a tag means removing the old value and adding the new value — there is no in-place rename.- Dashboard
- CLI
1
Open Modify Instance Tags
From Compute > Instances, open the More menu on the row and
click Modify Instance Tags.
2
Remove the old value
Click the X on the tag you want to rename. The pill is removed
from the list. The change is not saved until you click Confirm.
3
Type the new value
Type the new tag value and press Enter.
4
Save
Click Confirm. Both changes — the removal and the addition —
apply in one update.
The instance’s Tags column shows the new value and no longer shows the old one.
Delete Tags
You can remove a single tag or clear every tag from a VM.- Dashboard
- CLI
1
Open Modify Instance Tags
From Compute > Instances, open the More menu on the row and
click Modify Instance Tags.
2
Remove tags
- To remove a single tag, click the X on its pill.
- To remove every tag, click X on each pill until the list is empty.
3
Save
Click Confirm. The selected tags are deleted from the VM.
The instance no longer shows the removed tags.
Key-Value Pairs
Tags in the Dashboard are plain strings (one label per pill). Some teams need truekey=value pairs — for example, env=production, team=payments,
cost-center=R&D-12 — so they can branch automation, dashboards, or RBAC
rules on the value of a key rather than scanning a flat list.
Today on Polystack:
Server metadata and instance tags are two different stores under the hood.
Tags are unordered string labels; metadata is a key-value dictionary. They
can coexist on the same VM and serve complementary purposes.
Add Key-Value Pairs from the CLI
Source credentials
key='value' pair on its own line.Where You Can Use Tags
Tags are not exclusive to instances. The Polystack Platform attaches the same flat-string tag concept to several resource types so you can apply the same naming convention across the whole cluster.Resources marked “use metadata instead” never had a string-tag concept on
this platform — their key-value metadata is the only labelling mechanism.
Resources with native tags also support metadata if you need both.
Actions You Can Perform Using Tags
Tags become powerful when you use them as a key for filtering, automation, and reporting. The same tag set drives multiple workflows.Filter the Instance Inventory by Tag
The Compute API understands four tag filter parameters. Theopenstack CLI
exposes them as flags on openstack server list.
Drive Automation From Tags
Most infrastructure tools can read instance tags directly and use them as the grouping key.The Polystack Dashboard does not currently expose a tag filter in its instance
search bar. For ad-hoc filtering inside the Dashboard, use the column-picker
to display the Tags column and search by name, then visually scan the
tags. For programmatic inventory queries, use the CLI flags above.
Use Tags as Lifecycle Markers
A common pattern is to tag VMs with their intended lifetime, then run a periodic job that lists VMs with the relevant tag and acts on them.Common Tagging Patterns
Troubleshooting
Invalid Tag Value error in the dialog
Invalid Tag Value error in the dialog
The tag contains a forbidden character. Forward slash
/ and comma
, are not allowed because they conflict with the API’s list
separator. Use a hyphen, underscore, or colon instead — for example
env-prod or env_prod instead of env/prod.Duplicate tag name error
Duplicate tag name error
Tags are case-insensitive.
Production and production are
considered the same tag. The dialog rejects the second entry. Pick
a single canonical casing and stick with it.Tag changes do not appear in the list view
Tag changes do not appear in the list view
The list view caches results for a few seconds. Refresh the page or
re-run
openstack server list to pick up the latest values. If the
delay persists for more than a minute, contact your administrator —
the cache layer may need to be cleared.Next Steps
Launch an Instance
Create new instances and tag them at boot time.
Server Groups
Group instances by placement policy.
Instance Snapshots
Snapshot tagged instances for backup and rollback.
Resource Optimizer
Use tags to scope optimization actions to specific workloads.
