Split Shared Costs Using Rules

This detailed guide will walk you through how to split shared costs using a Rules Allocation Dimension.

The problem to solve

For the purposes of this exercise, we will assume we're working for a SaaS business that sells three distinct products. This business needs to understand the cost of each product to better understand their "cost of goods sold" (COGS).


The challenge is that our business has a RDS cluster that is used by all three products. In this example, we will use a Rules Allocation Dimension to allocate those RDS costs to Products and improve the accuracy of our cost reporting, without any engineering work or additional data.

In concrete terms, we want to allocate the RDS Database to each product relative to that product's cost.



For the purposes of this exercise, we'll assume we've already created a dimension called SingleTenantProduct that describes the spend of Product A, Product B, and Product C.

What we'll be building

For a sneak peak at the complete CloudFormation jump to the end now. The next steps will go over the various parts of this in detail.