Skip to content

Commit a57366e

Browse files
committed
fix: correct App Service billing model and tool guidance
- Slots share plan workers (no per-slot charge), can drive scale-out - Fix ARG query heading to match actual query scope - Replace azure__appservice MCP reference with ARG/CLI for discovery
1 parent a09a7dc commit a57366e

4 files changed

Lines changed: 28 additions & 27 deletions

File tree

package-lock.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugin/skills/azure-cost/cost-optimization/services/appservice/azure-app-service.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Reference guide for reducing App Service costs through plan rightsizing, idle sl
99
| 🔴 Critical | Stopped App on Paid Plan | `state == 'Stopped'` AND `sku.tier != 'Free/Shared'` | Delete or move to Free tier (stopped apps still incur plan cost) | $50-500/mo |
1010
| 🔴 Critical | Empty App Service Plan | Plan has zero apps deployed | Delete the plan | $50-400/mo |
1111
| 🟠 High | Premium in Non-Production | `sku.tier in ['PremiumV2','PremiumV3']` AND `tags.environment in ['dev','test','staging']` | Downgrade to Basic or Standard | $100-600/mo |
12-
| 🟠 High | Idle Deployment Slots | Non-production slots with zero traffic for 14+ days | Delete unused slots (each slot = separate app instance cost) | $50-300/mo |
12+
| 🟠 High | Idle Deployment Slots | Non-production slots with zero traffic for 14+ days | Delete unused slots (slots share plan workers but increase utilization, driving scale-out) | $30-150/mo |
1313
| 🟠 High | Over-Provisioned Plan | CPU avg <20% AND memory avg <30% over 14 days | Scale down SKU or reduce instance count | $50-400/mo |
1414
| 🟡 Medium | No Auto-Scale Rules | Production plan with fixed instance count >2 | Add auto-scale rules to scale in during low traffic | $30-200/mo |
1515
| 🟡 Medium | Missing Dev/Test Pricing | Dev/test workloads on regular pricing | Enable Dev/Test pricing via subscription offer | 30-55% savings |
@@ -28,7 +28,7 @@ Reference guide for reducing App Service costs through plan rightsizing, idle sl
2828

2929
## Resource Graph Queries
3030

31-
**Find stopped apps on paid plans:**
31+
**Find stopped apps (review for deletion or plan downgrade):**
3232

3333
```kql
3434
Resources
@@ -59,7 +59,7 @@ Resources
5959

6060
## Tools & Commands
6161

62-
**MCP Tool:** `azure__appservice` for listing and managing App Service resources
62+
**Discovery:** Use Azure Resource Graph or `az` CLI for listing App Service resources (the `azure__appservice` MCP tool has limited list support).
6363

6464
**Azure CLI:**
6565
- `az appservice plan list --resource-group <rg>` - List plans
@@ -78,6 +78,6 @@ Approximate monthly costs (Linux, East US):
7878
- **Standard S1**: ~$69/mo (1 core, 1.75 GB, auto-scale, slots)
7979
- **Premium P1v3**: ~$138/mo (2 cores, 8 GB, better perf)
8080

81-
Each deployment slot runs as a separate instance at full plan cost. Windows plans cost ~30% more than Linux.
81+
Deployment slots share the plan's compute workers (no separate per-slot charge), but extra slots increase resource utilization and can trigger scale-out. Windows plans cost ~30% more than Linux.
8282

8383
Always validate from [official pricing](https://azure.microsoft.com/pricing/details/app-service/).

scripts/package-lock.json

Lines changed: 9 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)