diff --git a/content/en/cloud_cost_management/budgets.md b/content/en/cloud_cost_management/budgets.md index 270618f204b47..5f82e1cc1cb5d 100644 --- a/content/en/cloud_cost_management/budgets.md +++ b/content/en/cloud_cost_management/budgets.md @@ -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: @@ -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 diff --git a/static/images/cloud_cost/budgets/budget-copy-paste.png b/static/images/cloud_cost/budgets/budget-copy-paste.png new file mode 100644 index 0000000000000..c62bc9159ab12 Binary files /dev/null and b/static/images/cloud_cost/budgets/budget-copy-paste.png differ diff --git a/static/images/cloud_cost/budgets/budget-delete-2.png b/static/images/cloud_cost/budgets/budget-delete-2.png new file mode 100644 index 0000000000000..49fcaff99eb63 Binary files /dev/null and b/static/images/cloud_cost/budgets/budget-delete-2.png differ diff --git a/static/images/cloud_cost/budgets/budget-edit-1.png b/static/images/cloud_cost/budgets/budget-edit-1.png new file mode 100644 index 0000000000000..73af5b64aa6c0 Binary files /dev/null and b/static/images/cloud_cost/budgets/budget-edit-1.png differ diff --git a/static/images/cloud_cost/budgets/budget-investigate-3.png b/static/images/cloud_cost/budgets/budget-investigate-3.png new file mode 100644 index 0000000000000..1591fb02f5e9a Binary files /dev/null and b/static/images/cloud_cost/budgets/budget-investigate-3.png differ diff --git a/static/images/cloud_cost/budgets/budget-list-1.png b/static/images/cloud_cost/budgets/budget-list-1.png new file mode 100644 index 0000000000000..97833598ee608 Binary files /dev/null and b/static/images/cloud_cost/budgets/budget-list-1.png differ diff --git a/static/images/cloud_cost/budgets/budget-status-all-2.png b/static/images/cloud_cost/budgets/budget-status-all-2.png new file mode 100644 index 0000000000000..0a40068c58e54 Binary files /dev/null and b/static/images/cloud_cost/budgets/budget-status-all-2.png differ diff --git a/static/images/cloud_cost/budgets/budget-status-month-2.png b/static/images/cloud_cost/budgets/budget-status-month-2.png new file mode 100644 index 0000000000000..6b48da9371376 Binary files /dev/null and b/static/images/cloud_cost/budgets/budget-status-month-2.png differ diff --git a/static/images/cloud_cost/budgets/budget-upload-your-csv.mp4 b/static/images/cloud_cost/budgets/budget-upload-your-csv.mp4 new file mode 100644 index 0000000000000..15de32340eb57 Binary files /dev/null and b/static/images/cloud_cost/budgets/budget-upload-your-csv.mp4 differ diff --git a/static/images/cloud_cost/budgets/budgets-upload-a-csv.mp4 b/static/images/cloud_cost/budgets/budgets-upload-a-csv.mp4 new file mode 100644 index 0000000000000..f0dddea1113b2 Binary files /dev/null and b/static/images/cloud_cost/budgets/budgets-upload-a-csv.mp4 differ