Cost Allocator

CloudCheckr has rebranded its existing feature, Tag Mapping – Splitting, as Cost Allocator.

CloudCheckr’s Cost Allocator is a powerful tool that is designed to help Managed Service Providers (MSPs), resellers, and enterprises untangle and manage cost allocation in a multi-tenant implementation. Cost Allocator allows you to re-allocate costs from shared resources and services, by usage, across projects, customers, and departments. This helps ensure accurate invoicing and chargebacks each billing period.

Cost Allocator allows you to easily:

  • match shared resources or services from your billing reports
  • divide the costs from those resources or services based on usage
  • apply the split costs across multiple tag keys and values

This topic will walk you through how to set up the Cost Allocator feature.


Prerequisite

As a first step, you must decide how you want CloudCheckr to apply the tags to your resources. You can use:

  • an AND statement if you want CloudCheckr to only apply the tag mapping when a resource meets all the conditions, or
  • an OR statement if you want CloudCheckr to apply the tag mapping when a resource meets at least one of the conditions

By default, CloudCheckr will generate your tag mapping using an AND statement.


Split Tags and Allocate Costs

In this use case, we will show you how to create a tag mapping called Environments.

Next, we will show you how to split the tag mapping based on two conditions: Environment | Production and Environment | Development. Conditions are the details that define your tag splits.

Finally, we will show how you allocate your costs between the two conditions.

Let's create the Environments tag mapping and our two conditions using tag keys and tag values.

  1. Launch CloudCheckr.
  2. Select an account from your Accounts List page.
  3. In CloudCheckr, go to the left navigation pane and choose Cost > Tags (from Detailed Billing) > Cost Allocator.
  4. On the Cost Allocator page, type the name of your mapping and click Create.
  5. Find your mapping in the list and click to expand and see the mapping details.
  6. Click Add Conditions.
  7. In the Add Conditions dialog box:
    1. Select the Enter a tag key and tag value to create a condition radio button.
    2. In the Tag Key field, type Environment
    3. In the Tag Value field, type Development
    4. Click Save.
  8. Click Add Conditions again.
  9. In the Add Conditions dialog box:
    1. Select the Enter a tag key and tag value to create a condition radio button.
    2. In the Tag Key field, type Environment
    3. In the Tag Value field, type Production
    4. Click Save.

      Here is our tag mapping split between the two conditions. The highlighted statement indicates that the default logical operator is And, which means your tag split must meet both conditions:

    If you do not want to use the default logical operator of And, you can change it to Or at this time.

    In our use case, if we changed the logical operator to Or, CloudCheckr will make the split as long as one of the conditions, Environment| Production or Environment| Development, is present.

    To make this change:

    1. Click the here hyperlink:
    2. In the Change Logical Operator dialog box, select At least one of the conditions must be met for divisions to be applied.
    3. Click Save.

You can also create divisions, which means you allocate your costs to each tag split by a percentage. The total percentage must add up to 100%.

CloudCheckr will only apply the division (allocate costs) if you met the previous conditions.

In this procedure, we will add a division to our tag mapping, Environments, which we created in Step 1: Create a Condition Using a Tag Key and Tag Value.

  1. Find your mapping in the list and click to expand and see the mapping details.
  2. Click Add Divisions.

    The Distribute Costs dialog box opens.

  3. In the Distribute Costs dialog box:
    1. In the Map field, type 50
    2. In the Tag Key field, type Environment
    3. In the Tag Value field, type Development
  4. Click to add another division.
  5. In the Distribute Costs dialog box:
    1. In the Map field, type 50
    2. In the Tag Key field, type Environment
    3. In the Tag Value field, type Development
    4. Click Save.

      Here is what the completed dialog box looks like according to our use case:


Add a Property (Optional)

You can also add a property—an additional condition that allows you to further limit what costs are included in your AND or OR statements.

In CloudCheckr tag mapping, you cannot apply a property on its own—you must add it to existing conditions created with tag keys and tag values.

In this step, you would repeat Step 1 from the Split Tags and Allocate Costs procedure.

For now, let's just leverage our tag mapping Environments and those splits that we created earlier:

In this step, we will add a property in addition to our conditions, Environment| Production or Environment| Development, to the Environments tag mapping.

  1. On the Cost Allocator page, find your mapping, and click to expand and see the mapping details.
  2. Click Add Conditions.
  3. In the Add Conditions dialog box, select the Select from one or more properties to create conditions radio button.
  4. Let's say that you only want to tag costs associated with the US-EAST-1 region in your previous AND statement.

    To add this property:

  5. Select Region from the first drop-down list and select us_east_1 from the second drop-down list.
  6. Click Save.

    Here is what the tagging structure, with the new property, looks like according to our use case:


How did we do?