在AWS弹性豆茎上部署rails应用

时间:2022-08-25 08:40:31

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

大家好,有人知道如何在AWS弹性豆茎上部署Rails应用程序吗?以前我有两个PHP应用程序运行在AWS上,这很容易部署。另外,为了部署rails应用程序,我们还需要选择什么特定的EC2服务器,我们如何自动化rails服务器命令?谢谢

2 个解决方案

#1


8  

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/

此时没有Ruby on Rails的弹性豆茎。您可以进行JRuby设置,将应用程序编译成WAR文件并部署到Java Elastic Beanstalk上。参见下面的教程链接http://techylinguist.com/posts2/2011/13/deploy-jruby - rails-applicationwar/

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

但我个人并不推荐它。在AWS上部署Rails应用程序时,我使用Opscode Chef。他们在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/

AWS弹性豆茎现在支持Ruby on Rails。看到他们的文档http://aws.amazon.com/documentation/elasticbeanstalk/

#2


4  

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.

我知道这在最初的问题被提出之后很久了,但是AWS弹性豆茎现在支持Ruby(1.8和1.9)。您可以在这里查看公告。

#1


8  

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/

此时没有Ruby on Rails的弹性豆茎。您可以进行JRuby设置,将应用程序编译成WAR文件并部署到Java Elastic Beanstalk上。参见下面的教程链接http://techylinguist.com/posts2/2011/13/deploy-jruby - rails-applicationwar/

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

但我个人并不推荐它。在AWS上部署Rails应用程序时,我使用Opscode Chef。他们在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/

AWS弹性豆茎现在支持Ruby on Rails。看到他们的文档http://aws.amazon.com/documentation/elasticbeanstalk/

#2


4  

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.

我知道这在最初的问题被提出之后很久了,但是AWS弹性豆茎现在支持Ruby(1.8和1.9)。您可以在这里查看公告。