帮助模拟 Heroku、GAE 等:私下构建 Web 服务 (PaaS)
我不是唯一一个有这个问题的人,但到目前为止我的研究中还没有找到很多信息,所以请帮助我。
我们是组织中的一小部分 IT 人群。我们希望构建一个小型的私有服务来模拟 heroku/gae 工作流程。其基本原理是:将应用程序部署为 git 存储库,并使其在“云”环境中扩展。基本上,平台即服务 (Paas)。
假设我们是负责此任务的业余产品经理、程序员和系统管理员。你会推荐什么?我们通常知道需要什么:某种路由、数据库、缓存、身份验证等。我们还需要哪些其他工具?
我们更喜欢在 linux/bsd 堆栈上沿 ruby/python/haskell/erlang 维度使用 postgres 数据库(未来的 couchdb 或 cassandra)的工具。我们没有涉及 ms/.net 领域的任何内容,也没有涉及 JVM 的任何内容(我们已经研究过 Steamcannon,但没有;Scala 和 Clojure 工具也不是完全不可能)。我们对引导云(例如 Eucalyptus)进行构建有了基本的了解。我们了解服务器管理的基础知识,并且物理基础设施限制目前不是一个因素。
我们没有研究为什么 gaerokuyardspace 是最佳选择、此类服务的列表、为什么我们应该放弃其中一项服务的计划,或者反对该计划的论点。对于这种情况,我们决定私人建造的成本比在其他地方部署的成本更具吸引力。我们已经知道为什么以及如何提供这些服务。我们正在寻求模仿和构建这些以满足私人需求。
要扩展的工具的简短列表:
- Beehive
- Steamcannon
- Gitosis/Gitolite
- ?
基本上,我想生成一个工具列表,用于在小型、私有、绝对实验/玩具级别上构建类似 Heroku/gae 的服务。
I'm not the only one with this question, but haven't found a lot of information in my research so far, so help me out.
We are a small IT crowd in an organization. We're looking to build a small, private service that would emulate a heroku/gae workflow. The basics of this: deploy an app as a git repository, and have it scale in a 'cloud' environment. Basically, a platform as a service (Paas).
Pretend we are amateur PM's, programmers, and sysadmins tasked with this. What would you recommend? We know generally what is needed: some sort of routing, database, caching, authentication, etc. What other tools do we need?
We would prefer tools along a ruby/python/haskell/erlang dimension, on a linux/bsd stack, with postgres databases(couchdb or cassandra in the future). We are not touching anything in the ms/.net area, nothing on the JVM (We've looked at Steamcannon, but no; Scala and Clojure tools are not entirely out of the question). We have a basic grasp of bootstrapping a cloud (e.g. Eucalyptus) to build on. We have an understanding of the basics in server admin, and the physical infrastructure limitations aren't a factor right now.
We're not looking into why gaerokuyardspace is the best choice, a list of such services, why we should ditch our plans for one of these services, or an argument against this plan. For this situation the decision has been made that the cost to build privately is more attractive than the cost of deploying elsewhere. We already know why and how for these services. We're looking to emulate and build upon these for private needs.
A short list of tools to be expanded:
- Beehive
- Steamcannon
- Gitosis/Gitolite
- ?
Basically, I'd like to generate a list of tools for building heroku/gae like service on a small, private, definitely experimental/toy level.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我不知道它是否能满足您今天提出的所有需求,但您应该看看 Cloud Foundry 来自 VMware。您可以查看商业项目的常见问题解答或查看开源版本,您可以自行托管和管理。
I don't know that it will meet all of your stated needs today, but you should take a look at Cloud Foundry from VMware. You can check the FAQ for the commercial project or look in to the Open Source version that you can host and manage yourself.
Cloud Foundry(上图)gitolite 和 面料
可能会对你有好处。任何这样的解决方案都需要一些时间才能得到解决。
Some combination of Cloud Foundry (above) gitolite, and fabric
will probably do well for you. Any such solution will take some time to get right.
(免责声明:我是 AppScale 项目的首席开发人员)
AppScale 非常适合您,特别是如果您希望在自己的私有云中运行 Google App Engine 应用程序。它是开源的,因此如果您想支持其他类型的应用程序,请抓住它并扩展它(如果您愿意,请务必将其提交给我们)。
(Disclaimer: I'm a lead developer on the AppScale project)
AppScale is pretty much right up your alley, especially if you're looking to run Google App Engine apps in your own private cloud. It's open source, so grab it and extend it if there are other types of apps you want to support (and definitely commit it back to us if you do).