Find Resources Missing Tags

You already have a tagging strategy in place and you’ve mastered exploring your costs by services, attributes, and tags. So what’s next?

Another great way to discover savings opportunities (or simply gain more context for your bill) is to examine what hasn’t been given a particular value for a tag. The easiest way to find resources that are missing tags is to use the Bill Analysis tool.

Prerequisites

This guide assumes you have already created User-Defined Cost Allocation Tags from your AWS Console. If you have not, follow the steps below to do so for your AWS resources.

Promote Resource Tags to Cost Allocation Tags

There are two kinds of Cost Allocation tags:

  • AWS-Generated Cost Allocation Tags
  • User-Defined Cost Allocation Tags

1. Activate AWS-Generated Tags

This creates a resource created by tag automatically on all resources.

  1. Log in to your AWS Console.
  2. Navigate to Billing > Cost Allocation Tags.
  3. Select Activate under AWS-Generated Cost Allocation Tags. activate-cost-allocation-tags

2. Create User-Defined Cost Allocation Tags

User-Defined cost allocation tags, once created, appear in Billing > Cost Allocation Tags. You must use the AWS Tag Editor to create these tags.

  1. Log in to your AWS Console.
  2. Navigate to Resource Groups > Tag Editor > Manage Tags. tag-editor-manage-tags
  3. Create your Key-Value tags and assign them to your resources.

Now you are ready to use Cost Allocation Tags to analyze your bill in CloudWisdom.

Two ways to find resources that are missing tags

1. Group costs by tag

  1. Log in to CloudWisdom and navigate to Cost Management > Bill Analysis.
  2. Select the time frame you wish to analyze.
    • A larger time frame may help you discover the most significant resources missing tags.
  3. Select Configure. A modal appears.
  4. Choose the Stacked View visualization.
  5. Choose a tag value from Options > Group By. In this example, we are grouping by the app tag.
  6. Notice the bar missing a label. This bar represents all of your spend missing this tag. spend-without-app-tag
  7. Add a Stacked By value, such as service, to gain more insight into your untagged resource spend. untagged-costs-stacked-by-service
  8. Notice now the untagged spend is divided by each service. You can use these insights to further explore your costs.
    • Change the Stacked By value to Region to get an idea of where your missing resources are located
    • Change the Stacked By value to Usage Type for a specific, granular list of costs such as EBS volume usage.

Use this information to triangulate resources you are paying for that may have gone unlabeled. Keeping untagged resources to a minimum is a great way to prevent cost creep!

2. Filter billing data for resources where a given tag is missing

You can search for resources where no value for a given tag has been specified. This can be particularly useful for tags that clearly divide your resources by applications, departments, and projects.

  1. Log in to CloudWisdom and navigate to Cost Management > Bill Analysis.
  2. Select the time frame you wish to analyze.
    • A larger time frame may help you discover the most significant resources missing tags.
  3. Select Configure. A modal appears.
  4. Choose the Stacked View visalization.
  5. Filter by Tag > input a key, such as app > * Not Specified *. This selects all costs that have no value for the app tag. app-no-value-specified
  6. Now you can group by other dimensions to quickly analyze all untagged spend.
  7. Change the Grouped By value to Operations.
  8. Change the Stacked By value to Usage Type.
  9. Now, all untagged operations are broken down by usage type. Hover over a bar to see each operation’s amount of spend by usage type. untagged-spend-grouped-by-ops