Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This tutorial helps you upgrade an existing FinOps hub instance to the latest version to use new capabilities.
Upgrading a FinOps hub instance is usually the same as the initial setup where you deploy the FinOps hub template and then update Power BI reports and Data Explorer dashboards. However, depending on what version you're moving from or to, extra steps may be needed. Use the following steps to upgrade your FinOps hub instance. If you have any questions, start a discussion.
Before you begin
Before you upgrade, make sure you know what version you're currently running. You can find the version in the storage account:
- Open the storage account in the Azure portal.
- You can navigate from the resource group or the list of storage accounts.
- If you use the list of storage accounts, add a tag filter for
cm-resource-parent
containsMicrosoft.Cloud/hubs
to see all hub storage accounts.
- Open Storage browser > Blob containers > config
- Find the settings.json row and select the ⋯ menu on the right side of the page, then View/edit.
- Look for the version property.
If you're using FinOps hubs older than 0.2, it's simplest to deploy a new instance. The steps in this tutorial don't account for differences leading up to 0.2. To deploy a new instance, see Create a FinOps hub instance.
For a list of changes since your release, refer to the changelog.
Step 1: Delete unused resources (0.7)
This step only applies when upgrading from FinOps hubs 0.7 and targeting a deployment with public network access. Skip this step if any of the following apply:
- Upgrading from FinOps hubs 0.6 or earlier.
- Upgrading from FinOps hubs 0.7 and using private network routing.
- Upgrading from FinOps hubs 0.8 or later.
FinOps hubs 0.8 introduced architectural changes to how networking resources were deployed. Networking resources must be deleted before upgrading from 0.7 to 0.8 or later. If you're moving from 0.6 or earlier to 0.8 or later, you can skip this step. The instructions assume your FinOps hub instance is the only thing in the resource group and there are no other networking resources. Don't delete resources that aren't related to FinOps hubs.
To delete FinOps hubs 0.7 networking resources:
- Open the FinOps hub resource group in the Azure portal.
- Delete all private endpoints within the resource group.
- Delete all private Domain Name System (DNS) zones within the resource group.
- Delete the virtual network. If errors are encountered:
- Confirm no private endpoints or DNS zones remain.
- Check the connected devices tab and remove any lingering resources to ensure the virtual network isn't in use.
Step 2: Update Fabric eventhouse
The Microsoft Fabric eventhouse database schema must be manually updated with each release. For details, see Set up Microsoft Fabric.
Step 3: Deploy the FinOps hub template
Upgrading a FinOps hub instance requires redeploying the latest version of the template. Deploying the template creates new resources and updates existing resources as needed. To ensure the existing instance is updated, make sure to specify the same hub name and Data Explorer cluster name or Fabric eventhouse query URI.
Step 4: Update Cost Management exports (0.2-4)
This step only applies if upgrading from FinOps hubs 0.4 or earlier and using manual exports. Skip this step if upgrading from FinOps hubs 0.5 or later or using managed exports.
FinOps toolkit 0.5 reports replaced the Cost Management connector with reservation recommendation exports. When you update to 0.5 reports, you need to create new reservation recommendation exports in Cost Management.
Step 5: Remove duplicate data (0.2-6)
This step only applies if upgrading from FinOps hubs 0.6 or earlier. Skip this step if upgrading from FinOps hubs 0.7 or later.
FinOps hubs 0.6 and 0.7 changed the folder path for data stored in the ingestion container, which means older Power BI reports don't work with FinOps hubs 0.7 and later. New Power BI reports are backwards compatible and support old folder paths. You don't need to re-export data for storage reports. However, since FinOps hubs 0.6 and 0.7 use new folder paths, you may see duplicate data for the current month. To avoid the duplication, delete the current month's data from the old path in the ingestion container to avoid it being double-counted.
If you enable Azure Data Explorer or Microsoft Fabric, you need to reingest historical data to add it to Data Explorer. This ingestion requirement also applies to data brought in from other systems or clouds.
Important
If you re-export historical data in 0.7 or later that was previously exported in an earlier release, older data isn't removed. Delete the older data in the ingestion container to avoid inaccurate numbers due to duplicated data. FinOps hubs 0.7 moves all content into a folder based on the dataset type: CommitmentDiscountUsage, Costs, Prices, Recommendations, or Transactions. Any other folders can be safely removed. Once removed, run historical data backfill as needed.
Step 6: Update Power BI reports
While Power BI reports are designed to work with the corresponding FinOps hub instance, most releases don't require an update to Power BI reports. Updating Power BI reports is required for FinOps hubs 0.6 or earlier. For more information, see the compatibility guide.
To update Power BI reports:
- Download the latest templates:
- Kusto Query Language (KQL) reports for Data Explorer or Microsoft Fabric.
- Storage reports for storage only deployments.
- Extract and open the desired report template in Power BI Desktop.
- Specify report parameters as needed and load each report.
- 0.9 deprecated FOCUS 1.0 preview support. To use existing FOCUS 1.0 preview data, enable the Deprecated: Perform Extra Query Optimizations parameter.
- Reapply any customizations to the new report noting the following changes:
- 0.4 changed the following columns to align with FOCUS 1.0:
- ChargeCategory is
Purchase
for refunds instead ofAdjustment
. - ChargeClass (new) is
Correction
for refunds. - CommitmentDiscountStatus (new) replaces ChargeSubcategory for commitment discount usage.
- RegionId and RegionName replaced Region.
- ChargeCategory is
- To avoid manually applying customizations in future updates, consider contributing customizations into the FinOps toolkit.
- 0.4 changed the following columns to align with FOCUS 1.0:
- Publish reports to a Fabric workspace.
- Repeat 2-5 for each report.
For more information, see Set up Power BI reports.
Step 7: Update the Data Explorer dashboard
The Data Explorer dashboard was introduced with Data Explorer support in 0.7 and also works with Microsoft Fabric since 0.10. All versions of the dashboard work with all versions of FinOps hubs since 0.7. To upgrade the dashboard, replace the existing dashboard with the latest dashboard template.
For more information, see Configure Data Explorer dashboards.
Step 8: Update custom KQL queries
Replace the use of deprecated columns and functions:
Old version | Deprecated | Replacement |
---|---|---|
0.7 | daterange() |
datestring(datetime, [datetime]) |
0.7 | monthsago() |
startofmonth(datetime, [offset]) |
0.7 | parse_resourceid(ResourceId).ResourceType |
resource_type(x_ResourceType).SingularDisplayName |
Give feedback
Let us know how we're doing with a quick review. We use these reviews to improve and expand FinOps tools and resources.
If you're looking for something specific, vote for an existing or create a new idea. Share ideas with others to get more votes. We focus on ideas with the most votes.