Skip to main content
Create a Team tag that assigns Amazon EC2 charges to Platform. This example uses service-level ownership. Choose a narrower condition if several teams share that service.

Create a tag key

Select the tenant whose cost data you want to tag. Open Settings > Tenants Settings > Virtual tags, then select Create new tag.
1

Name the key

Enter Team as the tag key. This is the dimension you use to group costs.
2

Add a rule

Set the service field to is, enter Amazon EC2 as the match value, and enter Platform as the tag value.Add account, region, or resource conditions if you need to narrow the match. You can also describe your attribution in the description field and request rules from Graph AI.
3

Save the tag

Select Create tag. Expand the key to inspect its rules and preview their claims.

Write a rule

Each rule selects resources and assigns a value. This sample rule editor shows service and region conditions, their assigned teams, and the order of evaluation.
Virtual tag rules assigning Amazon EC2 charges to Platform and an EU region match to Data, followed by Everything else.

Sample rules in the CostGraph rule editor. The first matching rule assigns the Team value.

Match resources

Choose a field, an operator, and a match value. Combine conditions with and, or, or not when a single condition is insufficient.

Assign a value

Enter the value to assign, such as Platform. A rule can also inherit a cloud tag’s value. For example, reuse an existing owner tag instead of defining each owner again.

Limit a rule to a date range

A rule applies to all dates by default. Set a date range when ownership changes so costs remain assigned to the owner for each period.

Preview what a rule claims

Select View claims on a rule. Check the matched line items and spend against the resources you intended to include. If the preview is empty, check the field and match value against your cost data. If it includes other teams’ resources, add a condition before saving.

Overlapping rules

The first matching rule under a key wins. Put specific matches before broader matches. For example, a rule for one account must precede a rule for its entire provider if you want the account to receive a different value. The Everything else row represents spend that no rule matches. Review that spend to find missing ownership rules. Keys bound to customer billing cannot be reordered. Refer to Protected days for the restrictions on editing those keys.

Analyze spend by the tag

Open your cost view and group by Team. Confirm that the expected charges appear under Platform. Keep the same date range when comparing the report with the rule preview. You can filter by the tag alongside dimensions such as service and region. Review untagged spend before using the report for team allocation.

Pause or remove a rule

Pause a rule to stop using it while retaining its position. Delete a rule to remove it. Another matching rule can then claim that spend. If no rule matches, the spend keeps its own tag with the same key, or stays untagged if it has none.

Next steps

Use your tag for reporting or extend it with generated rules.

Graph AI

Generate attribution rules from a description.

Billing exports

Attribute spend to customers and report it to a billing platform.