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-adaptersterraform.md

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

Terraform adapter

Multi-cloud, existing TF state, organization standardized on Terraform.

Templates

Emit three code files to examples/terraform/:

  • main.tf — provider, RG, VNet, subnet, NSG (SSH allow), public IP, NIC, Linux VM
  • variables.tf — typed input variables with defaults
  • outputs.tf — vm_id, public_ip

Always emit examples/terraform/README.md (Plan Card, prereqs, quickstart, variables table, outputs, cleanup). When the user requests a PR (Mode C), the same README becomes the PR body.

Deploy

terraform init
terraform plan  -var "vm_name={vmName}" -var "admin_public_key=$(cat ~/.ssh/id_rsa.pub)" \
                -var "subscription_id=$AZ_SUB" -var "resource_group_name={resourceGroup}"
terraform apply -var "vm_name={vmName}" -var "admin_public_key=$(cat ~/.ssh/id_rsa.pub)" \
                -var "subscription_id=$AZ_SUB" -var "resource_group_name={resourceGroup}"

VMSS

Replace azurerm_linux_virtual_machine with azurerm_linux_virtual_machine_scale_set (or Windows variants). Add instances, upgrade_mode = "Manual" | "Automatic" | "Rolling". NIC moves inline inside the scale set resource via network_interface { ip_configuration { ... } }.

Notes

  • Provider version pinned to ~> 4.0 — bump deliberately, not implicitly.
  • admin_public_key is sensitive = true; don't print it.
  • zone is "" by default (regional); to pin, pass "1", "2", or "3".
  • Pre-check quota with compute_vm_check-quota before terraform apply.

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