Beginner / fast-path
Goal: get to a working Plan Card in ≤ 2 questions, then show defaults and let the user edit.
| # | Question | Default if skipped |
|---|---|---|
| 1 | "What region? I can recommend if you're not sure." | eastus |
| 2 | "Linux or Windows? Default is Ubuntu 24.04." | Ubuntu2404 (Linux) |
Silent defaults (show in Plan Card, don't ask)
- Size:
Standard_D2s_v5(2 vCPU / 8 GB) - Auth: SSH key from
~/.ssh/id_rsa.pub(Linux) — read the file; ask only if missing - VNet: create new
<vm-name>-vnetwith10.0.0.0/16 - Subnet:
defaultwith10.0.0.0/24 - NSG: create new, allow SSH 22 (Linux) or RDP 3389 (Windows) from the user's current public IP (detect via
curl -s ifconfig.meor equivalent) — only fall back to*if detection fails, and always flag the chosen source in the Plan Card with a ⚠ so the user can edit before apply - Public IP: Standard SKU, dynamic
- OS disk: 30 GB Premium SSD
- Zone: none (regional)
If the user is in a region you haven't validated, call compute_vm_list-skus to confirm Standard_D2s_v5 is available there before locking it in. If not, fall back to whatever the recommender suggests.