All skills
microsoft avatar

/azure-compute

@b3c238e
by microsoftmicrosoft/skills3.1k stars
351

Azure 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, 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.

Use this Skill: https://skilld.dev/gh/microsoft/skills/azure-compute

This session only. Nothing lands on disk.

workflowsvm-creatorreferencesoutput-adaptersaz-cli.md

≈487 tokens on demand. Your agent reads this file only when SKILL.md points to it.

az CLI adapter

Fast, portable, scriptable. Works anywhere az is installed and logged in.

VM template

#!/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

#!/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).

Source: SKILL.md on GitHub

1 warning15d3 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    This skill provides a comprehensive and secure workflow for provisioning Azure Virtual Machines and Scale Sets. It follows security best practices by recommending SSH keys over passwords, restricting network access to the user's public IP, and ensuring secrets are handled as parameters rather than hardcoded values.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: MEDIUM · 1 issue

Signed by skilld at b3c238e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
metadata
{
  "author": "Microsoft",
  "version": "2.5.1"
}

README badge

README badge for microsoft/skills/azure-compute