Back to skills
SKILL.md
2100 03 Des Cost Estimate 6189dd2e
ASecurity**Generated**: 2026-01-12 **Region**: swedencentral (Sweden Central) **Environment**: Development **MCP Tools Used**: azure_price_search **Architecture Reference**: [Architecture Assessment](./02-architecture-assessment.md) ---
- 9 stars
- 0 votes
- 0 copies
- 1 view
- Added October 11, 2026
Works with
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 2100-03-des-cost-estimate_6189dd2e --agent claude-codeAre you the author of 2100 03 Des Cost Estimate 6189dd2e?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-2100-03-des-cost-estimate-6189dd2e)# Azure Cost Estimate: static-webapp-test
**Generated**: 2026-01-12
**Region**: swedencentral (Sweden Central)
**Environment**: Development
**MCP Tools Used**: azure_price_search
**Architecture Reference**: [Architecture Assessment](./02-architecture-assessment.md)
---
## ๐ฐ Cost At-a-Glance
> **Monthly Total: ~$15** | Annual: ~$180
>
> ```
> Budget: $50/month (soft) | Utilization: 30% (~$15 of $50)
> ```
>
> | Status | Indicator |
> | ----------------- | ------------------------------------- |
> | Cost Trend | โก๏ธ Stable |
> | Savings Available | ๐ฐ $0/year (already using free tiers) |
> | Compliance | โ
None (internal tool) |
---
## โ
Decision Summary
- โ
Approved: Single-region, cost-optimized dev/test workload; keep SWA/Functions on free tiers
- โณ Deferred: Private endpoints, multi-region DR, dedicated always-warm compute
- ๐ Redesign Trigger: If this becomes production-critical or traffic increases materially, SQL tier and SWA tier change
**Confidence**: Medium | **Expected Variance**: ยฑ25% (SQL tier/usage and logs are the primary uncertainty)
---
## ๐ Requirements โ Cost Mapping
| Requirement | Architecture Decision | Cost Impact | Mandatory |
| ------------------------------ | -------------------------------- | ------------ | --------- |
| Internal tool, low criticality | Single region | Baseline | Yes |
| ~$50/month soft budget | SWA Free + Functions Consumption | -$9/month ๐ | Yes |
| Basic availability target | SQL S0 baseline + alerts | Baseline | Yes |
## ๐ Top 5 Cost Drivers
| Rank | Resource | Monthly Cost | % of Total | Trend |
| ---- | -------------------------------------------- | ------------ | ---------- | ----- |
| 1๏ธโฃ | Azure SQL Database (S0) | $14.52 | 99% | โก๏ธ |
| 2๏ธโฃ | Azure Monitor alert rules (x2) | $0.20 | 1% | โก๏ธ |
| 3๏ธโฃ | Azure Static Web Apps (Free) | $0.00 | 0% | โก๏ธ |
| 4๏ธโฃ | Azure Functions (Consumption, integrated) | $0.00 | 0% | โก๏ธ |
| 5๏ธโฃ | Application Insights / Log Analytics (<5 GB) | $0.00 | 0% | โก๏ธ |
> ๐ก **Quick Win**: If usage is sporadic, evaluate Azure SQL serverless to reduce idle-time spend.
---
## Summary
| Metric | Value |
| ------------------- | ----------------------------- |
| ๐ต Monthly Estimate | $15 - $18 |
| ๐
Annual Estimate | $180 - $216 |
| ๐ Primary Region | swedencentral |
| ๐ณ Pricing Type | List Price (PAYG) |
| โญ WAF Score | 7.2/10 (avg of pillar scores) |
| ๐ฏ Target Users | 10 concurrent |
### Business Context
This workload is an internal tool for workflow validation testing.
The architecture intentionally optimizes for cost while meeting the stated 99.9% availability target for a
non-critical internal app.
---
## Architecture Overview
### Cost Distribution
```mermaid
%%{init: {'theme':'base','themeVariables':{pie1:'#0078D4',pie2:'#107C10',pie3:'#5C2D91',pie4:'#D83B01',pie5:'#FFB900'}}}%%
pie showData
title Monthly Cost Distribution ($)
"๐พ Data Services" : 14.52
"๐ Security/Mgmt" : 0.20
```
### Key Design Decisions Affecting Cost
| Decision | Cost Impact | Business Rationale | Status |
| ------------------------- | ------------------ | --------------------------------------------- | -------- |
| Static Web Apps Free tier | -$9/month ๐ | Stay within $50 budget for dev/test | Required |
| SQL Database S0 (10 DTU) | Baseline | Lowest managed SQL tier for light usage | Required |
| No private endpoints | -$7.30/endpoint ๐ | Public endpoints acceptable for internal tool | Accepted |
| Single region deployment | Baseline | DR not required; cost-optimized | Required |
---
## ๐งพ What We Are Not Paying For (Yet)
- Multi-region DR (active-active or warm standby)
- Private endpoints for PaaS services
- Dedicated always-warm compute for Functions
- Higher SQL tier for sustained throughput
---
## โ ๏ธ Cost Risk Indicators
| Resource | Risk Level | Issue | Mitigation |
| --------------------- | ---------- | --------------------------------------- | ------------------------------------ |
| Azure SQL Database S0 | ๐ก Medium | DTU saturation may require tier upgrade | Alert on DTU > 80%, review monthly |
| Log ingestion | ๐ก Medium | Exceeding free ingestion increases cost | Cap verbosity; set retention targets |
| Data egress | ๐ข Low | Low expected egress for internal users | Monitor monthly egress |
> **โ ๏ธ Watch Item**: If transactions/day grows beyond projections, SQL tier upgrades become the primary cost driver.
---
## ๐ฏ Quick Decision Matrix
_"If you need X, expect to pay Y more"_
| Requirement | Additional Cost | SKU Change | Notes |
| ------------------------------- | ------------------ | --------------------------------- | ------------------------------------- |
| Production-ready SWA features | +$9/month | Static Web Apps: Free -> Standard | Staging/enterprise features |
| Higher DB throughput | +$15/month (est.) | SQL: S0 -> S1 | Use when DTU is consistently high |
| Dedicated / always-warm compute | +$120/month (est.) | Functions: Consumption -> Premium | Avoid for this budget unless required |
---
## ๐งฉ Change Control
| Change Request | Delta | Notes |
| ------------------------------------- | ------------------ | ------------------------------------------- |
| Promote to production (SWA Standard) | +$9/month | Enables production SWA features |
| Upgrade DB tier (S0 -> S1) | +$15/month (est.) | Triggered by sustained DTU saturation |
| Dedicated compute (Functions Premium) | +$120/month (est.) | Only if strict latency/always-warm required |
---
## ๐ฐ Savings Opportunities
> ### Total Potential Savings: $0/year
>
> This design already uses free/lowest tiers aligned to the requirements.
### Additional Optimization Strategies
| Strategy | Potential Savings | Effort | Notes |
| --------------------------------------- | ----------------- | --------- | ---------------------------------------------- |
| Keep SWA on Free for dev/test | $9/month | ๐ข Low | Upgrade only if production features are needed |
| Reduce log ingestion | Variable | ๐ก Medium | Avoid verbose logs; tune sampling |
| Evaluate SQL serverless (if idle-heavy) | Variable | ๐ก Medium | Only beneficial if workload is frequently idle |
---
## Detailed Cost Breakdown
### ๐ป Compute Services
| Resource | SKU | Qty | $/Hour | $/Month | Notes |
| --------------- | ----------- | --- | ------ | ------- | ---------------------------------------------------------- |
| Static Web Apps | Free | 1 | - | $0.00 | Pricing not returned for Free tier via MCP query |
| Azure Functions | Consumption | 1 | - | $0.00 | Integrated with SWA; usage expected to stay in free grants |
**๐ป Compute Subtotal**: ~$0.00/month
### ๐พ Data Services
| Resource | SKU | Config | $/Unit | $/Month | Notes |
| ------------------ | ----------- | --------- | ----------- | ------- | ------------------------ |
| Azure SQL Database | S0 (10 DTU) | Single DB | $0.4839/day | $14.52 | $0.4839 \* 30 days (MCP) |
**๐พ Data Subtotal**: ~$14.52/month
### ๐ Security/Management
| Resource | SKU | Config | $/Unit | $/Month | Notes |
| ------------- | ------ | ------- | ----------- | ------- | ---------------------------------------------------------- |
| Azure Monitor | Alerts | 2 rules | $0.10/month | $0.20 | MCP shows multiple alert prices; using $0.10/rule estimate |
**๐ Security/Management Subtotal**: ~$0.20/month
---
## ๐ Monthly Cost Summary
| Category | Monthly Cost | % of Total | Trend |
| ---------------- | ------------ | ---------- | ----- |
| ๐ป Compute | $0.00 | 0% | โก๏ธ |
| ๐พ Data Services | $14.52 | 99% | โก๏ธ |
| ๐ Security/Mgmt | $0.20 | 1% | โก๏ธ |
| **Total** | **~$14.72** | 100% | |
```
Cost Distribution:
๐พ Data โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 99%
๐ Sec/Mgmt โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 1%
๐ป Compute โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 0%
```
---
## ๐งฎ Base Run Cost vs Growth-Variable Cost
| Cost Type | Drivers | Examples | How It Scales |
| --------------- | ----------- | ---------------------- | ---------------------------- |
| Base run | fixed SKUs | SQL S0 | step-changes (tier upgrades) |
| Growth-variable | usage-based | logs, alerting, egress | increases with users/traffic |
---
## ๐ Regional Comparison
| Region | SQL S0 Cost | vs. Primary | Data Residency | Recommendation |
| ------------------ | ----------- | ----------- | ---------------- | -------------------------------- |
| swedencentral | $14.52/mo | Baseline | EU (Sweden) โ
| **Selected** |
| germanywestcentral | $14.52/mo | +0.0% | EU (Germany) | Alternative EU option |
| westeurope | $14.52/mo | +0.0% | EU (Netherlands) | Alternative EU option |
| eastus | $14.52/mo | +0.0% | US | Lowest-latency for US-only users |
> ๐ก **Decision**: swedencentral selected for EU preference and default region standards.
---
## ๐ง Environment Strategy (FinOps)
- Production: Not applicable (design is dev/test).
- Non-prod: Keep SWA/Functions on free tiers; only upgrade SQL tier when DTU saturation persists.
---
## ๐ Environment Cost Comparison
| Environment | Monthly Cost | vs. Dev | Notes |
| ------------------------ | ------------ | -------- | ------------------------------------------- |
| Development | $14.72 | Baseline | Free/lowest tiers |
| Staging | $14.72 | 0% | Same footprint (single environment pattern) |
| Production (if upgraded) | ~$23.72 | +61% | SWA Standard (+$9) |
---
## ๐ก๏ธ Cost Guardrails
| Guardrail | Threshold | Action |
| ------------------- | ----------------- | ------------------------------------------- |
| Budget alert | 80% / 100% of $50 | Notify / require approval to upgrade tiers |
| SQL DTU utilization | >80% sustained | Evaluate S0 -> S1 or serverless |
| Log ingestion | >1 GB/week | Tune verbosity, sampling, and retention |
| Data egress | >50 GB/month | Investigate caching/CDN and traffic sources |
---
## ๐ Testable Assumptions
| Assumption | Why It Matters | How to Measure | Threshold / Trigger |
| ------------------ | -------------------------- | ------------------- | ------------------- |
| Logs <= 5 GB/month | avoids ingestion costs | Log Analytics usage | >5 GB/month |
| SQL S0 sufficient | prevents tier upgrade | SQL DTU metrics | >80% sustained |
| Low egress | keeps networking costs low | Azure Cost Mgmt | >50 GB/month |
---
## ๐ Assumptions
- **SQL billing basis**: $0.4839/day for SQL Database S0 in swedencentral (MCP) x 30 days
- **Alerting**: 2 alert rules at ~$0.10/month each (estimate; MCP returned multiple alert prices)
- **Logs**: assumed <= 5 GB/month to stay within common free grants
- **Usage**: 730 hours/month for always-on services
- **Prices queried**: 2026-01-12 via Azure Pricing MCP
- **Pricing**: Azure retail list prices (pay-as-you-go)
---
## ๐ Pricing Data Accuracy
> **๐ Data Source**: Prices retrieved from Azure Retail Prices API via Azure Pricing MCP
>
> โ
**Included**: Retail list prices (PAYG)
>
> โ **Not Included**: EA discounts, CSP pricing, negotiated rates, Azure Hybrid Benefit
>
> ๐ก For official quotes, validate with the Azure Pricing Calculator
---
## ๐ References
- [Azure Pricing Calculator](https://azure.microsoft.com/pricing/calculator/)
- [Azure Retail Prices API](https://learn.microsoft.com/en-us/rest/api/cost-management/retail-prices/azure-retail-prices)
- [Architecture Assessment](./02-architecture-assessment.md)
Attribution
Comments
Loading commentsโฆ
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.