/engsys-azure:cloud-architecture-azurefrom engsys-azure
Azure service-level architecture knowledge — compute (Container Apps/AKS/Functions), data (PostgreSQL Flexible Server/Cosmos DB), messaging (Service Bus/Event Grid/Event Hubs), edge (Front Door/API Management), identity (Entra), storage + secrets (Blob/Key Vault/ACR), and Azure OpenAI. Cost models, service limits, failure modes, and cold-start gotchas. Activate when the active cloud is Azure and the work involves designing, scaling, costing, or diagnosing Azure architecture (Container Apps cold starts, PostgreSQL connection limits, Service Bus quotas, Front Door, NAT egress).
Ships in engsys-azure. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Service-level detail for an Azure-backed project. Pairs with Melvin's cloud-agnostic
diagnostic checklist (traffic pattern, state location, SLAs, blast radius, cost
explosion, coordination, limits, observability) — this pack supplies the Azure-specific
answers. For concrete topology, cost tiers, and stack context, read the architecture
docs named in CLAUDE.md. For deep service docs use the microsoft-docs skill
(Microsoft Learn MCP).
minReplicas >= 1 (a warm replica) — the ACA analogue of
provisioned concurrency.B-series — dev/cheap, throttled baseline CPU, no PgBouncer) →
GeneralPurpose (D-series) → MemoryOptimized (E-series). HA = zone-redundant standby
(failover drops connections — apps must reconnect/retry). Read replicas scale reads.active_connections, not connection_percent (that's Azure SQL) —
matters for alerts (see IaC lessons).getSecret() — keep secrets out of templates and env files. Name is
globally unique and soft-deleted on delete (purge protection can block name
reuse) — see IaC lessons. RBAC or access-policy authorization model; managed identity
for access.retentionPolicy requires Premium (remove it
from Standard dev/staging). Use managed identity / ACR tokens for pulls.Defaults to verify on any Azure review (pairs with Nyx's threat model):
internal unless the app is the public entry
point; identities scoped to least-privilege role assignments (no subscription-wide
Contributor).Levers: Reservations / Savings Plans (steady baseline), Spot VMs (fault-tolerant batch), right-sizing from Azure Monitor, Private Endpoints, Blob lifecycle tiering, Cost Management budgets + alerts.
Container Apps replicas per app/environment, Functions scale limits, Service Bus per-
namespace throughput (Standard) + entity counts, PostgreSQL max_connections per tier,
Cosmos RU/s per partition, Front Door routes, APIM throughput per tier, Azure OpenAI
TPM/PTU per region, Key Vault transactions/sec, subscription-level vCPU quotas per
region/family. Raise soft quotas via support with lead time.
Azure Monitor (metrics + alerts), Log Analytics workspace (the store the
AppRequests/ContainerAppConsoleLogs tables live in — KQL queries scope to the
workspace, not App Insights), Application Insights (APM/distributed tracing). Alarm on
Container Apps replica count + restarts, Service Bus DLQ depth + active message count,
PostgreSQL active_connections + CPU, Cosmos 429 rate + RU consumption, Front Door
backend health.
Symptom: You need Private Endpoints (e.g. a private DB path) but the Container Apps environment was created without VNet integration; there's no in-place toggle. Cause: A VNet-integrated ACA environment routes egress through the VNet — that's a creation-time property of the environment, not a setting you can flip later. Fix: Create the environment VNet-integrated from the start whenever Private Endpoints/Link are on the roadmap (do it while the resource group is still empty). Retrofitting means tearing down and recreating the environment.
Symptom: A "green" deploy reports success but the running app is still the old
build — the new code never actually took traffic.
Cause: A mutable image tag (:latest) can resolve to a stale layer, or a config
change that produces no new revision leaves the prior revision active.
Fix: Deploy by immutable image digest with a unique revision suffix, then
verify the active revision after deploy (revision list + traffic split). Treat
the post-deploy revision check as part of the deploy, not an afterthought.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub eric-sabe/engsys --plugin engsys-azure4 skills in this plugin
/azure-deployment-preflightPreflight validation for Azure infrastructure deployments (Bicep/ARM). Run before any az deployment / azd up. Validates templates (bicep build, az deployment group validate / what-if), cleans up stale failed ARM deployments that block re-deploy, catches globally-unique naming conflicts (Key Vault/ACR/etc.), and checks SKU/tier and service-limit restrictions. Carries the hard-won Bicep lessons (PgBouncer Burstable limit, alert module location, KQL interpolation, ACR SKU). Activate when the active cloud is Azure and the user mentions deploying, validating Bicep, what-if, preview, az deployment, azd provision, or deploy failures./azure-resource-visualizerAnalyze Azure resource groups and generate detailed Mermaid architecture diagrams showing the relationships between individual resources. Use this skill when the user asks for a diagram of their Azure resources or help in understanding how the resources relate to each other./microsoft-docsQuery official Microsoft documentation (Azure service limits, SKU/tier behavior, CLI/API reference, Bicep resource schemas, .NET, Entra, Microsoft Graph) via the Microsoft Learn MCP server, with Context7 for Microsoft-ecosystem docs that live outside learn.microsoft.com (VS Code, GitHub, Aspire). Use whenever an Azure answer depends on a quota, SKU capability, API version, or property name — verify against docs instead of answering from memory.Other plugins' skills for the same job