aleph-vm icon indicating copy to clipboard operation
aleph-vm copied to clipboard

CRN API for VM administration

Open hoh opened this issue 2 years ago • 2 comments

As a user of the aleph.im network and creator of a virtual machine, I can administer my virtual machine from an HTTP API provided by the VM supervisor on Compute Resource Nodes.

I must be able to perform the following operations:

  • [ ] reboot a VM that appears to be unresponsive
  • [ ] shutdown a VM while keeping it planned and paying for it (ex: emergency shutdown)
  • [ ] reset a VM: delete all persistent data and reboot
  • [ ] read the logs of a VM
  • [ ] stream the logs of a VM live
  • [ ] view metrics of the VM
  • [ ] view the specifications and IP addresses of the VM
  • [ ] view a list of snapshots of the VM

Features not considered in this ussue:

  • login the VM via a remote console in the browser
  • recovery console boots another OS with the partition mounted
  • reset the SSH keys of the VM (should use a new message)
  • resize the volumes (should use a new message)

hoh avatar May 30 '23 14:05 hoh

Related to https://github.com/aleph-im/aleph-vm/issues/106

hoh avatar May 31 '23 08:05 hoh

Related to #382

hoh avatar Sep 25 '23 08:09 hoh