Cost model¶
Prices below are US list prices for Australia East from the Azure Retail Prices API on 25 November 2026, unless a row says otherwise. They are not a quote. A New Zealand personal account is often billed in NZD. Check Cost Management for the billing currency before you treat a number as dollars of a particular kind.
The default deployment is infra/main.bicep with infra/main.bicepparam.
Default lab¶
| Piece | What the default does | Expected monthly cost |
|---|---|---|
| Management groups, policy, custom role definitions | Created when you deploy them. Roles are not assigned. | USD 0 |
| Virtual networks, subnets, NSGs | Hub, corp spoke, online spoke | USD 0 while idle |
| VNet peering | Four peerings, no VMs, so no traffic | USD 0 while idle. Intra-region peering on the global retail meter is USD 0.01 per GB each direction once traffic exists |
| Log Analytics | PerGB2018 (Analytics Logs), 30-day retention, daily cap 0.1 GB | USD 0 if the 5 GB monthly allowance applies. See the ceiling below |
Activity log export and VNet diagnostic category VMProtectionAlerts |
Small volume, counts toward the cap. Not NSG flow logs | Inside the cap |
| Private DNS zone | One zone, privatelink.blob.core.windows.net, three links, no records |
USD 0.50 for a zone in the first 25. Queries are USD 0.40 per million in Zone 1. An empty zone has none |
| Budget | budget-alz-lab at 50 per month in billing currency |
USD 0. Notifications are not a spending stop |
| Public IPs, Firewall, VPN, Bastion, DDoS, NAT Gateway, Private Link, Sentinel, Defender paid plans | Not in the default | USD 0 |
Expected total: about USD 0.50 per month, from the private DNS zone.
Ceiling if Analytics Logs are billed and the daily cap is full every day: 0.1 GB × 31 = 3.1 GB. The retail feed prices the first 5 GB at USD 0 and further ingestion at USD 3.34 per GB, so 3.1 GB is still inside the allowance. If this subscription's offer does not include that 5 GB, 3.1 × 3.34 is about USD 10.35, plus the zone, about USD 11. Retention past 31 days is USD 0.15 per GB-month. The lab sets 30 days, so that meter should stay at zero.
Set deployPrivateDns = false if you want the default stack to have no list-price line item at all. You lose the DNS example.
Budget versus the USD 50 guardrail¶
monthlyBudgetAmount is 50 in the subscription billing currency. If the account bills in NZD, the alert fires at NZD 50, which is a tighter ceiling than USD 50. That is acceptable for a lab. Raise it only after you know the currency.
Azure budgets send email. They do not delete resources and they do not block new ones. The free-trial spending limit, if it is still on, is the control that actually stops spend. Leave it on while you are learning.
The placeholder address replace-me@example.com will not reach you. Change budgetContactEmail in infra/main.bicepparam before the first deploy.
Optional modules (off)¶
Invoking these requires the flag and confirmExpensiveSpend = true. CI rejects parameter files that do that. Australia East list prices, 730-hour month:
| Module | List price | Rough month, before data |
|---|---|---|
azure-firewall.bicep Standard |
USD 1.25 per deployment-hour, USD 0.016 per GB processed, Standard capacity unit USD 0.07 per hour | about USD 910 plus capacity units and data |
Same module, tier = 'Basic' |
USD 0.395 per deployment-hour | about USD 290 |
vpn-gateway.bicep VpnGw1 |
USD 0.19 per hour, plus Standard public IP USD 0.005 per hour | about USD 143. A connection is extra (about USD 0.015 per hour) and is not created |
bastion.bicep Basic |
USD 0.19 per hour, plus the public IP | about USD 143 |
ddos-plan.bicep |
DDoS Network Protection is a flat monthly plan. The retail feed did not return a row for the product names checked on 25 November 2026. Microsoft's pricing page prices it in the thousands of USD per month, plus overage | far above USD 50 |
A Standard public IP left behind after a teardown is about USD 3.65 per month on its own. Delete the resource group. Do not detach the IP and leave it.
Things this lab does not create, and what they cost when a client asks¶
| Ask | Why it is absent |
|---|---|
| Azure Monitor Private Link Scope, private endpoints | A private endpoint is a billable NIC. Several of them, plus a DNS zone each, is a real line item. The workspace stays on public ingestion because the lab stores no production data |
| DNS Private Resolver | USD 180 per inbound or outbound endpoint per month on the Zone list price, plus rulesets |
| NAT Gateway | The hourly charge plus data. There are no VMs to give an outbound path to |
| NSG flow logs and Traffic Analytics | Storage and ingestion. Easy to leave on and forget |
| Log Analytics commitment tier | The smallest commitment is 100 GB per day |
| Microsoft Sentinel | Priced on ingestion. Do not enable it on this workspace |
| Defender for Cloud paid plans | Defender for Servers and the paid CSPM plans are per-resource or per-subscription. The free foundational posture is enough here |
| Azure Firewall rules and route tables | Not created even if you turn the firewall flag on. Transit still will not work, and you will already be paying |
How to re-check¶
- Azure pricing calculator, region Australia East, currency set to the account currency.
- After deploy: Cost Management → Cost analysis, grouped by resource, for
Azure subscription 1. - Log Analytics → Usage and estimated costs, and confirm the daily cap is 0.1 GB.
Update this file in the same pull request as any Bicep change that adds a resource with a price.