Design, review, and validate Azure cloud architectures: Well-Architected scoring of a YAML workload spec, anti-pattern checks on the spec and Bicep, and a list-price monthly estimate. Use when choosing Azure compute, data, networking or identity services, reviewing an Azure workload before production, validating a Bicep file, or estimating Azure cost.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Azure Cloud Architect?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/borghei-azure-cloud-architect)
---
name: azure-cloud-architect
description: >
Design, review, and validate Azure cloud architectures: Well-Architected scoring of a YAML
workload spec, anti-pattern checks on the spec and Bicep, and a list-price monthly estimate.
Use when choosing Azure compute, data, networking or identity services, reviewing an Azure
workload before production, validating a Bicep file, or estimating Azure cost.
license: MIT + Commons Clause
metadata:
version: 1.1.0
author: borghei
category: engineering
domain: engineering
updated: 2026-11-08
tags: [azure, cloud-architecture, well-architected-framework, aks, app-service, entra-id, networking, cost-optimization]
---
# Azure Cloud Architect
End-to-end Azure-specific architecture: service selection, Well-Architected Framework assessment, identity and networking patterns, cost optimization, and operational defaults. Provider-specific complement to our generic `senior-cloud-architect` skill — that one covers cross-cloud patterns; this one knows AKS pricing tiers, when to pick Cosmos over SQL DB, and how Front Door differs from Application Gateway.
## Core Capabilities
- **Compute selection** — decision tree across AKS, App Service, Container Apps, Functions, VMs/VMSS, Batch, Static Web Apps, and API gateways.
- **Data store selection** — relational, NoSQL/document, cache, blob, time-series, search, vector, and warehouse decision trees.
- **Networking design** — VNets, Private/Service Endpoints, gateways (App Gateway, Front Door, Firewall, NAT, VPN/ER), hub-and-spoke and Private Link patterns.
- **Identity design** — Entra ID, Managed Identity (system/user-assigned), Workload Identity, Service Principals, and least-privilege RBAC scoping.
- **WAF assessment** — score workloads across Reliability, Security, Cost, Operational Excellence, and Performance Efficiency pillars.
- **Cost optimization** — right-sizing, reservations, autoscaling, spot, storage tiering, and egress-reduction levers with anti-pattern detection.
## When to Use
| Situation | Skill applies |
|-----------|---------------|
| Designing an Azure architecture from scratch | Yes — start with the **compute decision tree** |
| Reviewing an existing Azure architecture | Yes — run **WAF assessment** via `scripts/azure_waf_scorer.py` |
| Validating a Bicep template or a YAML workload spec | Yes — `scripts/azure_architecture_validator.py` (ARM JSON and Terraform are not checked) |
| Estimating Azure cost for a workload | Yes — `scripts/azure_cost_estimator.py` |
| Picking compute, data store, networking, or identity | Yes — see the decision-trees reference |
| Going to production without WAF review | Don't — run the WAF scorer first |
## Clarify First
Before designing or assessing, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- **Task:** design from scratch, review an existing architecture, validate IaC, or estimate cost (selects `azure_architecture_validator.py` vs `azure_cost_estimator.py` vs `azure_waf_scorer.py`).
- **Workload spec:** the YAML workload config, or the Bicep files (the input the scripts parse). ARM JSON templates and Terraform are not checked; for Terraform, describe the workload in the YAML spec instead.
- **Priority pillar:** reliability, security, cost, operational excellence, or performance (weights the WAF assessment and which recommendations lead).
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
## Quick Start Workflow
All three scripts read one YAML workload spec. Its fields are listed in
[references/workload-spec.md](references/workload-spec.md); start from `assets/sample_workload.yaml`.
```bash
# 1. Well-Architected check (50 checks; undeclared fields are listed, not scored)
python3 scripts/azure_waf_scorer.py assets/sample_workload.yaml # exit 0
python3 scripts/azure_waf_scorer.py assets/sample_workload_flawed.yaml # exit 1
# 2. Anti-patterns in the spec and in Bicep (ARM JSON and Terraform are not read)
python3 scripts/azure_architecture_validator.py assets/sample_workload.yaml # exit 0
python3 scripts/azure_architecture_validator.py --bicep assets/sample_flawed.bicep # exit 1
# 3. Rough monthly cost with optimisation hints
python3 scripts/azure_cost_estimator.py assets/sample_workload.yaml # about $1,755/mo
```
Real output of `python3 scripts/azure_waf_scorer.py assets/sample_workload_flawed.yaml` (excerpt):
```
**Verdict:** FIX 5 critical check(s) failed (7 failed in total)
**Read:** 8 of 50 checks declared in the spec; 42 undeclared and left out of the scores
## Overall Score: n/a (fewer than half the checks declared)
| R1 Deployed across at least 2 AZs? | critical | `compute.zone_redundant=False` | Enable zone-redundant tier on PaaS or deploy VMSS across zones. |
| S4 MFA enforced for admin access? | critical | `security.mfa_enforced=False` | Conditional Access policy: enforce MFA for all admin roles. |
```
**Options.** Each tool takes the spec as a positional path or `--workload-config`, `--format text|json`
(`--json` is an alias; the old `markdown`/`human` values still work) and `--output FILE`. The validator's
`--severity` hides findings below a level and `--bicep` takes files or globs.
## Exit codes
| Tool | 0 | 1 | 2 |
|------|---|---|---|
| `azure_waf_scorer.py` | no failed critical check, at least half of the 50 checks declared | a failed critical check, or fewer than half declared | missing/unreadable file, not a YAML mapping, no known spec section, or none of the checked fields declared |
| `azure_architecture_validator.py` | no critical finding | at least one critical finding | unreadable spec, no known spec section, Bicep path matches nothing or is not Bicep |
| `azure_cost_estimator.py` | fully priced, nothing to optimise | optimisation found, or a service could not be priced (listed under NOT PRICED) | unreadable spec, or nothing in it can be priced |
A field the spec leaves out is reported as undeclared or missing. It is never filled with a default
and never counted as a pass.
**Done when:**
1. Every critical WAF check passes or has a written exception with an owner.
2. The validator exits 0 on the spec and on every Bicep file you deploy.
3. The cost estimate was checked against the Azure Pricing Calculator before anyone quotes it.
4. Each `true` in the spec is backed by evidence (a dashboard, a runbook, a restore-test date).
## Anti-Patterns
### Scoring the spec instead of the system
**Mistake:** Marking `backup_tested: true` or `mfa_enforced: true` because the team believes it, then reporting a 90/100 WAF score.
**Why it happens:** The spec is a checklist, and ticking boxes is faster than checking them.
**Instead:** Set a field to `true` only with evidence. The scorer never calls Azure, so its score is exactly as honest as the YAML.
### Quoting the estimator as a budget
**Mistake:** Putting the estimator's total into a budget or a customer quote.
**Why it happens:** It prints a precise-looking dollar figure.
**Instead:** Use it to compare designs and spot the big lines. Its table holds approximate early-2026 list prices without reservations; price the final design in the Azure Pricing Calculator.
### Public PaaS endpoints "for now"
**Mistake:** Shipping storage, SQL or Cosmos with public network access and shared keys, planning to lock it down later.
**Why it happens:** Private Endpoints and Managed Identity take extra setup on day one.
**Instead:** Start private with Managed Identity. The validator flags `publicNetworkAccess: 'Enabled'`, `allowBlobPublicAccess: true` and `allowSharedKeyAccess: true` in Bicep.
## Files
- `scripts/azure_waf_scorer.py`, `scripts/azure_architecture_validator.py`, `scripts/azure_cost_estimator.py` — the three CLIs above.
- `assets/sample_workload.yaml` (sound tier-1), `assets/sample_workload_flawed.yaml` (gaps everywhere), `assets/sample_sound.bicep` (clean), `assets/sample_flawed.bicep` (five Bicep findings), `assets/malformed_workload.yaml` and `assets/malformed.bicep` (exit 2), `assets/contract.json` (the runs the checker replays).
- `references/workload-spec.md` — every spec field and which tool reads it; other references listed below.
## Scope & Limitations
**In Scope:**
- Azure service selection through decision trees for compute, data stores, networking and identity
- Well-Architected Framework scoring with `azure_waf_scorer.py`: five pillars, ten checks each, read from a YAML workload spec
- Anti-pattern checks with `azure_architecture_validator.py` on a YAML workload spec or Bicep files: public endpoints, shared keys instead of Managed Identity, single-AZ tier-1, wide RBAC scopes, missing diagnostics and locks, and credentials in parameters
- Rough monthly cost estimates with `azure_cost_estimator.py` from a YAML workload spec, with prioritized optimization suggestions
**Out of Scope:**
- Cross-cloud patterns and the AWS and GCP equivalents (see `engineering/senior-cloud-architect/`, `engineering/aws-solution-architect/` and `engineering/gcp-cloud-architect/`)
- Writing or reviewing Terraform modules (see `engineering/terraform-patterns/`)
- Security posture audits of an exported cloud inventory and IAM (see `engineering/cloud-security/`)
- Kubernetes operator design for AKS workloads (see `engineering/kubernetes-operator/`)
- Compliance evidence and control mapping (see `ra-qm-team/soc2-compliance-expert/` and `ra-qm-team/information-security-manager-iso27001/`)
**Important Caveats:**
- The scripts never call Azure. They read files the user provides, and the WAF score reflects what the YAML spec declares, not what is deployed.
- The validator scans Bicep text with six pattern rules (public network access, anonymous blob access, shared keys, TLS below 1.2, HTTP allowed, short inline passwords); its rules do not match ARM JSON syntax, so ARM templates pass without findings. It does not compile templates or resolve modules and parameters, and it does not read Terraform.
- Cost figures come from a built-in table of approximate list prices from early 2026 (a heuristic table, not read from Microsoft's live price list), with no reservation or savings-plan discounts. They are for relative comparison, not a quote; check the Azure Pricing Calculator before budgeting.
- Service tiers, SLAs, limits and prices in the references change often and should be confirmed against current Azure documentation.
## Reference Documentation
Load the reference that matches the task — keep this file lean and pull detail on demand:
- **[references/workload-spec.md](references/workload-spec.md)** — the YAML fields the three scripts read. Read before writing a spec.
- **[references/azure-decision-trees.md](references/azure-decision-trees.md)** — full compute, data store, networking, and identity decision trees with building-block, gateway, and RBAC tables. Read when selecting services or designing topology.
- **[references/azure-workflows-and-antipatterns.md](references/azure-workflows-and-antipatterns.md)** — the five WAF pillars, cost levers and anti-patterns, the design/review/migrate workflows, Azure-specific anti-patterns, and tooling outputs. Read when running a design or review.
- **[references/azure-services-reference.md](references/azure-services-reference.md)** — per-service depth: tiers, SLAs, limits, when to upgrade. Read when choosing a specific SKU or tier.
- **[references/azure-well-architected.md](references/azure-well-architected.md)** — 5-pillar WAF assessment with the 10-question checklist per pillar, common findings, and remediations. Read during a WAF review.
- **[references/azure-cost-optimization.md](references/azure-cost-optimization.md)** — full cost lever catalog, anti-patterns, and detection heuristics. Read when optimizing spend.
## Related skills
- `engineering/senior-cloud-architect` — generic multi-cloud architecture patterns
- `engineering/aws-solution-architect` — AWS counterpart
- `engineering/gcp-cloud-architect` — GCP counterpart
- `engineering/kubernetes-operator` — for AKS operator-pattern workloads
- `ra-qm-team/information-security-manager-iso27001` — for compliance-mapped controls (Azure has built-in Defender / Compliance Manager)
- `ra-qm-team/soc2-compliance-expert` — Azure-specific SOC 2 evidence collection