Skip to main content

Virtual machines

Version
since 1.x, describes 2.52.14
Feature flag
none
For
Workspace user

A virtual machine is an instance ordered from the catalogue: a region, a product (GPU, vCPU, RAM and disk), an operating system image, a hostname and an SSH key. Ordering it creates an instance record and a provisioning job in the region; once the machine is reachable you connect over SSH, and you pay an hourly price from that moment until you terminate it. This page also holds the lifecycle, action and charging rules shared with bare-metal servers.

What it does​

  • Lists the products available in a region with their specification and hourly price, and lets a workspace member order 1 to 10 identical machines in one order.
  • Provisions each machine in the chosen region with the chosen image and your SSH key, assigns a public IP address and reports the result on the instance card, on the instance page and by e-mail.
  • Shows each instance's state, hardware, network details and an activity log of every provisioning, reboot and termination request.
  • Offers two actions on a running instance, Reboot and Terminate, and lets you group instances into projects.
  • Charges the workspace balance for every started hour between the end of provisioning and termination, and terminates the workspace's instances when the balance or the monthly limit cannot cover the next hour. Both happen only while billing is switched on; see Charging.
  • Checks each order against the workspace's resource quota when that capability is switched on, and records the GPU, CPU and RAM shape of every instance at order time for quota accounting (Quotas and capacity).
  • Takes block volumes from a project's storage as extra disks when project storage is switched on (Project storage).

Where it is​

SurfacePath
Web app, listVirtual Machines in the workspace sidebar: one card per instance with status, project tag, action menu and hardware summary; sort and filter by status
Web app, orderVirtual Machines, then Create Virtual Machine (page title Create Virtual Machine Instance). Also Services, then Create on the Virtual Instances card, and Create new instance on the dashboard
Web app, one instanceView details in the instance's action menu: hardware, server, system and network details and the Activities table
Web app, block volumesa project's Storage tab, when project storage is switched on. Volumes are attached to and detached from a machine there, not on the instance page (Project storage)
API, list and manageGET .../instances/virtual, GET .../instances/active, GET .../instances/{workspace_instance_id}, GET .../instances/{workspace_instance_id}/logs, PUT .../instances/{workspace_instance_id}/reset, DELETE .../instances/{workspace_instance_id}/terminate, all under /api/v1/workspaces/{workspace_id}; see Workspace Instances routes
API, catalogueGET /api/v1/assets/virtual-instances/products (Workspace Assets routes) and GET /api/v1/assets/virtual-instances/images (Assets routes)
API, orderingnone. The public API has no route that places an order; orders are placed in the web app
CLInone in this release

Viewing instances, ordering, rebooting and terminating are separate rights of a workspace role; see Permissions. API tokens always carry view-instances; rebooting needs manage-instances and terminating needs destroy-instances (Access tokens).

How to launch a virtual machine​

The order form is one page. Each section appears when the one above it is filled in, and changing the region clears everything below it.

  1. Open Virtual Machines and press Create Virtual Machine.
  2. Choose Your Preferred Region: pick a country card, then a region inside it.
  3. Select a Solution: pick a product. Each card lists the specification (number of GPUs, vCPU, storage in GB, RAM in MB) and Price per hour. If the region has no products, the page says so and asks you to pick another region. The GPU models behind the products are on GPU types. When product announcements are switched on, a Coming soon strip can appear below the product cards once a region is chosen; its cards are previews of what is arriving in that region and cannot be ordered (Product announcements).
  4. Choose an Image: images are grouped by operating-system family; pick a version in the dropdown of a family card. The images on offer depend on the region and the product.
  5. Choose the Number of Instances (1 to 10) and a Hostname for each. Hostnames are pre-filled with the GPU type and a random suffix; each must be 3 to 255 characters and no two in the order may be the same.
  6. Authentication: pick the SSH key to install. The workspace's default key is pre-selected. Add a new SSH key adds one without leaving the form; Manage all SSH keys opens Workspace settings, then Credentials. All machines of one order get the same key. See SSH keys.
  7. Press Create instance. When billing is switched on and the workspace has no billing information, the button reads Add billing info instead, and when the balance is zero it reads Deposit balance; complete that step first (Billing). With billing switched off the button always reads Create instance and no balance is needed (Billing on a licensed deployment).
  8. Check the Order information dialog (workspace, service variant, region, product, Price breakdown as price per hour times quantity, operating system, quantity, specifications, credentials, hostnames) and press Confirm.
  9. The Purchase instance dialog reports the result. "Purchase completed. Your instance started provisioning." comes with a Manage Virtual Machines button. "Unable to purchase instance." comes with the reason from the table below: a quota reason is shown as a full sentence, every other reason as its code written out in capitalised words.

Checks before an order is accepted​

CheckReason shown when it fails
When billing is switched on: the workspace balance and its two billing limits allow the order; the rules are under How usage is charged and Limits on the Billing page. With billing switched off this check is skippedinsufficient_workspace_account_balance, billing_limit_instance_count_reached:<limit>, predicted_monthly_expenses_exceeded_set_limits:<limit>
When resource quotas are switched on: the order's GPUs, CPU cores, RAM and instance count, times the quantity, fit the workspace's quota frame and the levels above it (account, organisation, capacity pool). A workspace without a frame cannot order at all. The levels, the dimensions and how a product's RAM is converted are on Quotas and capacityquota_frame_missing, quota_exceeded_workspace, quota_exceeded_account, quota_exceeded_organization, quota_exceeded_pool_capacity
The region existsregion_handle: not_found
The SSH key belongs to the workspaceworkspace_credential_id: not_found
The product and the image exist for the regionvirtual_instances_product_id: not_found, virtual_instances_image_id: not_found
No hostname is already used in the workspace and regionhostname: non_unique:<names>
There is exactly one hostname per machine orderedhostname: required_not_maching_quantity

Lifecycle and states​

The state is computed from the instance record and its most recent action. The web app shows it in upper case on the card and the instance page; the list filters by it (Filter or refine table, then Status), and the API routes accept it in status.

StateMeaningCharged
pendingordered; no provisioning request recorded yetno
provisioning-pendingthe worker in the region is creating the machineno
provisioning-failedprovisioning failed or did not finish within the 30-minute command limit; the machine never startedno
running-okprovisioned and the last action succeededyes
running-warningprovisioned, but the last action (a reboot or a termination) failedyes
pending-reboota reboot is in progressyes
pending-terminatinga termination is in progressyes
terminatedterminated; terminatedAt is setno

The dashboard's Active Instances card and GET .../instances/active show the four charged states.

What happens during provisioning​

Confirming the order creates one instance record per hostname and one provisioning command per instance for the worker in the region. The worker creates the machine from the product's flavour and the chosen image, installs the selected SSH key and assigns a public IP address. When the worker reports back, the platform marks the instance as started (startedAt), the state becomes running-ok, and the member who ordered receives an e-mail saying whether provisioning succeeded or failed. A command that has not finished within 30 minutes is marked failed by a sweep that runs every 10 minutes; the instance then shows provisioning-failed and is not charged.

Actions​

Reboot and Terminate ask for confirmation. They are in the action menu of the instance card and as buttons on the instance page.

ActionAvailable whenWhat it doesAPI
Rebootstate is running-ok or running-warninga hard reboot through the virtualisation platform; state pending-reboot until the machine is back, then running-ok, or running-warning if the reboot failed. Refused with instance_already_pending_reboot while one is pendingPUT .../reset
Terminatestate is pending, running-ok or running-warningsee belowDELETE .../terminate
Assign project, Unassign projectinstance is not terminatedmoves the instance into or out of a project; when resource quotas are switched on, assigning is checked against the project's quota (quota_exceeded_project)POST .../projects/{project_id}/assign, POST .../projects/unassign
Attach, Detach (block volume)project storage is switched on; the instance belongs to the same workspace as the volume's project and is not terminated; the machine runs on Proxmox VE or OpenStack; the volume is availablefrom the project's Storage tab: adds the volume to the machine as an extra disk, or removes it; accepted at once and completed in the background. Format, mount and unmount the disk inside the machine yourself. Details and reason codes on Project storagePOST .../projects/{project_id}/storage/volumes/{id}/attach, POST .../storage/volumes/{id}/detach

Reboot and Terminate are refused with 400 instance_already_terminated on a terminated instance and instance_failed_provisioning on one whose provisioning failed.

There is no stop, pause or start action and no stopped state. A machine runs, and is charged, from the end of provisioning until it is terminated.

What termination does​

  • The state becomes pending-terminating. The worker deletes the machine on the virtualisation platform and releases its public IP address. When that is confirmed the state becomes terminated and terminatedAt is set; charging stops.
  • If the termination request fails, the state becomes running-warning, charging continues and the request is listed as Failed in Activities. Terminate again.
  • Nothing of the machine itself is kept. There is no snapshot, backup or restore, and a terminated instance cannot be started again. Copy any data you need off the machine's own disks before you terminate it.
  • When project storage is switched on, a project's shared filesystem and block volumes are project resources, not part of the machine. The termination request does not detach or delete them: a block volume that is still attached stays recorded as attached while the machine is deleted underneath it. Detach block volumes before you terminate. Once the instance is terminated, the attachment can no longer be detached (instance_not_found, because a terminated instance no longer counts) and the volume cannot be deleted while it is recorded as attached (volume_attached). See Project storage.
  • The instance stays in the list with state terminated and in its project, if it had one, until you unassign it.
  • The platform terminates instances itself when the workspace cannot pay for the next hour; see Charging.

Charging​

Everything in this section applies while billing is switched on, which is the default. A deployment whose operators have switched billing off makes no hourly charges, never terminates an instance for lack of balance, and hides the Billing menu; resource quotas, when switched on, are then the only limit on what can be ordered. See Billing on a licensed deployment.

  • Every instance carries an hourly price fixed at order time, shown as Price per hour on its page. The Price breakdown in the order dialog is the product's hourly price times the quantity ordered.
  • Charging starts when provisioning completes (startedAt) and ends at termination (terminatedAt). Each hour is charged at its start, the first one as soon as provisioning completes, so the hour in which you terminate has already been charged as a whole hour and is not refunded. The cadence of the charges and the order in which balances are used are on How usage is charged.
  • Hours spent in running-warning, pending-reboot and pending-terminating are charged like running hours. pending, provisioning-pending, provisioning-failed and terminated instances are not charged.
  • There is no stop or pause action and no stopped state, so there is no reduced price for an idle machine: an instance is either provisioned and charged, or terminated and free. The only way to stop the charges is to terminate.
  • When the workspace can no longer pay for the next hour, or the next charge would exceed its monthly cost limit, the platform terminates every instance in the workspace; the conditions are under When the balance runs out. The terminate request appears in each instance's Activities; in the API its createdBy.id is system rather than a member.

Balance, deposits, limits, billing history and invoices are on Billing.

Connecting over SSH​

Connect to the IP address or domain shown under Network details on the instance page (the card in the list shows them too) with the private key that matches the SSH key you selected when ordering. There is no browser console or serial console; SSH is the only way in. Keys are managed under Workspace settings, then Credentials; see SSH keys.

The instance page and its activity log​

SectionFields
SpecificationsName, vGPU, vCPU, RAM memory (MB), Disk Size (GB), Ephemeral Disk Size (GB)
Server detailsHostname, Product ID, Product name, Status, Region, Price per hour
System detailsOS Family (the image), Key name (the SSH key)
Network detailsIP address, Domain
Activitiesone row per request: Created by, Created at, Action (provision, reset, terminate), Status (Success, Failed, Pending); filter by status, sort by date

The Activities table is GET .../instances/{workspace_instance_id}/logs; its status filter takes success, fail or pending. The most recent row also decides the instance state, as described above.

On-demand and on-prem​

  • On-demand (web): the machines run on our capacity in the regions shown in the catalogue; we operate the virtualisation platform and the worker in each region, and the catalogue is ours.
  • Licensed on-prem: the same order, reboot and terminate flows run against the customer's own Proxmox VE or OpenStack, with regions, products and images set up by the customer's operators. See Supported platforms.

Numbers​

WhatValueWhere it is set
Machines per order1 to 10web app
Hostname3 to 255 characters; unique within the workspace and regionweb app and platform
SSH key per order1, installed on every machine of the orderplatform
Provisioning, reboot and termination requestsmust finish within 30 minutes; expired requests are marked failed by a sweep every 10 minutesplatform
Hourly charging, instance count limit, monthly cost limiton Billing; none while billing is switched offworkspace
Resource quota (GPUs, CPU cores, RAM, instances)on Quotas and capacity; checked only while resource quotas are switched onworkspace frame and the levels above it
Block volumessizes, statuses and attach rules on Project storage; only while project storage is switched onproject
Statesthe eight listed under Lifecycle and statesplatform

Limits and known behaviour​

  • There is no stop, start or pause. The hint text on the Virtual Machines page mentions starting and stopping instances and says charges apply only while Running or Rebooting; those actions do not exist in this release, and charging follows the rules above.
  • Orders are placed in the web app only. The public API lists, inspects, reboots and terminates instances but cannot order one.
  • While billing is switched on, ordering needs billing information and a non-zero balance on the workspace, and a balance large enough to cover the hourly price of everything running plus the order.
  • While resource quotas are switched on, a workspace without a quota frame cannot order anything (quota_frame_missing); a frame is given by the operators.
  • All machines in one order share the product, image and SSH key; only the hostnames differ.
  • An instance in provisioning-failed cannot be rebooted or terminated (400 instance_failed_provisioning). It stays in the list and is not charged.
  • A second reboot request while one is pending is refused (instance_already_pending_reboot).
  • Resizing a machine, taking snapshots and uploading your own images are not available. The only extra disk is a project block volume, and only when project storage is switched on; a volume is attached to one machine at a time and is not detached when that machine is terminated.
  • A workspace with instances that are not terminated cannot be deactivated (all_workspace_instances_must_be_terminated_before_deactivation); see Workspace.
  • Provisioning e-mails go to the member who placed the order only.

If an order fails, use the support chat in the web app or write to [email protected]. We answer on business days between 09:00 and 17:00 CET, within one business day. The Contact support button in the order result dialog is disabled in this release.