Skip to content

[CCM] Hierarchical budgets and upload via CSV #29081

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 51 additions & 12 deletions content/en/cloud_cost_management/budgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,62 @@ further_reading:
## Overview
After you start ingesting your costs in Cloud Cost Management, set up budgets and visualize how you are tracking against budgets.

## Create a budget
You can create two types of budgets:

- [**Basic**](#create-a-basic-budget): A flat, single-level budget for tracking your cloud costs.
- [**Hierarchical**](#create-a-hierarchical-budget): A two-level, parent-child budget for tracking costs in a way that mirrors your organization's structure. For example, if your organization has departments made up of many teams, you can budget on the department (parent) and team (child) levels and track budget health at both levels. In addition, this option allows you to create a single budget instead of needing to create multiple budgets.

## Create a basic budget

To create a basic budget:

1. Navigate to [**Cloud Cost > Plan > Budgets**][1], or create a budget through the [API][2].
2. Click the **Create a New Budget** button.
3. Enter the following details:
1. Click the **Create a New Budget** button.
1. Click **Basic** to a basic budget.
1. You can either add budget information by **uploading a CSV** using the provided template in the UI, or **enter your budget directly** using the details below.

{{< img src="cloud_cost/budgets/budget-upload-your-csv.mp4" alt="Choose whether to add budget information by uploading a CSV or enter it directly within the UI" video="true">}}

- **Budget Name**: Enter a name for your budget.
- **Start Date**: Enter a start date for the budget (this can be a past month). Budgets are set at the month level.
- **End Date**: Set an end date for the budget (can be in the future).
- **Provider(s)**: Budget on any combination of AWS, Azure, Google Cloud, or other SaaS (including Datadog or custom costs).
- **Dimension to budget by**: Specify a dimension to track the budget, along with its corresponding values. For example, if you wanted to create budgets for the top 4 teams, you would select "team" in the first dropdown, and the specific teams in the second dropdown.

{{< img src="cloud_cost/budgets/budget-create-define-1.png" alt="Budget Creation View: fill in budget details." style="width:100%;" >}}
1. Fill in all budgets in the table. To apply the same values from the first month to the rest of the months, enter a value in the first column of a row and click the **copy** button.

4. Fill in all budgets in the table. You can automatically copy values from the first month to the rest of the months by clicking the copy button.
{{< img src="cloud_cost/budgets/budget-copy-paste.png" alt="Budget Creation View: fill in budget details." style="width:100%;" >}}

5. Click **Save** in the bottom right.
1. Click **Save**.

## Create a hierarchical budget

To create a hierarchical budget:

1. Navigate to [**Cloud Cost > Plan > Budgets**][1], or create a budget through the [API][2].
1. Click the **Create a New Budget** button.
1. Click **Hierarchical** to create a hierarchical budget.
1. Enter your budget information using the details below.

- **Budget Name**: Enter a name for your budget.
- **Start Date**: Enter a start date for the budget (this can be a past month). Budgets are set at the month level.
- **End Date**: Set an end date for the budget (can be in the future).
- **Scope to Provider(s)**: Budget on any combination of AWS, Azure, Google Cloud, or other SaaS (including Datadog or custom costs).
- **Parent Level**: Select the parent-level tag.
- **Child Level**: Select child-level tag.
- **Dimension to budget by**: Specify a dimension to track the budget, along with its corresponding values. For example, if you wanted to create budgets for the top 4 teams, you would select "team" in the first dropdown, and the specific teams in the second dropdown.

1. Fill in all budgets in the table. To apply the same values from the first month to the rest of the months, enter a value in the first column of a row and click the **copy** button.

{{< img src="cloud_cost/budgets/budget-copy-paste.png" alt="Budget Creation View: fill in budget details." style="width:100%;" >}}

1. Click **Save**.

## View budget status
The [Budgets page][1] lists all of your organization's budgets, highlighting the budget creator, any budgets that have gone over,
and other relevant details. Click on **View Performance** to investigate the budget, and understand what might be causing you to go over budget.

{{< img src="cloud_cost/budgets/budget-list.png" alt="List all budgets">}}
{{< img src="cloud_cost/budgets/budget-list-1.png" alt="List all budgets">}}

From a **View Performance** page of an individual budget, you can toggle the view option from the top left:

Expand All @@ -41,27 +75,32 @@ You cannot view budget versus actuals before 15 months, since cost metrics are r

- You can view the budget status for the **current month**:

{{< img src="cloud_cost/budgets/budget-status-month.png" alt="Budget Status View: view current month">}}
{{< img src="cloud_cost/budgets/budget-status-month-2.png" alt="Budget Status View: view current month">}}

- Or can view the budget status for the **entire duration (all)**:

{{< img src="cloud_cost/budgets/budget-status-all.png" alt="Budget Status View: view total budget">}}
{{< img src="cloud_cost/budgets/budget-status-all-2.png" alt="Budget Status View: view total budget">}}

## Investigate budgets

{{< img src="cloud_cost/budgets/budget-investigate-1.png" alt="Use the dropdown filter or Apply Filter option in the table to investigate over-budget dimensions. ">}}
{{< img src="cloud_cost/budgets/budget-investigate-3.png" alt="Use the dropdown filter or Apply Filter option in the table to investigate over-budget dimensions. ">}}

To investigate budgets:
1. From the individual budget page, filter budgets using the dropdown at the top, or "Apply filter" in the table to investigate dimensions that are over budget.
2. Click **Copy Link** to share the budget with others to help understand why budgets are going over. Or, share budgets with finance so that they can understand how you're tracking against budgets.

## Modify a budget
To modify a budget, click the edit icon on the Budgets page.

{{< img src="cloud_cost/budgets/budget-edit-1.png" alt="Click the edit icon to edit a budget" style="width:70%;">}}

## Delete budget
To delete a budget, click the trash icon on the Budgets page.

{{< img src="cloud_cost/budgets/budget-delete.png" alt="List all budgets">}}
{{< img src="cloud_cost/budgets/budget-delete-2.png" alt="Click the delete icon to delete a budget" style="width:70%;">}}

## Further Reading
{{< partial name="whats-next/whats-next.html" >}}

[1]: https://app.datadoghq.com/cost/plan/budgets
[2]: https://docs.datadoghq.com/api/latest/cloud-cost-management/#create-or-update-a-budget
[2]: /api/latest/cloud-cost-management/#create-or-update-a-budget
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading