Skip to content

Commit 665d9d5

Browse files
author
Jill Grant
authored
Merge pull request #258821 from bandersmsft/finops-exports
MCM - Adding Multiple FinOps dataset exports tutorial
2 parents af028ab + 22cfc2a commit 665d9d5

File tree

5 files changed

+175
-0
lines changed

5 files changed

+175
-0
lines changed
63.9 KB
Loading
150 KB
Loading
96.1 KB
Loading

articles/cost-management-billing/costs/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@
191191
items:
192192
- name: Export data
193193
href: tutorial-export-acm-data.md
194+
- name: Tutorial - Improved exports (Preview)
195+
href: tutorial-improved-exports.md
194196
- name: Seed historical cost dataset with Exports API
195197
href: ../automate/tutorial-seed-historical-cost-dataset-exports-api.md
196198
- name: Export cost data with a Storage SAS key
Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
---
2+
title: Tutorial - Improved exports experience - Preview
3+
description: This tutorial helps you create automatic exports for your actual and amortized costs in the Cost and Usage Specification standard (FOCUS) format.
4+
author: bandersmsft
5+
ms.author: banders
6+
ms.date: 01/31/2023
7+
ms.topic: tutorial
8+
ms.service: cost-management-billing
9+
ms.subservice: cost-management
10+
ms.reviewer: jojoh
11+
---
12+
13+
# Tutorial: Improved exports experience - Preview
14+
15+
This tutorial helps you create automatic exports using the improved exports experience that can be enabled from [Cost Management labs](enable-preview-features-cost-management-labs.md#exports-preview) by selecting **Exports (preview)** button. The improved Exports experience is designed to streamline your FinOps practice by automating the export of other cost-impacting datasets. The updated exports are optimized to handle large datasets while enhancing the user experience.
16+
17+
Review [Azure updates](https://azure.microsoft.com/updates/) to see when the feature becomes available generally available.
18+
19+
## Improved functionality
20+
21+
The improved Exports feature supports new datasets including price sheets, reservation recommendations, reservation details, and reservation transactions. Also, you can download cost and usage details using the open-source FinOps Open Cost and Usage Specification [FOCUS](https://focus.finops.org/) format. It combines actual and amortized costs and reduces data processing times and storage and compute costs.
22+
FinOps datasets are often large and challenging to manage. Exports improve file manageability, reduce download latency, and help save on storage and network charges with the following functionality:
23+
24+
- File partitioning, which breaks the file into manageable smaller chunks.
25+
- File overwrite, which replaces the previous day's file with an updated file each day in daily export.
26+
27+
The Exports feature has an updated user interface, which helps you to easily create multiple exports for various cost management datasets to Azure storage using a single, simplified create experience. Exports let you choose the latest or any of the earlier dataset schema versions when you create a new export. Supporting multiple versions ensures that the data processing layers that you built on for existing datasets are reused while you adopt the latest API functionality. You can selectively export historical data by rerunning an existing Export job for a historical period. So you don't have to create a new one-time export for a specific date range. You can enhance security and compliance by configuring exports to storage accounts behind a firewall. The Azure Storage firewall provides access control for the public endpoint of the storage account.
28+
29+
## Prerequisites
30+
31+
Data export is available for various Azure account types, including [Enterprise Agreement (EA)](https://azure.microsoft.com/pricing/enterprise-agreement/) and [Microsoft Customer Agreement (MCA)](get-started-partners.md) customers. To view the full list of supported account types, see [Understand Cost Management data](understand-cost-mgt-data.md). The following Azure permissions, or scopes, are supported per subscription for data export by user and group. For more information about scopes, see [Understand and work with scopes](understand-work-scopes.md).
32+
33+
- Owner - Can create, modify, or delete scheduled exports for a subscription.
34+
- Contributor - Can create, modify, or delete their own scheduled exports. Can modify the name of scheduled exports created by others.
35+
- Reader - Can schedule exports that they have permission to.
36+
- **For more information about scopes, including access needed to configure exports for Enterprise Agreement and Microsoft Customer agreement scopes, see [Understand and work with scopes](understand-work-scopes.md)**.
37+
38+
For Azure Storage accounts:
39+
- Write permissions are required to change the configured storage account, independent of permissions on the export.
40+
- Your Azure storage account must be configured for blob or file storage.
41+
- Don't configure exports to a storage container that is configured as a destination in an [object replication rule](../../storage/blobs/object-replication-overview.md#object-replication-policies-and-rules).
42+
- To export to storage accounts with configured firewalls, you need other privileges on the storage account. The other privileges are only required during export creation or modification. They are:
43+
- Owner role on the storage account.
44+
Or
45+
- Any custom role with `Microsoft.Authorization/roleAssignments/write` and `Microsoft.Authorization/permissions/read` permissions.
46+
Additionally, ensure that you enable [Allow trusted Azure service access](../../storage/common/storage-network-security.md#grant-access-to-trusted-azure-services) to the storage account when you configure the firewall.
47+
- The storage account configuration must have the **Permitted scope for copy operations (preview)** option set to **From any storage account**.
48+
:::image type="content" source="./media/tutorial-export-acm-data/permitted-scope-copy-operations.png" alt-text="Screenshot showing From any storage account option set." lightbox="./media/tutorial-export-acm-data/permitted-scope-copy-operations.png" :::
49+
50+
If you have a new subscription, you can't immediately use Cost Management features. It might take up to 48 hours before you can use all Cost Management features.
51+
52+
Enable the new Exports experience from Cost Management labs by selecting **Exports (preview)**. For more information about how to enable Exports (preview), see [Explore preview features](enable-preview-features-cost-management-labs.md#explore-preview-features). The preview feature is being deployed progressively.
53+
54+
## Create exports
55+
56+
You can create multiple exports of various data types using the following steps.
57+
58+
### Choose a scope and navigate to Exports
59+
60+
1. Sign in to the Azure portal at [https://portal.azure.com](https://portal.azure.com/).
61+
2. Search for **Cost Management**.
62+
3. Select a billing scope.
63+
4. In the left navigation menu, select **Exports**.
64+
- **For Partners**: Sign in as a partner at the billing account scope or on a customer's tenant. Then you can export data to an Azure Storage account that is linked to your partner storage account. However, you must have an active subscription in your CSP tenant.
65+
5. Set the schedule frequency.
66+
67+
### Create new exports
68+
69+
On the Exports page, at the top of the page, select **+ Create**.
70+
71+
### Fill in export details
72+
73+
1. On the Add export page, select the **Type of data**, the **Dataset version**, and enter an **Export name**. Optionally, enter an **Export description**.
74+
2. For **Type of data**, when you select **Reservation recommendations**, select values for the other fields that appear:
75+
- Reservation scope
76+
- Resource type
77+
- Look back period
78+
3. Depending on the **Type of data** and **Frequency** that you select, you might need to specify more fields to define the date range in UTC format.
79+
4. Select **Add** to see the export listed on the Basic tab.
80+
81+
:::image type="content" source="./media/tutorial-improved-exports/new-export.png" alt-text="Screenshot of Add export page." lightbox="./media/tutorial-improved-exports/new-export.png" :::
82+
83+
### Optionally add more exports
84+
85+
You can create up to 10 exports when you select **+ Add new exports**.
86+
87+
Select **Next** when you're ready to define the destination.
88+
89+
### Define the export destination
90+
91+
1. On the Destination tab, select the **Storage type**. The default is Azure blob storage.
92+
2. Specify your Azure storage account subscription. Choose an existing resource group or create a new one.
93+
3. Select the Storage account name or create a new one.
94+
4. If you create a new storage account, choose an Azure region.
95+
5. Specify the storage container and directory path for the export file.
96+
6. File partitioning is enabled by default. It splits large files into smaller ones.
97+
7. **Overwrite data** is enabled by default. For daily exports, it replaces the previous day's file with an updated file.
98+
8. Select **Next** to move to the **Review + create** tab.
99+
100+
:::image type="content" source="./media/tutorial-improved-exports/destination-tab.png" alt-text="Screenshot showing Destination tab information." lightbox="./media/tutorial-improved-exports/destination-tab.png" :::
101+
102+
### Review and create
103+
104+
Review your export configuration and make any necessary changes. When done, select **Review + create** to complete the process.
105+
106+
## Manage exports
107+
108+
You can view and manage your exports by navigating to the Exports page where a summary of details for each export appears, including:
109+
110+
- Type of data
111+
- Schedule status
112+
- Data version
113+
- Last run time
114+
- Frequency
115+
- Storage account
116+
- Estimated next run date and time
117+
118+
You can perform the following actions by selecting the ellipsis (****) on the right side of the page or by selecting the individual export.
119+
120+
- Run now - Queues an unplanned export to run at the next available moment, regardless of the scheduled run time.
121+
- Export selected dates - Reruns an export for a historical date range instead of creating a new one-time export. You can extract up to 13 months of historical data in three-month chunks. This option isn't available for price sheets.
122+
- Disable - Temporarily suspends the export job.
123+
- Delete - Permanently removes the export.
124+
- Refresh - Updates the Run history.
125+
126+
:::image type="content" source="./media/tutorial-improved-exports/exports-list-details.png" alt-text="Screenshot showing the list of exports and details." lightbox="./media/tutorial-improved-exports/exports-list-details.png" :::
127+
128+
### Schedule frequency
129+
130+
All types of data support various schedule frequency options, as described in the following table.
131+
132+
| **Type of data** | **Frequency options** |
133+
| --- | --- |
134+
| Price sheet | • One-time export <br> • Current month <br>• Daily export of the current month |
135+
| Reservation details | • One-time export <br> • Daily export of month-to-date costs <br> • Monthly export of last month's costs |
136+
| Reservation recommendations | • One-time export <br> • Daily export |
137+
| Reservation transactions | • One-time export <br> • Daily export <br> • Monthly export of last month's data|
138+
| Cost and usage details (actual)<br> Cost and usage details (amortized) <br> Cost and usage details (FOCUS)<br> Cost and usage details (usage only) | • One-time export <br>• Daily export of month-to-date costs<br>• Monthly export of last month's costs <br>• Monthly export of last billing month's costs |
139+
140+
## Understand data types
141+
142+
- Cost and usage details (actual) - Select this option to export standard usage and purchase charges.
143+
- Cost and usage details (amortized) - Select this option to export amortized costs for purchases like Azure reservations and Azure savings plan for compute.
144+
- Cost and usage details (FOCUS) - Select this option to export cost and usage details using the open-source FinOps Open Cost and Usage Specification ([FOCUS](https://focus.finops.org/)) format. It combines actual and amortized costs. This format reduces data processing time and storage and compute charges for exports. The management group scope isn't supported for Cost and usage details (FOCUS) exports.
145+
- Cost and usage details (usage only) - Select this option to export standard usage charges without purchase information. Although you can't use this option when creating new exports, existing exports using this option are still supported.
146+
- Price sheet – Select this option to export your download your organization's Azure pricing.
147+
- Reservation details – Select this option to export the current list of all available reservations.
148+
- Reservation recommendations – Select this option to export the list of reservation recommendations, which help with rate optimization.
149+
- Reservation transactions – Select this option to export the list of all reservation purchases, exchanges, and refunds.
150+
151+
Agreement types, scopes, and required roles are explained at [Understand and work with scopes](understand-work-scopes.md).
152+
153+
| **Data types** | **Supported agreement** | **Supported scopes** |
154+
| --- | --- | --- |
155+
| Cost and usage (actual) | • EA<br> • MCA that you bought through the Azure website <br> • MCA enterprise<br> • MCA that you buy through a Microsoft partner <br> • Microsoft Online Service Program (MOSP), also known as pay-as-you-go (PAYG) <br> • Azure internal | • EA - Enrollment, department, account, management group, subscription, and resource group <br> • MCA - Billing account, billing profile, Invoice section, subscription, and resource group <br> • Microsoft Partner Agreement (MPA) - Customer, subscription, and resource group |
156+
| Cost and usage (amortized) | • EA <br> • MCA that you bought through the Azure website <br> • MCA enterprise <br> • MCA that you buy through a Microsoft partner <br> • Microsoft Online Service Program (MOSP), also known as pay-as-you-go (PAYG) <br> • Azure internal | • EA - Enrollment, department, account, management group, subscription, and resource group <br> • MCA - Billing account, billing profile, Invoice section, subscription, and resource group <br> • MPA - Customer, subscription, and resource group |
157+
| Cost and usage (FOCUS) | • EA <br> • MCA that you bought through the Azure website <br> • MCA enterprise <br> • MCA that you buy through a Microsoft partner| • EA - Enrollment, department, account, subscription, and resource group <br> • MCA - Billing account, billing profile, invoice section, subscription, and resource group <br> • MPA - Customer, subscription, resource group. **NOTE**: The management group scope isn't supported for Cost and usage details (FOCUS) exports. |
158+
| All available prices | • EA <br> • MCA that you bought through the Azure website <br> • MCA enterprise <br> • MCA that you buy through a Microsoft partner | • EA - Billing account <br> • All other supported agreements - Billing profile |
159+
| Reservation recommendations | • EA <br> • MCA that you bought through the Azure website <br> • MCA enterprise <br> • MCA that you buy through a Microsoft partner | • EA - Billing account <br> • All other supported agreements - Billing profile |
160+
| Reservation transactions | • EA <br> • MCA that you bought through the Azure website <br> • MCA enterprise <br> • MCA that you buy through a Microsoft partner | • EA - Billing account <br> • All other supported agreements - Billing profile |
161+
| Reservation details | • EA <br> • MCA that you bought through the Azure website <br> • MCA enterprise <br> • MCA that you buy through a Microsoft partner | • EA - Billing account <br> • All other supported agreements - Billing profile |
162+
163+
## Limitations
164+
165+
The improved exports experience currently has the following limitations.
166+
167+
- The new Exports experience doesn't fully support the management group scope and it has feature limitations.
168+
- Azure internal and MOSP billing scopes and subscriptions don’t support FOCUS datasets.
169+
- Shared access service (SAS) key-based cross tenant export is only supported for Microsoft partners at the billing account scope. It isn't supported for other partner scenarios like any other scope, EA indirect contract or Azure Lighthouse.
170+
171+
## Next steps
172+
173+
- Learn more about exports at [Tutorial: Create and manage exported data](tutorial-export-acm-data.md).

0 commit comments

Comments
 (0)