<div dir="ltr"><div>what about Docker (<a href="http://www.docker.io/">http://www.docker.io/</a>) for the VMs?<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 19, 2013 at 5:13 PM, Sean Alexandre <span dir="ltr"><<a href="mailto:sean@alexan.org" target="_blank">sean@alexan.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I went to a presentation this past weekend about Tiny Tiny RSS. It's an RSS web<br>
app that can be installed on a server, to provide something like a "Google Reader" app.<br>
(The title of the presentation was "The Coming Google RSS Reader Apocalpyse", at<br>
BarCampRDU 2013.)<br>
<br>
The presenter has Tiny Tiny RSS running on a machine at home, and is providing service<br>
for himself and some family and friends. He's even written a keyboard-centric web frontend:<br>
<a href="https://github.com/cgrinds/dripdripdrop" target="_blank">https://github.com/cgrinds/dripdripdrop</a><br>
He runs Tiny Tiny RSS as the backend, and then serves up pages based on the front end he's written.<br>
<br>
Tiny Tiny RSS is listed on the FreedomBox LeavingTheCloud page:<br>
<a href="http://wiki.debian.org/FreedomBox/LeavingTheCloud" target="_blank">http://wiki.debian.org/FreedomBox/LeavingTheCloud</a><br>
<br>
This got me thinking about how I'd like to Tiny Tiny on the machine I've got at home.<br>
Currently it's running ownCloud, WordPress, a Tor Relay, and BitTorrent. They run on<br>
separate VMs. I'd like to run Tiny Tiny RSS too, and want to put it in a separate VM.<br>
<br>
Ideally I'd have a script I could run, that just spins up a new VM running Tiny Tiny.<br>
It would be something like:<br>
<br>
freedombox-vm create tiny-tiny-rss [instance-name] [config-script-file]<br>
freedombox-vm start [instance-name]<br>
<br>
The VMs would run using KVM. Here's an interesting post on this, from this past week:<br>
<br>
How to get started with libvirt on Debian<br>
<a href="http://rabexc.blogspot.com/2013/05/how-to-get-started-with-libvirt-on.html" target="_blank">http://rabexc.blogspot.com/2013/05/how-to-get-started-with-libvirt-on.html</a><br>
<br>
I want to dig into this as a next project, after some other things I'm working on.<br>
I thought I'd put it out there to get any thoughts other might have on this, and<br>
find out if anyone else is doing something similar.<br>
<br>
Ultimately, it seems this kind of approach would be a good one for FreedomBox in<br>
general. The process of spinning up instances would be hidden behind the FreedomBox<br>
web UI, but a user would essentially be doing things such as "freedombox-vm create"<br>
and "freedombox-vm start".<br>
<br>
This way, services are better insulated from each other, for better security.  The<br>
host machine would probably be doing basic network services (dhcpd, dhclient, iptables,<br>
etc.) But then there would be a separate VM for user services such as an RSS reader,<br>
social networking, chat, etc.<br>
<br>
To take this one step further, the longer term goal would be to do something similar to<br>
what Qubes is doing with things such as temporary VMs -- VMs created temporarily for<br>
just one task and then discarded:<br>
<a href="http://www.qubes-os.org/" target="_blank">http://www.qubes-os.org/</a><br>
<br>
<br>
_______________________________________________<br>
Freedombox-discuss mailing list<br>
<a href="mailto:Freedombox-discuss@lists.alioth.debian.org">Freedombox-discuss@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss</a><br>
</blockquote></div><br></div>