Split Shared Costs Using Rules
This guide explains how to split shared costs using a Rules Allocation Dimension.
Problem to solve
For the purposes of this exercise, we will assume we are 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 will assume we have already created a Dimension called
SingleTenantProduct
that describes the spend of Product A, Product B, and Product C.Setting the View as the default Dimension allows you to easily select it in your analysis.
What we will build
To see the complete CloudFormation, look at the page Reviewing our Rules-Based Proportional Split now. The next steps will go over the parts of this in detail.
Updated about 1 hour ago