Tags for cloud resources Tags categorize cloud resources to provide more detailed tracking and billing report data. Create tags to enable Cloud Management to automatically categorize cloud resources after they are provisioned. Each tag associates a specific key:value pair with a requested cloud resource, such as Cost Center=Retail. The Cost Center tag, for example, enables you to group billing data on the Cost Trend report by Cost Center. After the cloud resource is provisioned, the key:value information in tags become part of the resource's metadata and are saved along with all other parameters about the resource. Because a cloud resource can have multiple tags, you can view cost items from multiple perspectives. Tag definitions Tag definitions are records that associate a tag name with a value type. These value types are available: Value type Description Variable A value that user enters or selects from a choice list. This value is stored as a service catalog variable. If a table is associated with a variable tag, the values in the field marked as the Display field are displayed to the user when they request the instance. In most cases, this is the Name field. For example, the names of the business services in the Business Service table display to the user. If no table is specified in the tag definition, the user is presented with a text field. Order field A value that the user submits, but is not presented as a service catalog variable. The available values are taken from the Orders [sn_cmp_order] table. Script A script that obtains a value from the instance, such as the current time on the instance. The script must obtain the value via the ServiceNow API and return the value to the answer variable. For example, to obtain the current time on the instance, the script would be:answer = new GlideDateTime().getValue(); Default tags These tags are provided by default: Table 1. Default Cloud Tags Label Name Value type Table that provides choices Application application variable Application [cmdb_ci_appl] Business Service business_service variable Business Service [cmdb_ci_service] Cost Center cost_center variable Cost Center [cmn_cost_center] Project project variable n/a ServiceNow instance sn_instance script n/a Stack stack variable Stack [sn_cmp_stack] Time Provisioned time_provisioned script n/a User user order field User [sys_user] User Group user_group variable Group [sys_user_group] Cloud administrators can also create custom tags to suit your specific needs. For example, you can create a Location tag can to track the location of the resource. AWS tags Tags generated for Amazon Web Services (AWS) resources are sent to AWS and are also available from your AWS console. Create a custom tag for cloud resources Cloud Administrators can create custom tags in addition to the default tags to categorize cloud resources. Before you beginRole required: sn_cmp.cloud_admin About this task If a resource was provisioned prior to the existence of a particular tag, then that tag must be manually added to the record for that resource. Procedure Navigate to Cloud Management > Billing and Usage > Tag Management. Click New. Fill out the form fields (see table): Field Description Label Name to display on screen for the cloud user. Name Name of the key. The name is stored in all tables, along with the value. Value type The type of value for this tag. Variable name The name of the variable. This option appears if you select the Variable value type. Table[optional] The table that provides the choices for the Variable value type field. Select a table from the system. If you do not select a table, cloud users are presented with an empty text field for the variable. Order field The field on the request form. Click the down arrow next to Click to select, and then select the field from the Orders [sn_cmp_order] table. Active An indicator that specifies if the tag is in use. Select this option to apply the tag to all new requests.