Skip to main content

About tags

info

Tags are customisable metadata that you can assign to your compute resources to make them easier to organize and manage according to specific criteria.

A tag represents an exclusive mapping between a key and a value that is assigned to each resource. These tags can be used to structure your resources according to different criteria, such as the operating system, the environment, the applications or the version.

Tags are metadata that you can assign to your compute resources as key-value pairs that you define. For example, you can define a set of tags for your Numspot VM (virtual machine) to make them easier to identify and manage.

No tag is assigned automatically to your resources.

When adding a tag to a resource, you can either define a key and a value, or define only a key without an associated value. If you assign a key that is already in use to the same resource, the value of the existing tag is simply updated, without creating a duplicate tag.

Using tags

Tags can be used to:

  • organize your resources: you can use tags to organize your resources according to your needs. For example, you can use tags to group VM by environment (production, test, development), by service (web, database, storage) or by team (team A, team B, team C);
  • inventory your resources: thereby allowing you to filter those sharing the same tag;
  • control access to your resources: you can use tags to define access rules for your resources. For example, you can use tags to define access rules for your VM according to the environment (production, test, development) or the team (team A, team B, team C).

Creating tags

To create a tag, you must define a key and a value. The key is the name of the tag and the value is the value of the tag. For example, you can create a tag with the key "environment" and the value "production".

When you create a resource, the Numspot Console lets you define its Name tag (the name of the resource). Once the resource is created, you can add more tags via the Numspot Console or the Numspot API.

Tag limits

There are a few limits to take into account when using tags:

  • the maximum number of tags per resource is 50;
  • the maximum length of a tag key is 128 characters;
  • the maximum length of a tag value is 256 characters;
  • tag keys and values can only contain printable Unicode characters and white spaces;
  • tag keys are case-sensitive;
  • tag values are not case-sensitive.

By using tags effectively, you can improve the management of your compute resources and reduce your costs. For more information about using tags, refer to the Numspot documentation.

Was this page helpful?