azurerm_ static_ web_ app cost estimation
Managed hosting for static sites with serverless API backends. Priced as a flat monthly plan fee, with a genuinely free tier for small projects.
An azurerm_
The Free plan costs nothing and covers 100 GB bandwidth/month, custom domains, and managed SSL, enough for personal projects, docs sites, and small apps. The Standard plan is a flat ~$9/app/month and adds higher bandwidth allowances, more custom domains, SLA-backed availability, and bring-your-own-Functions. There's no per-request or per-build charge in the core model; the plan tier is the whole decision.
c3x reads the sku_
Terraform example
A minimal but realistic configuration that C3X can estimate.
resource "azurerm_static_web_app" "site" {
name = "marketing-site"
resource_group_name = azurerm_resource_group.web.name
location = "eastus2"
sku_tier = "Standard"
sku_size = "Standard"
}Pricing dimensions
What you actually pay for when you provision azurerm_.
| Dimension | Unit | What's being charged |
|---|---|---|
| Plan fee | per app-month | Flat monthly fee by tier: Free ($0) or Standard (~$9/app). c3x reads sku_ $0 Free, $9/month Standard |
| Excess bandwidth | per GB | Bandwidth beyond the plan's included allowance. Usually small; usage-based. |
Sample C3X output
Example output from c3x estimate (Standard plan):
azurerm_static_web_app.site
└─ Plan (Standard) 1 app-month $9.00
OVERALL TOTAL $9.00Optimization tips
Common ways to reduce azurerm_ cost without changing the workload.
Use the Free tier for personal and docs sites
100% for small sitesThe Free plan includes 100 GB bandwidth, custom domains, and managed SSL at no cost. For low-traffic sites it's genuinely free, no reason to pay for Standard.
Move to Standard only when you need its features
$9/month until neededStandard's ~$9/month buys SLA, more domains, higher bandwidth, and BYO Functions. Upgrade when you hit a Free-tier limit, not preemptively.
Watch the linked Functions plan
Separate Functions planIf you attach a separate Azure Functions backend (rather than managed Functions), that Functions plan bills independently. Use the managed Functions included in the tier where it suffices.
FAQ
How does c3x estimate Static Web Apps cost?
It reads sku_
Is the Free tier really free?
Yes. The Free plan includes 100 GB bandwidth/month, custom domains, and managed SSL certificates at no charge. c3x estimates a Free-tier app at zero.
What does Standard add for the ~$9/month?
An availability SLA, higher bandwidth allowances, more custom domains, and the ability to bring your own Azure Functions backend. It's a flat per-app fee, not usage-metered.
Are builds or requests charged?
No. The core service has no per-build or per-request charge. CI/CD builds from your repo and request serving are included in the plan fee.
Does a serverless API add cost?
Managed Functions included in the tier are covered by the plan. If you link a separate Azure Functions app, that bills on its own consumption or plan, which c3x prices as its own resource.
Related resources
More Azure resources
Estimate this resource in your own Terraform
Free, open source, no API key. C3X parses your Terraform and shows line-item cost for every resource, including azurerm_.