[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MirageOS-devel] Just-In-Time Summoning of Unikernels


  • To: mirageos-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Magnus Skjegstad <magnus@xxxxx>
  • Date: Tue, 09 Sep 2014 14:02:50 +0200
  • Delivery-date: Tue, 09 Sep 2014 12:02:59 +0000
  • List-id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>

I have written a small forwarding DNS server that starts virtual
machines on demand, which may be of interest to this list. The server is
called Jitsu - or Just-In-Time Summoning of Unikernels.

Before forwarding a DNS query, Jitsu checks if the requested domain
matches a known unikernel. If it does, the unikernel is started and its
IP is returned to the client. Jitsu continues to respond with the IP of
the unikernel for as long as it is running. If no requests have been
received for the domain within a timeout the unikernel is automatically
stopped. 

The code is available here:
https://github.com/MagnusS/jitsu

Jitsu has been tested with Mirage VMs on a Cubietruck w/Xen and libvirt.
For installing libvirt with Xen-support I recommend following Nick's
instructions:
http://lists.xenproject.org/archives/html/mirageos-devel/2014-07/msg00178.html.

The code is proof-of-concept at this point, so there is probably plenty
of room for optimizations. Contributions are welcome.

Magnus

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.