Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 994
d3bug3r Avatar asked Nov 30 '25 02:11

d3bug3r


1 Answers

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/

like image 145
Timothy Hunkele Avatar answered Dec 02 '25 17:12

Timothy Hunkele



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!