clouder vm
Manage virtual machines across cloud providers. Automatically dispatches to the correct cloud based on your current context (Azure or OVH).
Commands
clouder vm create
Create a virtual machine with interactive prompts.
clouder vm create <name> [OPTIONS]
| Argument | Description |
|---|---|
name (required) | Name for the virtual machine |
| Option | Short | Description |
|---|---|---|
--region | -r | Region to create the VM in |
--resource-group | -g | Resource group (Azure only) |
--vm-size | VM size (Azure only, e.g. Standard_B2s) | |
--admin-user | Admin username (Azure only, default: azureuser) | |
--image | Image: Ubuntu2204, Ubuntu2404, Debian12 (Azure only) |
Azure interactive flow:
- Resource group — pick an existing one or create new. Selecting an existing RG auto-uses its region.
- Region — only prompted if creating a new resource group.
- VM size — pick from common sizes or type a custom one.
- SSH key — pick an existing key from
~/.ssh/or generate a new ed25519 key pair. - Confirmation — review and confirm before creating.
The VM is created with a VNet, subnet, NSG (with SSH port 22 open), public IP, and NIC.
Example:
clouder vm create my-vm
clouder vm create my-vm -r westeurope -g my-rg --vm-size Standard_B4ms
clouder vm ls
List virtual machines in the current context.
clouder vm ls
- Azure: Shows Name, Location, VM Size, State, OS, Resource Group.
- OVH: Shows ID, Name, Flavor ID, Region, Status.
clouder vm delete
Delete a virtual machine by name.
clouder vm delete <name> [OPTIONS]
| Argument | Description |
|---|---|
name (required) | Name of the VM to delete |
| Option | Short | Description |
|---|---|---|
--force | -f | Skip confirmation prompt |
Example:
clouder vm delete my-vm
clouder vm delete my-vm --force
Example Workflow
# Set your context
clouder ctx set azure <subscription-id>
# Create a VM (interactive)
clouder vm create my-server
# List VMs
clouder vm ls
# SSH into the VM
clouder ssh connect my-server
# Delete when done
clouder vm delete my-server