Updated on 2024-09-24 GMT+08:00

Overview

You can set labels to identify and group host and application resources managed in a bastion host. In this way, you can identify all resources related to a managed host or application resource.

After a label is added to a host or application, all managed resources related to the host or application will be labeled. In this way, you can search for resources by label. A host or application can have a maximum of 10 labels.

Figure 1 shows how labels work. Each managed resource, such as ECSs and RDS instances, is tagged with two labels. Label 1 is identified by team, and Label 2 and Label 3 are identified by project. You can search for resources by label.

Figure 1 Examples of labels
After you add labels to resources, you can search for managed resources by label and manage labels. For more details, see Table 1.
Table 1 Label usage in CBH

Navigation Path

Operation

Dashboard > Recently Logged Host

Search for resources.

Dashboard > Recently Logged Application

Search for resources.

Dashboard > My Hosts

Search for resources.

Dashboard > My APPs

Search for resources.

Resource > Host

Add, delete, or edit labels and search for resources by label.

Resource > Application

Add, delete, or edit labels and search for resources by label.

Operation > Host Operation.

Add or delete labels and search for resources by label.

Operation > App Operation

Add or delete labels and search for resources by label.