在 ec2 上托管 Rails

发布于 2024-10-02 12:33:22 字数 119 浏览 4 评论 0原文

我想将 Rails 部署到亚马逊 ec2 上。我看过 poolparty 和 ec2onrails 但似乎都不再维护了。

人们用什么来做到这一点?都是自制的木偶和卡皮斯特拉诺,还是有一个项目可以让我继续下去?

I want to deploy a rails onto amazon ec2. I've had a look at poolparty and ec2onrails but neither seem to be maintained anymore.

What are people using to do this? Is it all homebrewed puppet and capistrano or is there a project that will get me going?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

听闻余生 2024-10-09 12:33:22

我可以推荐两个项目:

如果您只有一个 Rails 应用程序,请查看 Rubber。它是一个可以为您配置 EC2 实例、安装软件和部署应用程序的 gem。它基于 Capistrano。有最常见组件(mysql、apache、passenger、postgres 等)的配方。

如果您有更复杂的设置(例如,Rubber 未涵盖的多个应用程序或特定需求),我推荐 Chef。它确实有相当长的学习曲线,所以要做好准备。查看 OpsCode 以开始使用 Chef。

I can recommend two projects:

If you have a single Rails app, take a look at Rubber. It's a gem that can provision EC2 instances for you, install software and deploy your app. It's based on Capistrano. There are recipes for the most common components (mysql, apache, passenger, postgres, etc.).

In case you have more complex setup (e.g. multiple apps or specific needs that aren't covered by Rubber) I recommend Chef. It does have quite a learning curve, so prepare yourself. Take a look at OpsCode to get started with Chef.

一身仙ぐ女味 2024-10-09 12:33:22

您可能需要查看我们的 Rubystack AMI。它们是免费的,并且我们会及时更新它们。您仍然需要进行自动化部署和集成到工作流程中的工作,AMI 主要解决环境和运行时设置问题。

You may want to take a look at our Rubystack AMIs. They are free and we keep them up to date. You still need to do work for automating deployment and integrating in your workflow, the AMIs mainly address the environment and runtime setup.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文