Y
Y
yogev_ezra2013-05-21 20:59:26
System administration
yogev_ezra, 2013-05-21 20:59:26

Is there (does anyone know) a technology for creating Virtual Machines "on demand"?

Good afternoon!

For the free (open-source) operating system KolibriOS ( www.kolibrios.org ) there is an auto-build on the server after each commit. This auto-build automatically creates IMG + ISO files that can be burned to a floppy disk / flash drive / CD, or run in a virtual machine. But we would also like to provide users with the ability to run this IMG / ISO file in a virtual machine directly through the browser.

Since it is not known how many people will want to try this IMAGE at any given moment, we would like to create a separate on-demand virtual machine for each person (that is, when the user clicks the "make a virtual machine" link), and when the user disconnects (or , say, inactivity above 30 minutes), this virtual machine was "killed". In other words, so that each user has his own virtual machine, independent of other users, and it works from a browser (that is, so that users do not need to install a virtual machine on their computer).

I have been looking for an answer to this question for a long time, but a Google search all the time does not give me what I want. Maybe because what I want doesn't exist at all, and maybe because what I want has a different name and that's why I can't find it. If I'm looking forVirtual Machine on Demand ", then it gives out all sorts of cloud hosting sites, where I can create another virtual machine for myself with them, but with their operating system, of course. If I look for " Virtual Machine in Browser ", then I find such virtual machines that I can run directly from the browser, but not a word about “on-demand.” I would be very happy if someone knows / heard / used a similar solution.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
N
Nikolai Turnaviotov, 2013-05-21
@foxmuldercp

Well, write scripts for ESXi/xen/kvm/vcenter/hyper-v, and you will be happy. Only the activity of the virtual machine will need to be tracked in a different way, but it can be created and launched automatically - yes, you can

A
avalak, 2013-05-21
@avalak

qemu can run in a browser (the virtual machine itself is implemented in js). Demo: jslinux
Tech notes
Considering the small size of KolibriOS, this should be the best option. If you manage to launch (unfortunately, I don’t know what Kolibri’s requirements are now).

V
Vlad Zhivotnev, 2013-05-21
@inkvizitor68sl

If it is in the form of a bundle of sh-scripts, will it suit you? Or do you need a ready-made web muzzle?
Write to me, I'll try to implement it, but I don't have anything with web development.
In jabber, I think - [email protected]

O
Otkrick, 2013-05-22
@Otkrick

Install Proxmox VE on the machine, create a cloud of virtual machines (you can batch it through the local CLI) with a read-only disk (where the OS will be deployed) or with an ISO mounted in a CD-ROM, create a user for each virtual machine in Proxmox (users: UserX, virtual machines: X, where X is an ordinal number).
1. After updating the image in the source, it will be necessary to restart all virtual machines (one command)
2. Proxmox gives the user access to the virtual monitor via TightVNC in the browser (java). To connect, use the address: host.ru/vnc?vm=102&user=test&password=pass .
3. Connect the user to a free
virtual machine You most likely do not need to create on-demand virtual machines. It is enough for you to keep information about busy and overload the VM when the session is closed.

P
Puma Thailand, 2013-05-22
@opium

Any virtualization system is essentially a command, make a binding to any, do you want to do it as a service for all users or only for certain, say, developers?
If the second one is quite suitable, let's say the kvm proxmox virtual machine management system and the console through java vnc in the browser is.

Y
yogev_ezra, 2013-05-21
@yogev_ezra

So, if I understand correctly, this is only possible through VNC? It is impossible through WSX, for example?
blog.chipx86.com/2012/03/13/wsx-virtual-machines-in-your-browser/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question