Tags and groups
Both Cloud Manager and the Linode API let you to create tags to help organize and group your Linode resources. Tags can be applied to Compute Instances, Block Storage volumes, NodeBalancers, and Domains.
This guide demonstrates how to perform the following actions with Cloud Manager:
- Create and apply tags to your Linode resources
- Search and group your Linode resources by tag
- Import tags from the Classic Manager
Tagging a Compute Instance
Tag a Linode at creation
To tag a Compute Instance at the time of its creation:
-
In the Create New Linode form, click the dropdown menu labeled Add Tags located below the Linode Label field.
-
Select one or more tags from the menu. To create a new tag, type in the desired tag name and click the Create "new-tag" option that appears:
-
Your tag will be applied when you finish creating the Compute Instance.
Tag an existing Compute Instance
To tag an existing Compute Instance:
-
Navigate to the Compute Instance's detail page.
-
Click on the Summary tab.
-
Locate the Tags pane and click on the Add New Tag option.
-
Select one or more tags from the dropdown menu that appears. To create a new tag, type in the desired tag name and click the Create "new-tag" option that appears:
Remove a tag from a Compute Instance
To remove a tag from a Compute Instance:
-
Navigate to the Compute Instance's detail page.
-
Click on the Summary tab.
-
Locate the Tags box. A list of your tags for the Compute Instance will be displayed.
-
Click on the X icon attached to the tag you would like to remove from your Compute Instance.
Tagging a volume
Tag a volume at creation
To tag a Volume at the time of its creation:
-
In the Create a Volume form, select the dropdown menu labeled Tags.
-
Select one or more tags from the menu. To create a new tag, type in the desired tag name and click the Create "new-tag" option that appears.
-
Once you are done configuring the Volume, click Submit.
Tag an existing volume
To tag an existing Volume:
-
Navigate to the Volumes page of Cloud Manager.
-
Select the more options ellipsis (...) corresponding to the Volume you would like to tag.
-
Select Edit Volume from the menu that appears.
-
The Edit volume form will appear. Click on the dropdown menu labeled Tags.
-
Select one or more tags from the form. To create a new tag, type in the desired tag name and click the Create "new-tag" option that appears.
-
When you are done, click Submit:
Remove a tag from a volume
To remove a tag from a Volume:
-
Navigate to the Volumes page of Cloud Manager.
-
Select the more options ellipsis (...) corresponding to the Volume whose tags you would like to edit.
-
Select Edit Volume from the menu that appears.
-
The Edit volume form will appear. A list of your tags for the Volume will be displayed in the Tags field.
-
Click on the x icon attached to the tag you would like to remove from your Volume.
Tagging a NodeBalancer
Tag a NodeBalancer at creation
To tag a NodeBalancer at the time of its creation:
-
In the Create a NodeBalancer form, click the dropdown menu labeled Add Tags under the NodeBalancer Label field.
-
Select one or more tags from the menu. To create a new tag, type in the desired tag name and click the Create "new-tag" option that appears.
-
Once you are done configuring the NodeBalancer, click Create.
Tag an existing NodeBalancer
To tag an existing NodeBalancer:
-
Navigate to the NodeBalancer's detail page.
-
Click on the Summary tab.
-
Locate the Tags pane and click on the Add New Tag option.
-
Select one or more tags from the dropdown menu that appears. To create a new tag, type in the desired tag name and click the Create "new-tag" option that appears:
Remove a tag from a NodeBalancer
To remove a tag from a NodeBalancer:
-
Navigate to the NodeBalancer's detail page.
-
Click on the Summary tab.
-
Locate the Tags pane. A list of your tags for the NodeBalancer will be displayed.
-
Click on the x icon attached to the tag you would like to remove from your NodeBalancer.
Tagging a domain
Tag a domain at creation
To tag a domain at the time of its creation:
-
In the Add a new Domain form, click the dropdown menu labeled Add Tags.
-
Select one or more tags from the menu. To create a new tag, type in the desired tag name and click the Create "new-tag" option that appears:
Tag an existing domain
To tag an existing domain:
-
Navigate to the domain's detail page.
-
Click on the DNS Records tab.
-
Locate the pane labeled Tags and click on the Add New Tag option.
-
Select one or more tags from the dropdown menu that appears. To create a new tag, type in the desired tag name and click the Create "new-tag" option that appears:
Remove a tag from a domain
To remove a tag from a domain:
-
Navigate to the domain's detail page.
-
Click on the DNS Records tab.
-
Locate the Tags pane. A list of your tags for the Domain will be displayed.
-
Click on the x icon attached to the tag you would like to remove from your domain.
Tagging an LKE cluster
Tag an LKE cluster at creation
-
Navigate to the Kubernetes section of Cloud Manager and create your LKE cluster.
-
After the cluster is created, your cluster's summary page will appear. Click on the Add a tag link to begin adding tags to your cluster.
-
You can create a new tag and assign it to your cluster by typing the tag into the text entry box and clicking on the Create my-new-tag entry that appears.
If you'd like to use an existing tag, select it from the dropdown list that appears.
When your tag has been added to your cluster, you will see it appear on your cluster's summary page.
Tag an existing LKE cluster
-
Navigate to the Kubernetes section of Cloud Manager and select the cluster you'd like to add a tag to.
-
Viewing your cluster's summary page, click on the Add a tag link to begin adding tags to your cluster.
-
You can create a new tag and assign it to your cluster by typing the tag into the text entry box and clicking on the Create my-new-tag entry that appears.
If you'd like to use an existing tag, select it from the dropdown list that appears.
When your tag has been added to your cluster, you will see it appear on your cluster's summary page.
Remove a tag from an LKE cluster
-
Navigate to the Kubernetes section of Cloud Manager and select the cluster from which you'd like to remove a tag.
-
Viewing the cluster's summary page, you will see a list of all of your cluster's tags. To remove a tag, click on the x next to the tag you'd like to remove.
Grouping by tag
You can group the following resources by tag: Compute Instances, Volumes, NodeBalancers, and Domains.
-
To group by tag, navigate to the resource's page and toggle the Group by Tag switch at the top of the page:
-
You will now be able to view your resources grouped by tag:
Searching by tag
You can search your Linode resources by a tag's name:
-
Type the tag name into the search bar at the top of Cloud Manager and the results will be populated in a dropdown list that appears:
-
To see a more organized view of your tagged resources, click on the blue View search results page banner inside the dropdown list, or hit the Enter key on your keyboard. You will be taken to the search results page:
-
A second way to search by tag is to click on a tag wherever it appears in Cloud Manager. For example, if you previously applied a tag named
tag-example
to one of your Compute Instance, clicking on that tag where it is displayed in the Compute Instance's detail page will take you to the search results page fortag-example
.
Importing groups as tags
If you have used the Display Groups feature in the Classic Manager, you can import your Display Groups to Cloud Manager as tags:
-
Navigate to the Account page in the sidebar links menu, then click on the Settings tab.
-
Expand the panel labeled Import Display Groups as Tags and then click Import Display Groups:
-
A form will appear that lists your Display Groups and asks you to confirm the import action. To proceed, click the Import Display Groups Now button in this form.
Importing your Display Groups is a one-time operation. If you don't have any Display Groups configured in the Classic Manager this feature will not appear in Cloud Manager.
Updated about 1 month ago