Skip to main content

Allocation Rules

Summary​

While Assignment Rules put resources into Cost Pools, Allocation Rules decide how to split the cost of a Shared Cost Pool across the Cost Owners that consume it.

For example, if your organization runs a shared Kubernetes cluster or centralized logging pipeline in a Shared Cost Pool, an Allocation Rule automatically divides that monthly bill among the engineering teams or products that use it.

Menu location: Chargeback → Allocation Rules
Required role: Organization Manager (to create, edit, activate/deactivate, duplicate, or delete Allocation Rules)

How Allocation Rules work​

  • One rule per Shared Cost Pool: One Allocation Rule owns the entire distribution for a single Shared Cost Pool and can include as many recipient Cost Owners as you need.
  • Direct child pools as recipients: Recipients must be Cost Owners linked to direct child pools under the selected Shared Cost Pool. This keeps your cost hierarchy mathematically consistent so subtotals always add up to 100% of the root pool.
  • Live Calculation Preview: As you configure a rule, Costimizer calculates and previews the exact dollar split and percentage share for each recipient before you save.

Allocation methods​

Costimizer supports three active allocation methods (with User Count shown as an upcoming option):

1. Equal Split​

Divides the Shared Cost Pool's spend evenly across all selected recipient Cost Owners. No usage driver is required.

  • Example: A $3,000 shared monitoring tool split equally across 3 teams charges $1,000 to each team.

2. Percentage-Based​

You manually assign each recipient Cost Owner's percentage share. Shares across all recipients must total 100%. No usage driver is required.

  • Example: A $10,000 shared database pool split 50% to Checkout, 30% to Billing, and 20% to Analytics.

3. Usage-Based​

Splits the Shared Cost Pool automatically in proportion to real measured consumption using an Allocation Driver:

Data sourceAllocation driverUnitHow it splits cost
Cloud TelemetryCPU HoursHoursAverage CPU utilization multiplied by active hours
Cloud TelemetryvCPU HoursHoursProvisioned vCPU count multiplied by active hours
Cloud TelemetryMemory UsageGB-HoursAverage RAM usage multiplied by active hours
Cloud TelemetryNetwork TrafficBytesSum of inbound and outbound network I/O
Cloud TelemetryKubernetes Pod HoursPod-HoursMeasured Kubernetes pod runtime hours
Cloud BillingStorage GBGBProvisioned Volume, Snapshot, and Bucket storage size
Shared EnvironmentBooking HoursHoursRecorded booking duration in Shared Environments

Usage-Based edge-case policies​

When using Usage-Based allocation, you can also control how Costimizer handles zero-usage and unmatched usage:

  • Recipients with no usage:
    • Skip them (0% allocation) — Recipients with zero measured driver usage pay $0.
    • Minimum share (2%) — Guarantees a small baseline share even when measured usage is zero.
  • Unmatched usage (usage that cannot be mapped to a known recipient):
    • Redistribute across recipients — Spreads unmatched usage proportionally across known recipients.
    • Send to Unallocated Cost — Holds unmatched cost in Unallocated Cost so it remains visible until resolved.

Understanding the Allocation Rules page​

At the top of Chargeback → Allocation Rules, four summary cards tell the full story of your shared spend:

  1. Shared Pools — Total Shared Cost Pools and total spend collected centrally.
  2. Active Allocation Rules — Number of active rules across pools.
  3. Fully Allocated Cost — Total shared spend (and %) successfully reaching Cost Owners.
  4. Unallocated Shared Cost — Shared spend not yet distributed (with a quick link to view pools needing attention).

Below the summary cards, you can:

  • Review the Recent changes card at the top to audit recent allocation rule edits and runs.
  • Group by Allocation Method or Driver to organize the rules table.
  • Click a rule row or open its actions menu (⋮) to Edit, Activate / Deactivate, Duplicate, Delete, or inspect its Expense Breakdown modal.
  • Click Track Changes in the table toolbar to trace a Shared Cost Pool's end-to-end allocation journey (Source Cost Pool → Allocation Rule → Final Cost Owners). See Track Changes (Resource Journey).

Create an Allocation Rule​

  1. Go to Chargeback → Allocation Rules (or click Configure Allocation from a Shared Pool on Chargeback → Cost Pools).
  2. Click Add Allocation Rule.
  3. Enter a Rule Name (up to 25 characters).
  4. Select the Source Pool (must be a Shared Cost Pool with eligible direct child pools linked to Cost Owners).
  5. Choose the Allocation Method: Equal Split, Percentage-Based, or Usage-Based.
  6. Select the Recipients (Cost Owners):
    • For Percentage-Based, enter each recipient's % share so the total equals 100%.
    • For Usage-Based, choose the Driver, Driver data source, optional Group by owner tier, and your No usage / Unmatched usage policies.
  7. Check the Calculation Preview panel on the right to verify the projected dollar split and coverage percentage.
  8. Click Save Rule (draft) or Save & Apply (active immediately).