Defender Workload Units (DWU): The New Defender for Cloud Billing Model Explained

Defender for Cloud pricing used to be a different construct per plan: servers per node, containers per vCore, storage per account plus transactions, Key Vault per transaction, APIs in five tiers. With the Defender Workload Unit (DWU), Microsoft replaces all of that with one unit and one price. The model has been in public preview since October 20, 2026, together with plan management for Azure subscriptions in the Defender portal.
This post covers what a DWU costs, how each plan converts, what happens when you migrate a subscription, and what to check before you do.
What Is a Defender Workload Unit?
A DWU is a common billing unit for Defender for Cloud usage. Every protected workload converts to a defined number of DWUs, and the same conversion is used for the estimate, the cost report and the invoice. It is still pay-as-you-go. A DWU is not a license and not a commitment.
| Property | Value |
|---|---|
| List price | USD 0.006849 per DWU per hour, about USD 5 per month |
| Region | Global, one price for all regions |
| Metering | Calculated hourly, billed monthly |
| Scope | Azure commercial subscriptions and management groups |
| Status | Public preview |
| Purchasing | Enterprise Agreement, MCA Enterprise, CSP and buy-online |
The hourly rate is not in the documentation. You can read it from the public Azure Retail Prices API:
curl -s "https://prices.azure.com/api/retail/prices?api-version=2023-01-01-preview&\$filter=serviceName%20eq%20'Microsoft%20Defender%20for%20Cloud'%20and%20contains(meterName,'Workload%20Unit')" \
| jq -r '.Items[] | [.meterName, .retailPrice, .unitOfMeasure, .armRegionName] | @tsv'
The call returns one DWU meter per workload, for example Servers P2 Node Defender Workload Unit or Containers Node Defender Workload Unit, all at the same price.
DWU Conversion Ratios per Plan
The ratio decides whether a plan gets cheaper or more expensive. Microsoft shows the ratios on the Global enablement page in the Defender portal:

Next to the classic list prices from the same Retail Prices API, in USD per 730-hour month:
| Plan | Counted unit | DWUs | DWU price per month | Classic price per month |
|---|---|---|---|---|
| Defender CSPM | Billable resource | 1 | 5.00 | 5.11 |
| Servers Plan 2 | Server | 3 | 15.00 | 14.60 |
| App Service | Instance | 3 | 15.00 | 14.60 |
| Databases | Instance | 3 | 15.00 | 14.72 (SQL), 15.00 (MySQL, PostgreSQL) |
| Storage | Storage account | 2 | 10.00 | 9.78 |
| Cosmos DB | 100 RU/s | 0.175 | 0.88 | 0.88 |
| Containers | Node | 17 | 85.00 | 6.87 per vCore |
| APIs | 1 million calls | 12 | 60.00 | 200.00 for Plan 1, including 1 million calls |
I verified the Servers Plan 2 and Defender CSPM ratios against the invoice of a migrated subscription. They match exactly, and a started server hour was billed as a full hour. The other values are the ones shown in Microsoft’s screenshot, so confirm them on the Global enablement page of your own tenant.
Three things follow from this table:
- Most plans stay within three percent of the classic list price. Servers Plan 2, App Service, Databases and Storage get slightly more expensive, Defender CSPM slightly cheaper.
- Containers are the exception. A node costs 17 DWUs regardless of its size. Against USD 6.87 per vCore, the break-even is at about 12 vCores per node. A 4-vCore node goes from USD 27.48 to USD 85. A 32-vCore node goes from USD 219.82 to USD 85.
- Fractions exist. Under Defender CSPM, eight functions or web apps count as one billable resource, so usage moves in steps of 0.125 DWU.
A quick sizing example: 20 servers on Plan 2 with Defender CSPM are 20 × (3 + 1) = 80 DWUs, or USD 400 per month, against USD 394.20 on the classic meters.
What Changes per Plan
DWU is not only a new unit. Several plans change shape when a subscription migrates:

- Containers: billed per node instead of per vCore. Images are still billed per image.
- Databases: Azure SQL Databases, SQL Servers on Machines and Open-Source Relational Databases become one plan, billed per instance.
- Storage, Key Vault, Resource Manager: billed per resource or per subscription instead of per transaction.
- APIs: plans P2 to P5 are replaced by one plan.
- Defender for DNS: discontinued as a standalone plan. Equivalent coverage requires Defender for Servers Plan 2.
- Defender CSPM: Serverless Protection and Serverless Containers are included by default with no opt-out, and eligible resources are billed.
Not everything becomes a flat fee. The price sheet still contains usage-based DWU meters for storage transactions, malware scanning per GB, API calls, AI tokens and Cosmos DB throughput.
Migrating a Subscription to DWU Billing
Connecting a subscription to the Defender portal does not change billing. The switch happens when you move plan management for that scope, either per environment or tenant-wide through Global enablement. The environments list shows the result in the Managed in column:
| Managed in | Billing | Management |
|---|---|---|
| Azure | Classic meters | Azure portal |
| Defender (plans only) | DWU | Plans in the Defender portal, everything else in the Azure portal |
| Defender (All capabilities) | DWU | Defender portal |

You need Global Administrator or Security Administrator, or the Core security settings (Manage) permission in Defender unified RBAC, plus Owner or User Access Administrator on the Azure scope.
What the dialog commits you to:
- Full management is irreversible. Microsoft documents it as “a one-way, irreversible decision”. Whether the billing-only step can be reverted is not documented.
- Resource-level plan settings are not preserved. Plans apply per tenant, management group or subscription. A mix of Plan 1 and Plan 2 on individual machines or resource-level exclusions do not survive the migration.
- Plan configuration becomes view-only in the Azure portal.
- Negotiated discounts may not carry over. The dialog states that negotiated discounts, special pricing agreements or plan-level discounts “may not apply after migrating”.
- The 30-day trial is an opt-in. If you enable plans without ticking the trial option, it is gone and billing starts immediately. A subscription that already used its trial does not get a new one.
Estimate and Track Costs
Estimate: the Cloud Security Cost Estimator takes resource counts per workload and returns DWUs and the monthly cost. It requires sign-in.
Track in the Defender portal: the Cost & usage page shows a spending overview and a cost analysis chart, daily or cumulative, in USD. You can group and filter by meter name, billing subscription name and product name.
Track in Azure Cost Management: DWU usage appears under the service name Microsoft Defender for Cloud, meter subcategory Defender Unit, with one meter per workload. The quantity is DWU-hours. One detail matters for chargeback: every DWU record of a subscription is booked against a single resource, Microsoft.Security/serviceEntitlements/defender. The protected VM or storage account is no longer on the record.
Check the billing model by API: with API version 2026-07-01, the plan API returns who manages a plan.
az rest --method get \
--url "https://management.azure.com/subscriptions/<subscription-id>/providers/Microsoft.Security/pricings?api-version=2026-07-01" \
--query "value[].{plan:name, tier:properties.pricingTier, subPlan:properties.subPlan, managedBy:properties.managedBy}" \
-o table
A migrated subscription returns managedBy: MicrosoftDefenderXDR. Older API versions do not return the property.
Gaps in the Public Preview
The direction is right, but several things are missing before this is ready for broad rollout:
- No complete conversion table. The ratios appear in the portal and in the signed-in estimator, not in the documentation or on the pricing page. For Servers Plan 1, Key Vault, Resource Manager, AI Services, container images and malware scanning I found no published ratio. The hourly DWU price is only in the Retail Prices API.
- No cost attribution per resource. With all usage booked against one synthetic resource, showback by resource group, tag or application stops at the subscription. The Defender portal report has no resource or scope dimension either.
- Azure only. AWS, GCP and sovereign clouds stay on classic billing, so multicloud customers run two models in parallel. There is no date for multicloud support.
- An irreversible step during preview. There is no documented rollback, and no GA date or end of the transition period.
- No resource-level scoping. The portal offers no replacement for per-machine plans, exclusions or the granular pricing policies.
- A thin cost report. USD only, three dimensions, and nothing documented on data latency, export, budgets or required roles. The documentation also notes that costs “can fluctuate from day to day” without any change in the environment, and does not explain why.
- Automation is undocumented. Nothing describes how Azure Policy, Bicep or Terraform behave against a subscription whose plans are managed in Defender.
- Commitments are unclear. The pre-purchase plan documentation does not mention DWUs.
- Naming. The same dialog is “Transfer to Defender” in the text and “Migrate to Defender” in the screenshots, the report is “Cost & usage” or “Costs & usage”, and “DWU” already means Data Warehouse Unit in Azure.
Best Practices
- Inventory per subscription: servers, cluster nodes and their vCores, storage accounts, database instances and serverless resources.
- Calculate containers first. Clusters with many small nodes get significantly more expensive. Clusters with nodes above 12 vCores get cheaper.
- Take a baseline. Export the last three months of classic cost per meter from Cost Management before you migrate.
- Clarify discounts and commitments with your Microsoft account team before the first production subscription moves.
- Document resource-level settings and granular pricing policies. Subscriptions that depend on them should stay in Azure management for now.
- Check Defender for DNS. If you rely on it without Servers Plan 2, plan for the additional cost.
- Use the trial deliberately. Tick the option when you enable plans, and only where the subscription is still eligible.
- Start with one non-production subscription and plans only. Keep management in the Azure portal until you have compared one full invoice with the estimate and the baseline.
- Plan chargeback at subscription level. Resource-based allocation no longer works with DWU records.
Summary
The Defender Workload Unit replaces the mixed pricing constructs of Defender for Cloud with one unit at USD 5 per month. For most plans the conversion lands close to the classic list price. Containers are the plan to calculate carefully, because per-node pricing favors large nodes. The migration is per subscription, Azure only, and partly irreversible, and resource-level plan settings and resource-level cost attribution are lost on the way. Estimate first, migrate one subscription, and read the first invoice before you move the rest.