thoughts…

rants and bookmarks about programming stuff…


LLXC: My little python3-lxc based project

“I spoke to Stéphane about my ideas at the time and he introduced me to python3-lxc that he introduced on his blog yesterday. It provides Python bindings for liblxc, so I took the advantage of that and mostly re-implemented RLXC in Python and called it LLXC. The name doesn’t particularly mean anything, I’m open to suggestions for what to call it, if anyone cares.

Here are some screenshots that explains some of it better than I could do in words:…”

http://jonathancarter.org/2012/09/29/llxc-my-little-python3-lxc-based-project/


Introducing the python LXC API

“One of our top goals for LXC upstream work during the Ubuntu 12.10 development cycle was reworking the LXC library and turn it from a private library mostly used by the other lxc-* commands into something that’s easy for developers to work with and is accessible from other languages with some bindings.

Although the current implementation isn’t complete enough to consider the API stable and some changes will still happen to it over the months to come, we have pushed the initial implementation to the LXC staging branch on github and put it into the lxc package of Ubuntu 12.10…”

http://www.stgraber.org/2012/09/28/introducing-the-python-lxc-api/


Leave a comment

Heroku Isn’t for Idiots

“At its core, Heroku is just a simple unix platform; specifically, Ubuntu 10.04 LTS…”

“The entire Heroku platform is really nothing more than small Ubuntu virtual server instances that can be spun up and down on demand. Each instance (Heroku calls them dynos), has:
- 512MB of RAM, 1GB of swap. Total = 1.5GB RAM.
- 4 CPU cores (Intel Xeon X5550 @ 2.67GHz).
- Isolated execution. Anything you store on your dyno will be isolated from all other dynos. A chroot jail environment. This means that you are completely locked down to one directory tree, with no write access to system files…”

http://rdegges.com/heroku-isnt-for-idiots


Leave a comment

Provisioning KVM virtual machines on iSCSI the hard way

“The previous articles showed how to provision a guest on iSCSI the nice & easy way using a QNAP NAS and virt-manager. This article and the one that follows, will show how to provision a guest on iSCSI the “hard way”, using the low level command line tools tgtadm, virsh and virt-install. The iSCSI server in this case is going to be provided by a guest running Fedora 13, x86_64…”

http://berrange.com/posts/2010/05/05/provisioning-kvm-virtual-machines-on-iscsi-the-hard-way-part-1-of-2/

“The previous post described how to setup an iSCSI target on Fedora/RHEL the hard way. This post demonstrates how to configure iSCSI on a libvirt KVM host using virsh and then provison a guest using virt-install…”

http://berrange.com/posts/2010/05/05/provisioning-kvm-virtual-machines-on-iscsi-the-hard-way-part-2-of-2/


Leave a comment

Juju provides service orchestration

“Juju focuses on managing the service units you need to deliver a single solution, above simply configuring the machines or cloud instances needed to run them. Charms developed, tested, and deployed on your own hardware will operate the same in an EC2 API compatible cloud…”

https://juju.ubuntu.com/

“The local provider allows for deploying services directly against the local/host machine using LXC containers with the goal of experimenting with juju and developing formulas.

The local provider has some additional package dependencies. Attempts to use this provider without these packages installed will terminate with a message indicating the missing packages…”

https://juju.ubuntu.com/docs/provider-configuration-local.html


Leave a comment

Virtualization in the EC2 cloud using LXC

“EC2 is already a (para)virtualized environment, which means it’s nearly impossible to run your own virtualization (KVM/VirtualBox/qemu) from inside that environment. However, Linux recently introduced a new system into the kernel, called cgroups, which provides a way to isolate process groups from each other in the kernel. A project was soon formed around this new technology, which allows for very thin, fast, and secure quasi-virtualization. It’s called LXC, short for LinuX Containers. And it works in EC2 perfectly…”

http://www.activestate.com/blog/2011/10/virtualization-ec2-cloud-using-lxc

Follow

Get every new post delivered to your Inbox.

Join 514 other followers