Skip to content
Back to skills

2672 07 Ab Cost Estimate C32d913b

ASecurity

![Step](https://img.shields.io/badge/Step-7g-blue?style=for-the-badge) ![Status](https://img.shields.io/badge/Status-Draft-orange?style=for-the-badge) ![Agent](https://img.shields.io/badge/Agent-As--Built-purple?style=for-the-badge) <details open> <summary><strong>πŸ“‘ As-Built Cost Contents</strong></summary> - [πŸ’΅ Cost At-a-Glance](#-cost-at-a-glance) - [βœ… Decision Summary](#-decision-summary) - [πŸ” Requirements β†’ Cost Mapping](#-requirements--cost-mapping) - [πŸ“Š Top 5 Cost Drivers](#-top-5-c...

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 31, 2026
devopsgosqlazureterraformdatabasesecurity

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 31, 2026

npx -y skills add tools-only/X-Skills --skill 2672-07-ab-cost-estimate_c32d913b --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2672 07 Ab Cost Estimate C32d913b?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2672 07 Ab Cost Estimate C32d913b
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2672-07-ab-cost-estimate-c32d913b/badge)](https://www.skillsdirectory.com/skills/tools-only-2672-07-ab-cost-estimate-c32d913b)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# πŸ’° As-Built Cost Estimate: terraform-e2e

![Step](https://img.shields.io/badge/Step-7g-blue?style=for-the-badge)
![Status](https://img.shields.io/badge/Status-Draft-orange?style=for-the-badge)
![Agent](https://img.shields.io/badge/Agent-As--Built-purple?style=for-the-badge)

<details open>
<summary><strong>πŸ“‘ As-Built Cost Contents</strong></summary>

- [πŸ’΅ Cost At-a-Glance](#-cost-at-a-glance)
- [βœ… Decision Summary](#-decision-summary)
- [πŸ” Requirements β†’ Cost Mapping](#-requirements--cost-mapping)
- [πŸ“Š Top 5 Cost Drivers](#-top-5-cost-drivers)
- [πŸ›οΈ Architecture Overview](#️-architecture-overview)
- [🧾 What We Are Not Paying For (Yet)](#-what-we-are-not-paying-for-yet)
- [⚠️ Cost Risk Indicators](#️-cost-risk-indicators)
- [🎯 Quick Decision Matrix](#-quick-decision-matrix)
- [πŸ’° Savings Opportunities](#-savings-opportunities)
- [🧾 Detailed Cost Breakdown](#-detailed-cost-breakdown)
- [References](#references)

</details>

> Generated by as-built agent | 2026-02-26

<div align="center">

| ⬅️ Previous                                        | πŸ“‘ Index            | Next ➑️ |
| -------------------------------------------------- | ------------------- | ------- |
| [07-compliance-matrix.md](07-compliance-matrix.md) | [README](README.md) | β€”       |

</div>

**Generated**: 2026-02-26
**Source**: Deployed Terraform resources + design-time estimate artifact
**Region**: swedencentral
**Environment**: dev
**IaC Reference**: [../../infra/terraform/terraform-e2e/](../../infra/terraform/terraform-e2e/)

## πŸ’΅ Cost At-a-Glance

> **As-built monthly total: Pending verified repricing**
>
> The design-time estimate in [03-des-cost-estimate.md](./03-des-cost-estimate.md) was **~$25–$60/month**,
> but the deployed architecture changed from **B1** to **P1v3** App Service Plan, which materially changes total cost.

| Status | Indicator |
| ------ | --------- |
| Cost Trend | ⬆️ Increased vs design due to App Service Plan SKU uplift |
| Savings Available | βœ… Available via right-sizing if P1v3 is not required |
| Compliance | βœ… Cost still within documented soft-budget posture pending final repricing |

## βœ… Decision Summary

- βœ… Implemented as-built stack with PremiumV3 App Service plan (`P1v3`, capacity 3)
- ⏳ Deferred exact dollar repricing pending validated pricing run for current SKU/region
- πŸ” Redesign trigger: move to production-grade private networking and/or multi-region DR

**Confidence**: Medium | **Expected Variance**: High until verified pricing run is completed

### Design vs As-Built Summary

| Metric | Design Estimate | As-Built | Variance | Status |
| ------ | --------------- | -------- | -------- | ------ |
| Monthly Estimate | ~$25–$60 | Pending verified repricing | Expected increase | ⚠️ |
| Annual Estimate | ~$300–$720 | Pending verified repricing | Expected increase | ⚠️ |

## πŸ” Requirements β†’ Cost Mapping

| Requirement | Architecture Decision | Cost Impact | Mandatory |
| ----------- | --------------------- | ----------- | --------- |
| 99.5%+ availability target | App Service Plan uplift to `P1v3` | Significant increase over B1 | Yes |
| Data protection and restore | Azure SQL Basic with geo backup redundancy | Moderate baseline | Yes |
| Security baseline | Key Vault RBAC + purge protection | Low incremental | Yes |
| Observability | App Insights + Log Analytics + Smart Detector | Variable ingestion-driven | Yes |

## πŸ“Š Top 5 Cost Drivers

| Rank | Resource | Monthly Cost | % of Total | Trend | Optimization |
| ---- | -------- | ------------ | ---------- | ----- | ------------ |
| 1️⃣ | App Service Plan (`asp-terraform-e2e-dev`) | Pending | Pending | ⬆️ | Evaluate right-size to lower premium/standard tiers if policy allows |
| 2️⃣ | Azure SQL Database (`sqldb-terraform-e2e-dev`) | Pending | Pending | ➑️ | Monitor DTU utilization; keep Basic if sufficient |
| 3️⃣ | Application Insights (`appi-terraform-e2e-dev-3hpu`) | Pending | Pending | ⬆️/➑️ | Set ingestion caps and sampling controls |
| 4️⃣ | Log Analytics (`log-terraform-e2e-dev-3hpu`) | Pending | Pending | ⬆️/➑️ | Tune retention and ingestion volume |
| 5️⃣ | Key Vault (`kv-tfe2dev-3hpu`) | Pending | Pending | ➑️ | Usually low; monitor transaction count |

## πŸ›οΈ Architecture Overview

As-built cost profile is dominated by the App Service compute tier selection (`P1v3`, 3 workers) rather than originally planned cost-optimized `B1`.

| Category | Cost Posture |
| -------- | ------------ |
| Compute | High relative share (expected dominant cost driver) |
| Data Services | Low-to-moderate |
| Monitoring | Variable by telemetry volume |
| Security | Low |

## 🧾 What We Are Not Paying For (Yet)

- Private endpoints and VNet integration for app/data services
- Multi-region active/passive duplication of full workload
- Additional premium security SKUs (beyond current baseline)
- Front Door/WAF service layer

## ⚠️ Cost Risk Indicators

| Resource | Risk Level | Issue | Mitigation |
| -------- | ---------- | ----- | ---------- |
| App Service Plan P1v3 | πŸ”΄ High | Highest expected monthly spend driver | Re-validate capacity requirement and autoscale profile |
| App Insights / Log Analytics | 🟑 Medium | Telemetry ingestion spikes can increase spend | Apply sampling + daily cap governance |
| SQL Database | 🟑 Medium | Growth may force tier uplift | Track DTU/storage and pre-plan upgrade path |

## 🎯 Quick Decision Matrix

| Requirement | Additional Cost Direction | SKU/Config Change | Verdict | Notes |
| ----------- | ------------------------- | ----------------- | ------- | ----- |
| Maintain current premium compute posture | ⬆️ | Keep `P1v3` capacity 3 | 🟑 Monitor | Validate sustained utilization |
| Return to cost-optimized dev posture | ⬇️ | Downgrade plan tier/capacity | 🟒 Candidate | Requires capacity and policy validation |
| Production-ready network hardening | ⬆️ | Add private endpoints + networking | 🟑 Plan | Security/compliance trade-off |

## πŸ’° Savings Opportunities

- Right-size App Service Plan based on observed CPU/memory utilization windows.
- Enforce telemetry caps for App Insights and Log Analytics.
- Keep SQL Database at Basic unless validated workload demands exceed thresholds.

## 🧾 Detailed Cost Breakdown

### IaC / Pricing Coverage

| Signal | Value | Status |
| ------ | ----- | ------ |
| Deployed resources detected | 10 | βœ… |
| Major SKUs identified | App Service `P1v3`, SQL `Basic`, Log `PerGB2018` | βœ… |
| Verified as-built dollar pricing for all SKUs | Not available in this run | ⚠️ |

### Line Items (SKU-validated, price-pending)

| Category | Service | SKU / Meter | Quantity / Units | Est. Monthly |
| -------- | ------- | ----------- | ---------------- | ------------ |
| πŸ’» Compute | App Service Plan | P1v3 (PremiumV3) | Capacity 3 | Pending |
| πŸ’» Compute | App Services (2) | On shared P1v3 plan | 2 apps | Included in plan |
| πŸ’Ύ Data Services | Azure SQL Database | Basic (5 DTU) | 1 app DB + master DB | Pending |
| πŸ“Š Monitoring | App Insights | Workspace-based | 1 component | Pending |
| πŸ“Š Monitoring | Log Analytics | PerGB2018, 30-day retention | 1 workspace | Pending |
| πŸ” Security | Key Vault | Standard | 1 vault | Pending |

### Notes

- This as-built estimate intentionally avoids unverified dollar figures for changed SKUs.
- A follow-up pricing pass is required to finalize exact monthly/annual totals for the deployed configuration.
- Design-time baseline remains available in [03-des-cost-estimate.md](./03-des-cost-estimate.md).

---

## References

| Topic | Link |
| ----- | ---- |
| Design estimate baseline | [03-des-cost-estimate.md](./03-des-cost-estimate.md) |
| Deployed resource evidence | [06-deployment-summary.md](./06-deployment-summary.md) |
| Azure pricing calculator | [Calculator](https://azure.microsoft.com/pricing/calculator/) |
| Cost management | [Overview](https://learn.microsoft.com/azure/cost-management-billing/costs/overview-cost-management) |

---

<div align="center">

| ⬅️ [07-compliance-matrix.md](07-compliance-matrix.md) | 🏠 [Project Index](README.md) | ➑️ β€” |
| ----------------------------------------------------- | ----------------------------- | ---- |

</div>

Files in this skill

  • README.md1.1 KB
  • skill.md8.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.