
Key terms
- Virtual Dimension: A custom, rule-based grouping that maps cloud resources to business-meaningful categories like teams, products, or environments.
- Standard Columns: Costory’s unified billing schema. All normalized fields are prefixed with
cos_for cross-provider querying. - Feature Engineering: Costory’s automatic tag cleanup process. See Feature Engineering.
Create a Virtual Dimension
Pick a dimension name
Navigate to Labels > Virtual Dimensions and click Create. Choose a name that matches your allocation concept, e.g., “Team”, “Business Unit”, or “Environment”.
Define rules using billing metadata
Add rules that map resources to values. Each rule uses conditions based on available metadata:
- : provider, Kubernetes namespace, resource name, service name, region
- : your unified, cleaned-up tags
- Other Virtual Dimensions: build hierarchies by referencing existing allocations
Order your rules
Rules are evaluated top-to-bottom. The first rule that matches a resource determines the value. Drag rules to set priority.
Save
Costory reprocesses all historical data with the new allocation. Results appear in the Cost Explorer within minutes.
Data sources for rules
Virtual Dimensions can combine multiple data sources to build a complete allocation model:| Source | Examples | When to use |
|---|---|---|
| Standard Columns | Provider, namespace, resource name, service, account, region | Allocate based on billing metadata that’s always present |
| Feature-engineered tags | Unified environment, team, or project tags | Use clean tags after merging duplicates |
| Other Virtual Dimensions | A “Team” dimension referenced by a “Business Unit” dimension | Build hierarchies where one allocation feeds into the next |
Complete existing tags with fallback rules
Already have ateam tag on 70% of your resources? You don’t need to start from scratch. Virtual Dimensions can extend existing tags by filling in the gaps with rules based on namespace, resource name, or account. Your existing tags stay intact; Costory fills in the untagged portion.

- You have partial tag coverage and want to reach 100% allocation without re-tagging in your cloud console
- Certain resource types (e.g., network costs, marketplace purchases) cannot be tagged natively
- Different teams use different tagging conventions and you need a unified view
Composable allocation rules
Costory’s Virtual Dimensions are layered: each dimension can reference another, forming an allocation hierarchy. This means you can:- Define
namespace -> teamonce - Define
team -> business uniton top of it - Define
business unit -> P&L lineon top of that
Version control with JSON Schema
Virtual Dimensions can be created and updated using a JSON Schema. Export your dimension configuration, store it in Git, and apply changes through the UI. This gives you an audit trail and the ability to review allocation changes before they take effect.Next Steps
Split Shared Costs
Distribute shared infrastructure costs based on actual usage metrics
Feature Engineering
Clean up your tags before building allocations
Explore Your Costs
Use your new allocations in the multi-cloud Cost Explorer
Automate FinOps Reports
Send cost-per-team reports to Slack automatically
