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.
Important
On-demand billing is currently in preview. This information relates to a prerelease product that might be substantially modified before it's released. Microsoft makes no warranties, expressed or implied, with respect to the information provided here.
You can enable an on-demand billing category on an existing Fabric capacity (F2 or higher), or you can create an F0 capacity with no provisioned CUs. A capacity with one or more enabled categories is a hybrid capacity. For more information, see On-demand billing in Microsoft Fabric.
Prerequisites
- Role: You must be a capacity admin to enable on-demand billing or set spend limits. To create an F0 capacity, you need permission to create resources in the Azure subscription. To upgrade or downgrade a capacity, you also need the Azure RBAC actions listed in Scale your Fabric capacity on the capacity resource.
- Quota: Your subscription must have available on-demand billing quota and on-demand billing-enabled capacity quota for the region. Check your quotas on the Quotas page in the Azure portal before enabling on-demand billing. For instructions, see View and increase on-demand billing quotas.
Enable on-demand billing for a billing category
When you enable on-demand billing for a category on a paid capacity, operations in that category run outside the capacity's CU limit and are billed separately.
Sign in to the Fabric admin portal and go to Capacity settings.
Select one of your Fabric capacities.
On the Details tab, expand the On-demand billing section.
Find a billing category, and turn the toggle On.
Note
On-demand Billing for Apache Spark is a separate billing scenario with its own configuration and meter. To learn more, see On-demand Billing for Spark.
Disable on-demand billing for a billing category
To disable on-demand billing, go to the On-demand billing section from Enable on-demand billing for a billing category and turn the category toggle Off.
For details about billing transitions, see Transition behavior.
Set up spend limits
Spend limits help protect against unexpected expenses by rejecting new operations when a billing category reaches its configured CU-hour threshold for the preceding rolling 24-hour window. A spend limit isn't a hard consumption or billing cap.
In Capacity settings, select the capacity.
In the On-demand billing section, find the billing category. Select the gear icon next to the category toggle.
Enter a value in the Spend limit field, measured in CU-hours.
Select Apply.
Key considerations for spend limits:
- Setting the spend limit to 0 rejects new operations for that category. In-progress operations continue to completion, and operations that don't currently enforce spend limits can continue to consume CUs.
- The maximum value is the quota assigned to that category.
- If you lower the spend limit and it causes the current usage to exceed the new limit, in-progress jobs continue to completion but new jobs are rejected.
- Changes to the spend limit can take a few minutes to take effect.
- If operations are rejected because a spend limit is reached, increase the limit if quota is available or wait for older consumption to age out of the rolling 24-hour window. Check the current limit in Capacity settings > On-demand billing.
Note
The following limitations apply to on-demand billing limits:
- VNet data gateways don't currently enforce the on-demand limit configured for a 24-hour period. Gateway uptime consumption, measured in CU-hours, can exceed that limit. As a workaround, run the gateway on an F2 or larger Fabric capacity and disable the serverless usage threshold.
Create an F0 capacity
An F0 capacity has zero provisioned CUs. All supported billing categories use on-demand billing, and operations are billed through their mapped on-demand billing meters.
Sign in to the Azure portal.
Search for Microsoft Fabric and select it.
Select Create.
For the capacity SKU, select F0.
Complete the remaining fields (subscription, resource group, region, and capacity name).
Select Review + create, and then select Create.
After the F0 capacity is created, set category spend limits in the Fabric admin portal. For instructions, see Set up spend limits.
Note
You can't turn off on-demand billing on an F0 capacity. To use provisioned CUs, upgrade to a paid SKU.
Workspace monitoring isn't supported for workspaces assigned to an F0 capacity.
To run Spark workloads on an F0 capacity, explicitly enable On-demand Billing for Spark and configure the maximum CUs available to Spark. Spark doesn't use an on-demand billing category spend limit. The highest maximum CU value you can configure is determined by the available capacity quota for the subscription and region.
Upgrade from F0 to a paid SKU
When your consumption patterns stabilize and you want to benefit from reserved-instance discounts, upgrade to a paid capacity.
Before the upgrade, verify that the subscription has enough available capacity quota in the capacity's region for the target SKU. On-demand billing quota doesn't provide quota for a paid capacity SKU.
In the Azure portal, go to your F0 capacity resource.
Select Scale, and then select Change size.
Select the target SKU (for example, F64).
Select Resize.
After the upgrade:
- On-demand billing is disabled for all categories.
- New operations use the shared capacity. You can enable on-demand billing again for individual categories.
For details about billing transitions after an upgrade, see Transition behavior.
Downgrade from a paid SKU to F0
To switch back to a pure pay-as-you-go model, downgrade a paid capacity to F0.
In the Azure portal, go to your capacity resource.
Select Scale, and then select Change size.
Select F0.
Select Resize.
After the downgrade:
- All supported billing categories use on-demand billing, and you can't turn them off.
- The rolling 24-hour spend limit window starts fresh for each billing category.
For details about billing transitions after a downgrade, see Transition behavior.
Pause and resume an F0 capacity
You can pause an F0 capacity the same way you pause any Fabric capacity. When the capacity is paused, its billing categories stop accepting requests. For more information, see Pause and resume your capacity.