I'm trying to get my application setup and deployed on EC2. It's not going well. I'm using Paul Dowman's AMI, but of course it's giving me problems. Fix one problem then on to the next, then the next, then the next. Maybe later I'll restart the whole thing and take notes on the failures. Now if you'll excuse me, I have to find a small
animal to kick.
Update: I finally got it up. After more sweat and toil I found that it was probably just something really stupid on my part. Tomorrow night I'll have to make another image for the workers. Thanks for making the image Paul, you rock!
Technorati Tags: ec2, ami, capistrano, setup
Id be interested in hearing about your details + any points on this + if you are using Capistrano successfully w/ Paul's image.
- Jon
Posted by: Jon Baer | July 22, 2007 at 10:14 PM
Paul's instructions call for using Capstrano to get everything set up on the server after you load the image. I was using cap 1.4.1. My guess is that it will run into problems with cap 2 until deprec 2 comes out since it looked like it was using a number of deprec tasks to get everything configured. Once I had that stuff up it worked as you'd expect. cap deploy and cap deploy_with_migrations both worked like a champ.
As for the issues, I would have to rebuild from scratch and take notes. The truth is that I made one large mistake that makes me think that all the problems I was chasing down were a direct result of that. The mistake was that Paul's instructions call for setting up a few files in your project, which I did. What I forgot to do was check those into the repo before trying to deploy and get set up (stupid, stupid, stupid).
Posted by: Paul Dix | July 22, 2007 at 10:32 PM