aleph-vm
aleph-vm copied to clipboard
CRN API for VM administration
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)
Related to https://github.com/aleph-im/aleph-vm/issues/106
Related to #382