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.
Autoscale Billing for Spark enables serverless, pay-as-you-go compute for Spark workloads in Microsoft Fabric. Once enabled, Spark jobs no longer consume the shared capacity, giving you the flexibility to scale Spark workloads independently and optimize costs.
This guide walks you through how to enable Autoscale Billing for your Fabric capacity and configure the maximum Capacity Unit (CU) limit for your Spark jobs.
Requirements
- Capacity: Only available for Fabric F-SKUs (F2 and above). Not supported on P-SKUs or Fabric Trial capacities.
- Access roles: You must be a Fabric Capacity Administrator to configure Autoscale Billing.
Important
Enabling, disabling, or reducing the Maximum Capacity Units will cancel all active Spark jobs running under Autoscale Billing to avoid billing overlaps.
How to configure Autoscale Billing for Spark
Use the following steps to enable and manage Autoscale Billing settings for a Fabric capacity:
Navigate to the Microsoft Fabric Admin Portal.
Under the Governance and insights section, select Admin portal.
From the left-hand menu, choose Capacity settings and go to the Fabric capacity tab.
Select the capacity you want to configure.
a. In the Capacity Settings page, scroll to the Autoscale Billing for Fabric Spark section.
b. Enable the Autoscale Billing toggle.
c. Use the slider to set the Maximum Capacity Units (CU) you want to allocate to Spark jobs.
- You can set up to a maximum limit on the slider and this limit is based on the Quota approved for your Azure subscription and it’s also based on the type of subscription you are using. You could increase the quota by following the steps mentioned in the Quota Management section in this document.
- You are only billed for the compute used, up to this limit.
d. Click Save to apply your settings.
Note
- Once saved, your Spark Pools can now utilize the new CU quota set by Autoscale Billing.
- Optionally, you can choose to resize your capacity now that you have moved the Spark workloads to a new billing model to optimize your costs. This would be done in the Azure portal, and you must be an Azure administrator to change the SKU size. To ensure any unsmoothed usage from Spark is no longer counting against your capacity limits, we strongly recommend pausing the capacity to clear that usage and restarting it. Instructions for how to do that are included below.
(Optional) Resize and reset capacity for cost optimization
After enabling Autoscale Billing, you can downsize your Fabric capacity if Spark workloads are no longer using it. Follow these steps in the Azure portal:
Go to the Azure portal.
Search for and select your Fabric capacity.
Click Pause to temporarily stop the capacity.
This clears any active or unsmoothed Spark usage on the shared capacity.
Wait 5 minutes, then click Resume to restart the capacity.
Now, resize the capacity to a lower SKU that fits the remaining workloads (e.g., Power BI, Data Warehouse, Real-Time Intelligence, Databases).
Note
Only Azure administrators can resize SKUs. This change is made in the Azure portal, not within Fabric settings.
Monitor billing and usage
After enabling Autoscale Billing, use Azure’s built-in cost management tools to track compute usage:
Navigate to the Azure portal.
Select the Subscription linked to your Fabric capacity.
In the subscription page, go to Cost Analysis.
Filter by the resource (Fabric capacity) and use the meter:
Autoscale for Spark Capacity Usage CU
View real-time compute spend for Spark workloads using Autoscale Billing.
Request additional quotas
If your data engineering or data science workloads require a higher quota than your current maximum Capacity Unit (CU) limit, you can request an increase via the Azure Quotas page:
- Navigate to the Azure portal and sign in.
- In the search bar, type and select Azure Quotas.
- Choose Microsoft Fabric from the list of available services.
- Select the subscription associated with your Fabric capacity.
- Edit the quota limit by entering the new CU limit that you intend to acquire.
- Submit your quota request.
Once the request is approved, the new CU limits will be refreshed and applied to your Fabric capacity. This ensures that your Autoscale Billing model can accommodate increased demand without interrupting Spark workloads.