Skip to content
AnchrasDocumentation
Browse documentation

Compute / User guide

Virtual machines

Create and manage guest virtual machines on your connected hypervisors.

On this page

Before you begin

Use an online hypervisor with a supported guest runtime, an eligible storage target, and enough unreserved capacity. Prepare an image and network configuration offered by that provider.

Get started

  1. Open the virtual machine creation flow and choose the target instance.
  2. Select an available image and sizing profile, or provide the explicit resources supported by the form.
  3. Review disk, networking, and SSH access settings before creating the VM.
  4. Wait for creation to complete and verify the guest is reachable through its configured private network.

Operate the service

Inspect VM state and runtime errors before power changes. Use supported console or SSH access for guest diagnosis. Review attached disks and retained data before deletion. Guest lifecycle operations are separate from the parent hypervisor lifecycle.

Availability and limits

Proxmox has a verified guest lifecycle. Node OS capabilities depend on the reported runtime and storage inventory. Local storage does not imply live migration, replicated storage, or multi-node high availability. Cloud VMs use the canonical instance provisioning path.

Troubleshooting

If a guest is created but unreachable, verify its network, IP assignment, SSH credentials, and image initialization. If placement fails, check resource reservations and supported image/storage combinations.

Next steps

Use the CLI guide to automate repeatable work, or the API guide to integrate Anchras with your own tools.

CLI commands

Install and authenticate using the CLI guide. The table describes command families; required arguments are shown in their usage output.

CommandPurpose
iaas listList VM inventory from registered Proxmox, Hyper-V, and XCP-ng hypervisor-capable instances with --host (instance id), --status, --search, --project (a VM is in its host instance's project), and structured output.
iaas templates / templates registerList built-in and org-scoped VM image templates (the IMAGE CHECK column shows the pinned SHA-256 or unverified), or register an image URL for future VM creates. --image-sha256 <64 hex> pins the digest the agent verifies the download against; without it the template is unverified and iaas create warns.
iaas profiles / profiles registerList built-in and org-scoped sizing profiles, or register CPU/memory/disk/storage-pool hints.
iaas createQueue a Proxmox image-backed VM create command. Requires --host (instance id), --name, --vmid; supports --image and --size. --join-pool also enrols the VM as a pool node: its cloud-init installs the agent with a registration token scoped to an instance created for the VM, and the command prints that pool_instance_id and the token's install_valid_until (3 hours) beside command_id. The instance waits in agent-pending until the agent registers; its 30-minute registration window opens when the create completes, and a failed create puts it in error. Needs instance.create in the host's project, a Proxmox host placed in a site, an Ubuntu or Debian image and the server's KMS. iaas destroy on such a VM terminates the instance first; instances terminate takes the VM out of the pool and leaves it running.
iaas start / stop / reboot / destroyQueue VM lifecycle commands by --host (instance id) and --vmid for supported registered hypervisors.
iaas updateChange a Proxmox guest's --cores, --memory (whole MiB, e.g. 64G), --cpulimit (host CPUs, up to two decimals; 0 removes the limit) or --cpuunits (CPU weight, 1..262144) by --host and --vmid (IaasService/UpdateVM). Only the flags given change. It waits for the host agent and prints applied, pending and reboot_required: a change Proxmox left pending, such as cores or memory on a running VM without hotplug, applies at the next iaas reboot (a reboot from inside the guest is not enough). Needs iaas.update and a host agent that reports the vm_update capability. iaas get shows the CPU limit and weight.
iaas attach-disk / detach-disk / resize-disk / snapshotQueue VM disk and snapshot operations with provider-specific capability errors surfaced from the agent. resize-disk --grow-filesystem also grows the guest filesystem after the block resize, through the QEMU guest agent: it finds the guest disk of the new size, runs growpart on the partition that ends the disk, then resize2fs (ext2/3/4) or xfs_growfs (xfs, mounted). It needs a running Proxmox QEMU VM with the guest agent and growpart installed, and a host agent that reports guest_filesystem_grow. LVM, btrfs and two disks of the same size are refused. When growing fails, iaas commands get <command_id> shows a failed command whose error says the disk was resized all the same.
iaas commands get <command_id>One VM command (IaasService/GetCommand), such as the command_id iaas create, start, stop or a disk verb prints: its type, status (pending, running, completed or failed) and timestamps as key=value lines, or -o json\|yaml. A completed vm_create adds the vmid the agent created the guest under, for iaas get --host <instance_id> --vmid <vmid>; the rest of the agent's result, such as the guest's IP address, is not returned. A failed command adds a fixed reason_code (agent_failed, not_picked_up, timed_out or abandoned) and an error: a fixed summary, followed for agent_failed by the first line of the agent's own answer (at most 1 KB). The exit status is 0 for a failed command too; read status. Needs iaas.read; a command that is not one of your organization's VM commands is not found.
iaas console / iaas sshReturn audited access paths for VM console and SSH. iaas ssh queues agent-side SSH today; browser SSH sessions are issued by IaasService/OpenSSHSession for the dashboard.

API reference

Browse procedures, request and response types, and download the complete OpenAPI contract.