Skip to content

Instances and Resource Delivery

The primary delivery object in PayIncus is an Incus-backed LXC / KVM instance. The user portal handles customer self-service, while the admin console handles global operations and troubleshooting.

Delivery Flow

  1. The user selects a plan, image and host.
  2. The backend validates balance, plan limits, host capacity and quotas.
  3. The system creates order and billing records.
  4. The backend calls Incus or the host Agent to create the instance.
  5. Success syncs state, network information, limits and billing status.
  6. Failure triggers compensation so the user is not charged for an undelivered resource.

User Features

FeatureDescription
Create instanceCreate LXC / KVM instances from plans, images and hosts.
Instance listView status, resources, expiry and actions.
Instance detailView CPU, memory, disk, network, IPv6, mappings and runtime status.
Lifecycle actionsStart, stop, reboot and delete.
Web terminalConnect through /api/ws.
Snapshots and backupsUse snapshot or backup features when configured.
TrafficView usage, reset state and limit notifications.

Admin Features

  • View and manage all customer instances.
  • Create instances manually for delivery correction or migration.
  • Manage hosts, images, initialization commands and storage settings.
  • Troubleshoot failed delivery through logs, Agent reports and task state.

Backend Modules

  • instances, instance-billing, instance-destroy.
  • terminal, snapshots, backups, traffic.
  • agent for host heartbeat, resource reporting and instance state reporting.

Risks

  • Failed creation must compensate billing state.
  • Deletion must clean Incus resources and local records.
  • Terminal WebSocket must verify identity and instance ownership.
  • Admin operations must be audited.
  • Stale Agent state can affect capacity decisions.

PayIncus documentation