Why it matters
Development and test namespaces are often created on Premium to match production, which costs far more than they need.How nOps finds it
nOps reads the last 14 days of Service Bus billing. A namespace is flagged when its Premium messaging units were billed on at least 7 of those days and recently, its name or resource group contains a non-production word (such as dev, test, qa, staging or uat, and not prod), and it does not use geo-replication. The saving is the 7-day Premium cost, scaled to a month, minus what Standard’s base charge would cost for the same days, using the regional list price. It assumes your traffic stays within the operations included in Standard’s base charge. Services mostly paid with credits and savings under $5 a month are left out.Before you start
Confirm the namespace uses no Premium-only features and that its traffic fits Standard.How to implement
- Check the namespace does not use Premium-only features: private endpoints or VNet integration, messages over 256 KB, geo-disaster recovery or JMS 2.0.
- Create a Standard namespace (portal: Service Bus → Create, or
az servicebus namespace create --sku Standard ...). - Recreate the queues, topics, subscriptions and access policies, ideally from your Terraform, Bicep or ARM templates.
- Point clients at the new namespace, let the old one drain, then delete it.
Risks and considerations
- Premium cannot be downgraded in place, so this is a migration to a new namespace with a new connection string.
- Standard shares capacity with other tenants, so latency and throughput are less predictable.
- Premium does not bill operations, so nOps cannot see your volume. Above the included operations, Standard charges per million, which lowers the saving.
- To roll back, point clients back to the Premium namespace before you delete it.
FAQs
How does nOps decide a namespace is non-production?
How does nOps decide a namespace is non-production?
From words in its name and resource group, such as dev, test, qa, staging or uat. A namespace whose own name contains prod is treated as production.