简体   繁体   English

在AWS Elastic Beanstalk上部署rails应用程序

[英]Deploying rails application on AWS Elastic Beanstalk

Hi do anyone of you know how to deploy Rails Application on AWS Elastic Beanstalk? 您知道如何在AWS Elastic Beanstalk上部署Rails应用程序吗? Previously i had 2 PHP application runs on AWS which is easy to deploy. 以前我在AWS上运行了2个PHP应用程序,易于部署。 Also is there any specific EC2 server we need to choose in order to deploy rails application, how would we automate rails server command? 还有我们需要选择的任何特定的EC2服务器来部署rails应用程序,我们如何自动化rails服务器命令? Thanks 谢谢

There is no Ruby on Rails Elastic Beanstalk at this time. 目前还没有Ruby on Rails Elastic Beanstalk。 You could do a JRuby setup where you compile your app into a WAR file and deploy on the Java Elastic Beanstalk. 您可以执行JRuby设置,将应用程序编译为WAR文件并部署在Java Elastic Beanstalk上。 See the following link for a tutorial http://techylinguist.com/posts/2012/01/13/deploy-jruby-rails-application-war/ 请参阅以下链接以获取教程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. 要在AWS上部署Rails应用程序,我使用Opscode Chef。 They have some tutorials on their site at http://wiki.opscode.com/display/chef/Guides 他们在他们的网站上有一些教程,网址是http://wiki.opscode.com/display/chef/Guides

UPDATE: 更新:

AWS Elastic Beanstalk now supports Ruby on Rails. AWS Elastic Beanstalk现在支持Ruby on Rails。 See their documentation http://aws.amazon.com/documentation/elasticbeanstalk/ 查看他们的文档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). 我知道在提出原始问题之后很久,但AWS Elastic Beanstalk现在支持Ruby(1.8和1.9)。 You can view the announcement here . 您可以在此处查看公告

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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