Archive for the ‘Capistrano’ Category

Rubber presentation at Boston Ruby Group

Thursday, July 10th, 2008

I gave a presentation about using rubber to deploy rails apps to ec2 to the Boston Ruby Group on Tuesday July 8th, 2008.  I’m not quite sure how good my speaking skills are, but it seemed to go well.  See the slides on slideshare.

RailsConf 2008

Saturday, May 31st, 2008

In Portland, Oregon all this weekend for RailsConf 2008, any like-minded readers interested in chatting over a beer?I gave a lightning talk on rubber today, if anyone wangts a more detailed demo, seek me out (twitter: mattconway). 

Capistrano and ssh connection limit

Tuesday, March 11th, 2008

We use capistrano to deploy our rails applications from a subversion repository that is accessed using svn+ssh.  Recently we ran into a problem where Capistrano was unable to connect to subversion from some of the deployment hosts with an error like:

*** [err :: host.domain.com] ssh_exchange_identification: Connection closed by remote host

Since capistrano tries to fire off N svn checkouts simultaneously, it was running into a connection limit for ssh on the the subversion server.  Turns out there is a MaxStartups setting for sshd_config which effectively determines how many clients can be trying to connect simultaneously.  It defaults to 10, and our failures started happening when we went above 10.  Changing the value to 50 on our svn/ssh server cleared up the problem.

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…)