简体   繁体   中英

Deploying rails application on AWS Elastic Beanstalk

Hi do anyone of you know how to deploy Rails Application on AWS Elastic Beanstalk? Previously i had 2 PHP application runs on AWS which is easy to deploy. Also is there any specific EC2 server we need to choose in order to deploy rails application, how would we automate rails server command? Thanks

There is no Ruby on Rails Elastic Beanstalk at this time. You could do a JRuby setup where you compile your app into a WAR file and deploy on the Java Elastic Beanstalk. See the following link for a tutorial http://techylinguist.com/posts/2012/01/13/deploy-jruby-rails-application-war/

But personally I wouldn't recommend it. For deploying Rails apps on AWS I use Opscode Chef. They have some tutorials on their site at http://wiki.opscode.com/display/chef/Guides

UPDATE:

AWS Elastic Beanstalk now supports Ruby on Rails. See their documentation http://aws.amazon.com/documentation/elasticbeanstalk/

I know this is long after the original question was asked, but AWS Elastic Beanstalk now supports Ruby (1.8 and 1.9). You can view the announcement here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM