Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

There are a number of solutions for easily hosting Rails on Amazon EC2 like the following

  1. Poolparty
  2. Rubber
  3. Amazon Cloud Formation
  4. Opscode Chef
  5. Rolling your own

(and I'm sure others I'm not aware of) and I'd love some guidance on which route to go. This will be a small setup with one MySQL db and two app servers and then hopefully growing from there. The last thing I want to do is re-invent the wheel and roll my own setup so solutions like Poolparty and Rubber are appealing but I've never used them.

I know there's also Heroku and EngineYard and I've used both in the past but they just use Amazon EC2 behind the scenes, so I'd rather just go with a solution that's straight up Amazon EC2.

Any recommendations on which route to go would be great!

share|improve this question

closed as off topic by Mark Henderson Jan 16 '12 at 4:01

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
One option I'm looking at now is scalr.net which is free for up to 8 EC2 servers and has a pretty easy system to get a vanilla rails app up and running quickly –  ToddH Aug 24 '11 at 20:58
    
We should make sure that this is as clear as possible. What you're asking is not necessarily how to host Rails on EC2, but how to manage EC2 instances that should be configured to run a Rails application stack. –  jtimberman Sep 3 '11 at 21:45
    
Shopping Questions are Off-Topic on any of the Stack Exchange sites because of their very limited lifespan. See Q and A is hard, lets go Shopping and the FAQ for more details. –  Mark Henderson Jan 16 '12 at 4:01
add comment

1 Answer

I recommend using Chef it's a simple, but powerful solution for managing EC2 machines... (any machine in that case)

Plus your already finished, opscode has some cookbooks for mysql and rails:

http://community.opscode.com/cookbooks/mysql

http://community.opscode.com/cookbooks/rails

Here's a bootstrap command after you get your chef server and git repo running:

knife ec2 server create -G default -x ec2-user -S id_rsa -I ami-2a1fec43 -f m1.small -i .ssh/id_rsa.pem -d fedora13-gems

I use a custom amazon bootstrap file, but the fedora13-gems bootstrap files works fine and is bundled with chef/knife already.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.