Archive for January, 2008

Client for nettica dns service

Monday, January 28th, 2008

One of the drawbacks of EC2 is that there are no static IPs to be had, so short of using an external (to ec2) solution, the only way to have redundant load balancers is to use dns round robin.  If a load balancer instance goes down, we should ideally remove it from the round robin so that clients don’t continue to use the dead IP.

(more…)

Deploying Rails Apps to EC2 with Capistrano

Monday, January 28th, 2008

I’ve created yet another system for deploying rails apps to ec2 using capistrano.  None of the others were doing it for me, primarily because I needed a way to deploy/configure/scale-up to multiple instances as needed.
(more…)

Using Capistrano without source control

Sunday, January 27th, 2008

I’m in the process of writing some capistrano recipes to make deploying to Amazon’s Elastic Compute Cloud (ec2) easier. Since I’m making this project available for general consumption, I wanted a way to make it easy for someone to try it out without having to check something into source control. (more…)

Mounting Xen DomU LVM disk in Dom0

Sunday, January 27th, 2008

I setup a xen based system for our production environment at work. I’m using LVM throughout for all the benefits it provides (resizing, snapshot backups, etc). Each domU gets its own logical volume on dom0’s volume group. This logical volume actually looks like an entire physical disk to the domU, and the domU then further partitions it into a boot partition and a nested LVM partition (swap + root fs). Aren’t the layers of unix file abstractions a thing of beauty to behold? :)

In retrospect I probably should have mapped LVM logical volumes direct from dom0 as partitions in domU rather than having domU add the extra LVM layer on top - though reading around shows that this _may_ not be supported in the future, so… (more…)