Operational Guides
Operator-first runbooks, quick triage commands, deployment and rollback procedures, observability playbooks, disaster recovery, and SecOps rotation guides for BookWorm.
Use this hub during live incidents, production deployments, disaster recovery drills, and security rotations. Every runbook leads with copy-pasteable CLI commands using consistent environment placeholders (<SUBSCRIPTION_ID>, <RESOURCE_GROUP>, <APP_NAME>, <ENV>).
Quick Triage Cheat Sheet
Run these emergency commands first when responding to an alert or outage:
# 1. Verify Azure context and target subscriptionaz account show --query "{Subscription:name, Id:id, Tenant:tenantId}" -o tableaz account set --subscription "<SUBSCRIPTION_ID>"
# 2. Check health of all Container Appsaz containerapp list --resource-group "<RESOURCE_GROUP>" \ --query "[].{Name:name, Status:properties.runningStatus, External:properties.configuration.ingress.external}" -o table
# 3. Tail live console logs for a failing serviceaz containerapp logs show --name "<APP_NAME>" --resource-group "<RESOURCE_GROUP>" --type console --follow
# 4. List active and inactive revisions for a serviceaz containerapp revision list --name "<APP_NAME>" --resource-group "<RESOURCE_GROUP>" \ --query "[].{Revision:name, Active:properties.active, Health:properties.healthState, Traffic:properties.trafficWeight}" -o table
# 5. Instant rollback to a known-good revision (multiple-revision mode)az containerapp ingress traffic set --name "<APP_NAME>" --resource-group "<RESOURCE_GROUP>" \ --revision-weight "<PREVIOUS_REVISION>=100"
# 6. Restart a stalled active revisionaz containerapp revision restart --name "<APP_NAME>" --resource-group "<RESOURCE_GROUP>" --revision "<REVISION_NAME>"Runbook Directory
Incident Triage & Health Check
First-5-minutes commands, container status, live log tail, dead-letter inspection, and symptom playbooks.
Observability & Alert Response
Aspire Dashboard traces, Log Analytics KQL queries, saturation checks, and common alert playbooks.
Deployment & Rollback
Environment provisioning, CI/CD release promotion, revision traffic shifting, and instant rollback.
Backup, Restore & DR
PostgreSQL point-in-time restore, Cosmos DB failover, Blob recovery, and vector index rebuild.
By Operational Domain
| Guide | Primary Role | When to Use |
|---|---|---|
| Incident Triage & Health Check RunbookCustom DocIncident Triage & Health Check RunbookFirst-5-minutes triage commands and symptom-first recovery playbooks for Container Apps, passwordless RBAC, order orches...Ownerplatform-engineering-teamOpen doc | SRE / Incident | During an active outage, 5xx spike, stalled checkout, search lag, or AI/PII degradation |
| Observability & Alert ResponseCustom DocObservability & Alert ResponseOperator playbook for inspecting live Aspire Dashboard telemetry, running Log Analytics KQL queries, checking resource s...Ownerplatform-engineering-teamOpen doc | SRE / Incident | When investigating alerts, tracing requests, checking saturation, or querying KQL logs |
| Backup, Restore & Disaster Recovery (DR)Custom DocBackup, Restore & Disaster Recovery (DR)Operator runbook for PostgreSQL point-in-time restore, Cosmos DB failover verification, Blob Storage recovery, and Qdran...Ownerplatform-engineering-teamOpen doc | SRE / Incident | During data corruption, accidental deletion, regional outage, or scheduled DR drills |
| Deployment & Rollback RunbookCustom DocDeployment & Rollback RunbookOperator runbook for deploying BookWorm releases, shifting Container App revision traffic, and executing instant rollbac...Ownerplatform-engineering-teamOpen doc | Cloud / DevOps | When deploying releases, promoting environments, shifting revision traffic, or rolling back |
| Scaling & Cost GuardrailsCustom DocScaling & Cost GuardrailsCloud/DevOps runbook for manual Container App replica overrides, concurrency and KEDA scaling limits, and pausing non-pr...Ownerplatform-engineering-teamOpen doc | Cloud / DevOps | During traffic spikes requiring manual scale overrides or when pausing non-prod spend |
| Production Hardening & Compliance ChecklistCustom DocProduction Hardening & Compliance ChecklistPre-production SecOps and reliability checklist for locking down network perimeters, scaling limits, backup drills, and ...Ownerplatform-engineering-teamOpen doc | SecOps | Before promoting an environment to Production or during periodic posture audits |
| Secrets, Certificates & SecOps RotationCustom DocSecrets, Certificates & SecOps RotationSecOps runbook for verifying Managed Identities, inspecting TLS certificates, revoking compromised credentials, rotating...Ownerplatform-engineering-teamOpen doc | SecOps | When rotating credentials, inspecting certificates, revoking compromised keys, or auditing access |