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.

I have previously installed instances of Amazon EC2 servers. I know that it takes a while to get MySQL, Postgres, Rubygems, Ruby, etc.. installed on the server.

I'm wondering if there is a better way. For example, getting started with an existing/public AMI out there.

If so, what's the most complete AMI for a server that will only run Ruby (Sinatra/Rails with Postgres or MySQL) applications?

Thanks!

share|improve this question

2 Answers 2

If you're using one of the Ubuntu AMIs, it's as simple as

sudo apt-get install mysql-server postgresql ruby rubygems rails

Or if you're using Fedora or CentOS or Red Hat, it will probably be

sudo yum install mysql-server postgresql ruby rubygems rails

If you go to Amazon EC2 - Navigation - Images - AMIs and search for Public Images containing the word "ruby" you will find AMIs with names such as

  • rubysquickstart (by Amazon)
  • rubystack
  • rubyonrails

etc.

share|improve this answer

You can get both EBS and S3-backed AMIs for Rails at BitNami

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.