---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Tags for cloud resources

# Tags for cloud resources {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 4 minutes to read

Tags categorize cloud resources to provide richer and more detailed tracking and billing
report data.
Create tags to enable Cloud Provisioning and Governance to automatically categorize cloud
resources after they are provisioned. Each tag associates a specific `key:value`
pair with a requested cloud resource, such as `Application=HRMS`.

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:
{#cloud-tagging__table_db3_vzx_vy__entry__2}

| 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 Service table display to the user. If no table is specified in the tag definition, the user is presented with a text field. |
| 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 base-system 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(); |
[ ]

{#cloud-tagging__table_db3_vzx_vy}

## Default tags

These tags are provided by default.  
Important:  
Do not deactivate the default tags, as this action will delete all the corresponding catalog item variables.
{#cloud-tagging__table_default_cloud_tags__entry__4}

| Label | Name | Value type | Table that provides choices |
|-|-|-|-|
| Application | application | variable | Application \[cmdb_ci_appl\] |
| Business Service | business_service | variable | 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\] |
[Table 1. Default Cloud Tags]

{#cloud-tagging__table_default_cloud_tags}Cloud administrators can also create custom tags to suit the specific needs of the organization. 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.
**Related tasks**   

* [View tagged resources on the Tag dashboard](https://servicenow-prod.fluidtopics.net/zIx4YtdLTgOmdJY~7Zo66g#view-tagged-resources "The Tag dashboard shows all tagged resources. Use the Tag dashboard to see specific tag values for a group of resources such as stacks or virtual machines.")

## Create a custom tag for cloud resources {#ariaid-title2}

Cloud Administrators can create custom tags in addition to the default tags to
categorize cloud resources.

### Before you begin

Role 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

1. In the Cloud Admin Portal, navigate to AnalyzeTagTag ManagementTag Definitions.
2. Select New.
3. On the form, fill in the fields.  
   {#create-cloud-tag__table_rlb_d1w_sy__entry__2}

   | 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](https://servicenow-prod.fluidtopics.net/BgEZNrEgft1auqIJThegFQ#cloud-tagging__table_db3_vzx_vy) 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. |
   [ ]

   {#create-cloud-tag__table_rlb_d1w_sy}
**Related tasks**   

* [View tagged resources on the Tag dashboard](https://servicenow-prod.fluidtopics.net/zIx4YtdLTgOmdJY~7Zo66g#view-tagged-resources "The Tag dashboard shows all tagged resources. Use the Tag dashboard to see specific tag values for a group of resources such as stacks or virtual machines.")

## Group billing data using custom tags from provisioned resources {#ariaid-title3}

Configure user-defined tags to view and analyze billing data using custom tags
existing on provisioned resources.

### Before you begin

* Perform cloud discovery in Cloud Provisioning and Governance for provisioned resources.
* Run a billing download job for the associated service account.
{#filter-billing-custom-tag__ul_vfp_bkd_ykb}Role required: Resource Policy Contributor role in Azure Service account and sn_cmp.cloud_admin in the instance.

### About this task

Provisioned resources with existing tags are discovered as part of Cloud discovery.
Existing tags are considered user-defined tags in Tag Management. By default, the
imported (user-defined) tags are not displayed in the Billing dashboard, restricting
you from filtering and analyzing billing data using imported (user-defined)
tags.  
Important:  
Starting with the Rome release, billing and budgeting features are no longer supported for Cloud Provisioning and Governance running on a non-domain-separated instance. However, if you are using Cloud Provisioning and Governance on a domain-separated instance, there is no change in functionality for the billing and budgeting features.

### Procedure

1. In the Cloud Admin portal, navigate to AnalyzeTagTag Management.  
   The Tag Definitions list displays discovered resources
   provisioned with existing tags labeled as User-defined.
2. Open a tag record of type User-defined.
3. In the Tag Definition form, change the tag from User-defined to ServiceNow (Custom):
   1. In the Tag type field, select ServiceNow (Custom).
   2. Copy the Label field value to the Variable field.
   3. Select the Active and Visible check boxes.
   4. Select Update.
   {#filter-billing-custom-tag__substeps_xbx_hwr_xkb}
4. Repeat Steps 2 and 3 for all the user-defined tags that you wish to enable in the Billing Dashboard.
5. Perform Cloud Discovery again to view updated ServiceNow (Custom) tags.  
   For more information, see [Cloud
   Discovery](https://servicenow-prod.fluidtopics.net/mvUB4lhtHGGrh93mggIcpw#discovery-manager "Create schedules for discovering cloud resources based on the cloud discovery method you choose; that is, service accounts or IP ranges.").
6. Run the Billing schedule.
   1. In the Cloud Admin Portal, navigate to AnalyzeBillingBilling Schedule.
   2. Create a schedule or open an existing schedule.
   3. Select Execute Now.
   4. On the Retrieve Billing Data dialog box that appears, select a date range and then click Download.

   {#filter-billing-custom-tag__substeps_wlw_mxr_xkb}  
   The ServiceNow (Custom) tags now show up in the Tags field on the Billing Dashboard.

### What to do next

[View cloud
costs on the Billing dashboard](https://servicenow-prod.fluidtopics.net/zIx4YtdLTgOmdJY~7Zo66g#billing-dashboard-cloud-mgt "The Billing dashboard provides rich summary information on cloud usage, cost trends, and cost aggregates.").

*[\>]: and then


