diff --git a/content/en/cloud_cost_management/custom_allocation_rules/_index.md b/content/en/cloud_cost_management/custom_allocation_rules/_index.md index 10afea34130c4..e8a2816ccc374 100644 --- a/content/en/cloud_cost_management/custom_allocation_rules/_index.md +++ b/content/en/cloud_cost_management/custom_allocation_rules/_index.md @@ -7,10 +7,6 @@ further_reading: text: "Cloud Cost Management" --- -{{< callout url="https://www.datadoghq.com/private-beta/cost-anomaly-detection/" btn_hidden="false" header="In Preview">}} -Dynamic Cost Allocation is in Preview. To request access, complete the form. -{{< /callout >}} - ## Overview Arbitrary cost allocation allows you to showback or chargeback your costs by attributing selected costs to relevant business dimensions. Once you have set up allocation rules, you can report on which costs were allocated by a rule. @@ -26,29 +22,22 @@ Access the Custom Allocation Rules section under [Cloud Cost settings][1] to est | ---------------- | ----------- | -------- | | Proportional | Costs are allocated based on the proportional spend of destination values. | Untagged support costs are allocated to teams `teamA`, `teamB`, and `teamC` based on their proportion of total spend, for example, on `aws_product:ec2`.| | Even | Costs are allocated evenly to your destination tags. | Untagged support costs are allocated evenly to teams `teamA`, `teamB`, and `teamC`. | -| Custom Percentage | Costs are allocated based on custom percentages for the destination tags. | Untagged support costs are allocated 50% to `teamA`, 25% to `teamB`, and 25% to `teamC`. | - -### Specify what costs are included in the allocation -| Step | Required | Examples | -| ---- | ---- | ---- | -| Cost Provider | Yes | AWS, GCP, Azure | -| Define the costs to split (source) | Yes | `aws_product` is `support` `allocated_spend_type` is untagged | -| Define the destination | Yes | `team` is `teamA`, `teamB`, `teamC` | -| Filter by | Only applicable for Proportional and Even strategies, optional | `aws_product` is `ec2` | -| Partition costs by | Only applicable for Proportional and Even strategies, optional | `environment` is all values | -| Rule Name | Yes | allocate\_untagged\_support\_costs | +| Custom Percentage | Costs are allocated based on custom percentages for the destination tags. | Untagged support costs are allocated 60% to `teamA`, 30% to `teamB`, and 10% to `teamC`. | +## Allocation methods {{< tabs >}} {{% tab "Proportional Allocation" %}} Costs are allocated based on the proportional spend of destination values. Apply a filter to refine which part of the bill determines the proportions. -You can also specify how cost proportions should be partitioned to ensure segment-specific allocations. For example, if you partition your costs by `environment` using tags like `staging` and `production`, the proportions are calculated separately for each environment. This ensures allocations are based on the specific proportions within each partition. +{{< img src="cloud_cost/custom_allocation_rules/proportional_diagram.png" alt="Diagram illustrating the proportional split strategy" style="width:60%;" >}} -{{< img src="cloud_cost/custom_allocation_rules/proportional_diagram.png" alt="Diagram illustrating the proportional split strategy" style="width:100%;" >}} +{{< img src="cloud_cost/custom_allocation_rules/proportional_ui.png" alt="The proportional split strategy as seen in Datadog" style="width:60%;" >}} -{{< img src="cloud_cost/custom_allocation_rules/proportional_ui.png" alt="The proportional split strategy as seen in Datadog" style="width:100%;" >}} +You can also specify how cost proportions should be partitioned to ensure segment-specific allocations. For example, if you partition your costs by `environment` using tags like `staging` and `production`, the proportions are calculated separately for each environment. This ensures allocations are based on the specific proportions within each partition. + +{{< img src="cloud_cost/custom_allocation_rules/proportional_partition_diagram.png" alt="Diagram illustrating the proportional split strategy with partitioning" style="width:90%;" >}} {{% /tab %}} @@ -56,22 +45,32 @@ You can also specify how cost proportions should be partitioned to ensure segmen With the even strategy, costs are allocated evenly towards your destination tags, regardless of any other spend. Similarly to proportional allocation, you can further customize your allocation by setting filters and partitions. -{{< img src="cloud_cost/custom_allocation_rules/even_diagram.png" alt="Diagram illustrating the even split strategy" style="width:100%;" >}} +{{< img src="cloud_cost/custom_allocation_rules/even_diagram.png" alt="Diagram illustrating the even split strategy" style="width:60%;" >}} -{{< img src="cloud_cost/custom_allocation_rules/even_ui.png" alt="The even split strategy as seen in Datadog" style="width:100%;" >}} +{{< img src="cloud_cost/custom_allocation_rules/even_ui.png" alt="The even split strategy as seen in Datadog" style="width:60%;" >}} {{% /tab %}} {{% tab "Custom Percentage Allocation" %}} -With the custom percentage strategy, you can define static custom percentages for the destination tags you select. For example, if you have 3 destinations (`teamA`, `teamB`, `teamC`) you can allocate 50% to `teamA`, 25% to `teamB`, and 25% to `teamC`. +With the custom percentage strategy, you can define static custom percentages for the destination tags you select. For example, if you have 3 destinations (`teamA`, `teamB`, `teamC`) you can allocate 60% to `teamA`, 30% to `teamB`, and 10% to `teamC`. -{{< img src="cloud_cost/custom_allocation_rules/custom_percentage_diagram.png" alt="Diagram illustrating the even split strategy" style="width:100%;" >}} + -{{< img src="cloud_cost/custom_allocation_rules/custom_percentage_ui.png" alt="The even split strategy as seen in Datadog" style="width:100%;" >}} +{{< img src="cloud_cost/custom_allocation_rules/custom_percentage_ui.png" alt="The even split strategy as seen in Datadog" style="width:60%;" >}} {{% /tab %}} {{< /tabs >}} +### Specify what costs are included in the allocation +| Step | Required | Examples | +| ---- | ---- | ---- | +| Cost Provider | Yes | AWS, GCP, Azure | +| Define the costs to split (source) | Yes | `aws_product` is `support` `allocated_spend_type` is untagged | +| Define the destination | Yes | `team` is `teamA`, `teamB`, `teamC` | +| Filter by | Only applicable for Proportional and Even strategies, optional | `aws_product` is `ec2` | +| Partition costs by | Only applicable for Proportional and Even strategies, optional | `environment` is all values | +| Rule Name | Yes | allocate\_untagged\_support\_costs | + ## Managing rules Rules can be modified and deleted in the Custom Allocation Rules section of the Cloud Cost settings page. All fields except for the rule name can be reconfigured. diff --git a/static/images/cloud_cost/custom_allocation_rules/custom_percentage_diagram.png b/static/images/cloud_cost/custom_allocation_rules/custom_percentage_diagram.png deleted file mode 100644 index 0cd2142f08776..0000000000000 Binary files a/static/images/cloud_cost/custom_allocation_rules/custom_percentage_diagram.png and /dev/null differ diff --git a/static/images/cloud_cost/custom_allocation_rules/custom_percentage_ui.png b/static/images/cloud_cost/custom_allocation_rules/custom_percentage_ui.png index 3a2ecb8018712..ce342745a8de0 100644 Binary files a/static/images/cloud_cost/custom_allocation_rules/custom_percentage_ui.png and b/static/images/cloud_cost/custom_allocation_rules/custom_percentage_ui.png differ diff --git a/static/images/cloud_cost/custom_allocation_rules/even_diagram.png b/static/images/cloud_cost/custom_allocation_rules/even_diagram.png index 2d92d9f504dec..6791b09a195c1 100644 Binary files a/static/images/cloud_cost/custom_allocation_rules/even_diagram.png and b/static/images/cloud_cost/custom_allocation_rules/even_diagram.png differ diff --git a/static/images/cloud_cost/custom_allocation_rules/even_ui.png b/static/images/cloud_cost/custom_allocation_rules/even_ui.png index ddb386256efd6..c29560e53ba33 100644 Binary files a/static/images/cloud_cost/custom_allocation_rules/even_ui.png and b/static/images/cloud_cost/custom_allocation_rules/even_ui.png differ diff --git a/static/images/cloud_cost/custom_allocation_rules/proportional_diagram.png b/static/images/cloud_cost/custom_allocation_rules/proportional_diagram.png index 532b7a08ad0f5..df8771d6877cc 100644 Binary files a/static/images/cloud_cost/custom_allocation_rules/proportional_diagram.png and b/static/images/cloud_cost/custom_allocation_rules/proportional_diagram.png differ diff --git a/static/images/cloud_cost/custom_allocation_rules/proportional_partition_diagram.png b/static/images/cloud_cost/custom_allocation_rules/proportional_partition_diagram.png new file mode 100644 index 0000000000000..eabf209ef4eb4 Binary files /dev/null and b/static/images/cloud_cost/custom_allocation_rules/proportional_partition_diagram.png differ diff --git a/static/images/cloud_cost/custom_allocation_rules/proportional_ui.png b/static/images/cloud_cost/custom_allocation_rules/proportional_ui.png index 1820e7a4c6157..18cff452223ca 100644 Binary files a/static/images/cloud_cost/custom_allocation_rules/proportional_ui.png and b/static/images/cloud_cost/custom_allocation_rules/proportional_ui.png differ