Skip to main content
Skip table of contents

Tag Resources

This guide explains how to use Tag Analyzer to review the tagging coverage across all clouds and tag resources directly from Cloudaware.

Requirements

AWS

To tag AWS resources from Cloudaware, download Cloudaware Tagging policy: Admin → Amazon Web Services → N Configured → +ADD AWS ACCOUNT → Using Access & Secret Keys → select Tagging (Part#1) in Cloudaware IAM Policies. Review the policy and apply it in AWS.

Azure

To tag Azure resources from Cloudaware, use the Tag Contributor role. Learn how to assign this role to Cloudaware here (see 'Tagging Permissions').

GCP

To tag GCP resources from Cloudaware, ensure that the permissions for labels are in place on a custom role created for and assigned to Cloudaware.

To view billing tags: use Google Detailed Billing for Cloudaware to display the cost on an instance level in the CMDB. If Standard Billing Data Export is in use, every GCE instance in your environment must have a tag, e.g. instance-name: actual-name-of-this-instance.

Alibaba Cloud

Ensure that the Cloudaware RAM Role template containing necessary permissions is applied in ROS.

If access keys are used to add Alibaba Cloud account to Cloudaware, ensure that the user access policy has the following permissions:

CODE
            {
              "Action": [
                "tag:*",
                "*:ListTagResources",
                "*:DescribeTags",
                "*:DescribeTagKeys",
                "*:ListTagKeys",
                "*:ListTagValues",
                "*:Tag*",
                "*:Untag*",
                "*:UnTag*",
                "*:AddTags*",
                "*:RemoveTags*"
              ],
              "Resource": [
                "*"
              ],
              "Effect": "Allow"
            }

Oracle Cloud

Tagging Oracle Cloud resources directly from Cloudaware is not supported at the moment.

Tag Analyzer

  1. Log in to Cloudaware account → Tag Analyzer.

    CMDB - Tag resources - Tag Analyzer.png

  2. Select a cloud provider, e.g. AWS:

    CMDB - Tag resources - Tag Analyzer - select cloud provider.png


    Choose an object type from the list, e.g. AWS EC2 Instance:

    CMDB - Tag resources - Tag Analyzer - select object type.png

  3. In the 'Not Tagged Objects' column, review the number of untagged resources. Click the number to open the Objects Explorer.

    CMDB - Tag resources - Tag Analyzer - not tagged objects.png

  4. Select AWS EC2 instances to which the tag should be applied. Click the three-dot menu -> TAG AWS EC2 INSTANCES.

    CMDB - Tag resources - Tag Analyzer - Objects Explorer.png

  5. Review the existing tags. Click +ADD TAG to apply a new tag.

    CMDB - Tag resources - Tag Analyzer - add tag.png

  6. Add the tag name and value, and click Save. New tags and their values will be propagated in your AWS Console.

    CMDB - Tag resources - Tag Analyzer - save to apply tags in cloud.png

Mind tag name–value pair limitations for each cloud provider: up to 50 tags can be applied on AWS and Microsoft Azure resources, and up to 64 tags on Google Cloud resources.

CaTags Creation

СaTags are Cloudaware-specific fields used to parse row tag data received from cloud providers. Using the Cloudaware Tag Analyzer, create CaTags for AWS, Azure, Google, vCenter and Alibaba objects.

Cloudaware supports two types of CaTags: Fuzzy and Exact. These help normalize tags that may be written differently but carry the same meaning. For example, if tags env, environment, and Environment are used interchangeably according to your organization’s tagging policy, create a Fuzzy CaTag to consolidate their values under a single tag, such as Environment.

However, if tags environment and Environment must be treated as distinct tags, create an Exact CaTag:

CMDB - Tag resources - caTags creation - exact caTag example.png

To create caTags for custom objects or objects that are NOT currently supported in Tag Analyzer:

  1. Log into the Cloudaware account → Setup.

    CMDB - Tag resources - caTags creation - setup.png

  2. Click Object Manager → select the object in question, e.g. AWS EKS Cluster Pod Container.

    CMDB - Tag resources - caTags creation - Object Manager.png

    CMDB - Tag resources - caTags creation - select object.png

  3. In the section 'Fields & Relationships', click New.

    CMDB - Tag resources - caTags creation - new field.png

  4. Select Text for data type. Fill out the fields successively:
    Field Label: Tag name (format: companyname_tagname)
    Length: 255
    The ‘Field Name' will be populated automatically.

    ! In the 'Field Name’ field, replace the company name before the underscore with the caTag prefix. The resulting API name must be in in the format caTag_tagname:

    CMDB - Tag resources - caTags creation - default field name.png

    CMDB - Tag resources - caTags creation - add caTag prefix.png

  5. Click Next → leave checkboxes as is in 'Visible' → NextSave.

Tags in Cloudaware CMDB

Apart from using Tag Analyzer, access the tags through:

  • List Views: e.g. select the default list view Running for AWS EC2 Instances, and click the relevant instance to open its record

  • the 'DETAILS' tab on a resource: check the sections ‘Tags: Standard Fields’ and 'Tags: caTag Fields’

  • the 'TAGS' tab on a resource: click +ADD TAG to add a tag, or select an existing tag and click DELETE TAG to remove it

CMDB - Tag resources - navigation - the tab Tags.png
CMDB - Tag resources - Tag Analyzer - delete tag.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.