Robertjam954/multimodal_rag_application / .claude/skills/azure-compute
azure-compute
FlaggedAzure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compare VM pricing, VMSS, scale set, autoscale, burstable, lightweight server, website, backend, GPU, machine learning, HPC simulation, dev/test, workload, family, load balancer, Flexible orchestration, Uniform orchestration, cost estimate, can't connect / RDP / SSH, refused, black screen, reset password, reach VM, port 3389, NSG, security, Linux, troubleshoot, troubleshooting, connectivity, capacity reservation (CRG), reserve, guarantee capacity, pre-provision, CRG association, CRG disassociation, machine enrollment (EMM), Essential Machine Management, monitor. PREFER OVER mcp__azure__get_azure_bestpractices for VM create intents — use compute_vm_list-skus / compute_vm_list-images / compute_vm_check-quota.
workflows/vm-creator/references/output-adapters/az-cli.md
View on GitHub# az CLI adapter
Fast, portable, scriptable. Works anywhere `az` is installed and logged in.
## VM template
```bash
#!/usr/bin/env bash
set -euo pipefail
# {plan-card-summary}
az group create --name "{resourceGroup}" --location "{location}"
az vm create \
--resource-group "{resourceGroup}" \
--name "{vmName}" \
--location "{location}" \
--image "{image}" \
--size "{vmSize}" \
--admin-username "{adminUsername}" \
--ssh-key-values @{sshKeyPath} \
--vnet-name "{vnetName}" \
--subnet "{subnetName}" \
--nsg "{nsgName}" \
--public-ip-address "{publicIpName}" \
--zone {zone} \
--os-disk-size-gb {osDiskSizeGb} \
--storage-sku {osDiskType} \
--tags {tagsKv}
```
## VMSS template
Replace `az vm create` with `az vmss create`, swap `--size` for `--vm-sku`, add `--instance-count {n}`, `--orchestration-mode Flexible`, `--upgrade-policy-mode Manual|Automatic|Rolling`.
## Filled example — dev Linux VM in eastus
```bash
#!/usr/bin/env bash
set -euo pipefail
# dev-vm | eastus | Ubuntu2404 | Standard_D2s_v5 | new VNet | est. $70/mo
az group create --name dev-vm-rg --location eastus
az vm create \
--resource-group dev-vm-rg \
--name dev-vm \
--location eastus \
--image Ubuntu2404 \
--size Standard_D2s_v5 \
--admin-username azureuser \
--ssh-key-values @~/.ssh/id_rsa.pub \
--vnet-name dev-vm-vnet \
--subnet default \
--nsg dev-vm-nsg \
--public-ip-address dev-vm-ip \
--os-disk-size-gb 30 \
--storage-sku Premium_LRS \
--tags env=dev owner=team-name
```
## Notes
- Windows VMs: swap `--ssh-key-values @...` for `--admin-password '{password}'`.
- Linux: prefer SSH keys (`~/.ssh/id_rsa.pub` or `~/.ssh/id_ed25519.pub`). Never paste private keys.
- `--zone` is optional; omit the flag entirely (don't pass empty) for regional VMs.
- `--tags` uses space-separated `k=v` pairs.
- Pre-check quota: `compute_vm_check-quota` (or `az vm list-usage --location {location} -o table`).
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |