简体   繁体   English

将Rails 3.x应用程序部署到Amazon EC2

[英]Deploy Rails 3.x app to Amazon EC2

I am using Heroku as a staging / testing server. 我使用Heroku作为临时/测试服务器。 For production, I plan to deploy to EC2, initially on 1 instance but the deployment should scale to multiple instances when needed. 对于生产,我计划部署到EC2,最初是在1个实例上,但部署应该在需要时扩展到多个实例。 A quick search shows that there are web tools like Rubber and Chef which are designed for multi-EC2 instances deployment. 快速搜索显示,有一些Web工具,如Rubber和Chef,专为多EC2实例部署而设计。 But they do not look easy to grasp - atleast on first look. 但它们看起来并不容易 - 至少在第一眼看上去。

I also see a simple guide here: http://boredwookie.net/index.php/blog/ruby-on-rails-3-passenger-mysql-on-amazon-ec2/ which looks more easy to follow. 我还在这里看到一个简单的指南: http//boredwookie.net/index.php/blog/ruby-on-rails-3-passenger-mysql-on-amazon-ec2/看起来更容易理解。 But I'm not sure how easy or hard it would be to scale up to multiple servers if needed later if I follow these steps. 但是我不确定如果我按照这些步骤稍后需要扩展到多个服务器是多么容易或多难。

Any guidance in this direction is much appreciated. 非常感谢在这方面的任何指导。

Have a look at the Ruby Bitnami stack. 看看Ruby Bitnami堆栈。

http://bitnami.org/stack/rubystack http://bitnami.org/stack/rubystack

There is a AMI, installs very quick in EC2. 有一个AMI,在EC2中安装非常快。 Without to much fuzz. 没有多少模糊。 When it comes to scaling i don't know, but i guess its a good starting point. 谈到缩放我不知道,但我认为这是一个很好的起点。

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

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