我是一名计算机科学学生,正在探索 SCM 领域。在进行自己的研究时,我遇到了许多不同的托管解决方案(显然是 GitHub、Lighthouse、YouTrack、TeamCity 等) - 您认为尝试完全在云中托管(商业、闭源)项目实际上合理吗?
假设我在 GitHub 上托管代码,使用 Jira 或 Lighthouse 进行问题跟踪,天知道还有什么其他托管 PM 解决方案(Basecamp?)并使用 EC2 进行构建(我可以将 Hudson 或 TeamCity 放在上面,并为这些产品使用适当的 EC2 插件以在需要时获得更多计算能力)。
EC2 法案会杀掉我吗(与自托管解决方案相比)?您是否认为“云”还不够可靠?
I'm a CS student, just exploring the SCM space. While doing my own research I came across many different hosted solutions (GitHub obviously, Lighthouse, YouTrack, TeamCity, etc.) - do you think it is actually reasonable to try to host a (commercial, closed source) project entirely in the cloud?
Let's say I'd host code on GitHub, use Jira or Lighthouse for issue tracking, God knows what other hosted PM solution (Basecamp?) and build using EC2 (I can put Hudson or TeamCity on it and use appropriate EC2 plugins for these products to get more computing power when needed).
Is the EC2 bill going to kill me (compared to self-hosted solutions)? Do you think "the cloud" it's still not reliable enough?
发布评论
评论(4)
这就是我们公司的工作方式。版本控制系统 (git) + 敏捷规划 + 票证系统/bugtracker + wiki 托管在 http://www.assembla.com< /a> 40 个用户每月 49 美元,私人存储库 ( https://www.assembla.com/plans< /a> ),我们在 amazon aws ec2 上有一个微型实例,其中 jenkins、nexus、sonar 和一些内部工具第一年免费运行,然后您应该考虑每月花费 80 美元来获得相同的服务。
因此,对于一家小公司(最多 40 个用户)来说,完整的云解决方案的成本为 129 美元/月:可靠,我们的服务提供商提供了良好的新功能发布系列,并且我们的维护足迹较低。
考虑到以下成本,与自托管相比,它并不是很昂贵:
- 服务器的价格(假设 1000 美元)
- 电费(假设 100% 正常运行时间为 30 美元/月)
- 配置成本(例如,获得与装配相同的质量)和维护成本(假设在法国每月 0.5 天的人工,每天 500 美元)
费用是:363$/月
这看起来应该有点偏差,但最终这就是我们所经历的。
问候,
泽维尔
This is the way we work at our company. Version control system (git) + agile planning + ticket system/bugtracker + wiki are hosted at http://www.assembla.com for 49$/month for 40 users, private repositories ( https://www.assembla.com/plans ) and we have a micro instance on amazon aws ec2 where jenkins, nexus, sonar and some internals tools are running for free the first year and then you should consider spending like 80$/month for the same service.
So it costs 129$/month for a full cloud solution for a small company (40 users max): reliable, with a good release train of new features by our service providers and with a low maintenance footprint for us.
Compared to self hosted it's not really expensive considering the following costs :
- price of your server (lets say 1000$)
- electricity bills (lets say 30$/month for 100% uptime)
- cost of configuration (to get the same quality as assembla for exemple) and maintenance (lets say 0.5day man per month at 500$/day in france)
The cost is : 363$/month
This should look a bit biased, but finally it's what we experienced.
Regards,
Xavier
使用云进行托管是没有问题的,很多大公司已经这样做了。我认为 Netflix 最近只转向了 EC2。我们整个业务都运行在EC2上,目前为止表现还算不错。
EC2 账单由您来管理 - 云是关于服务的细粒度计费,您消耗的越多,支付的费用就越多(我们销售一种有助于成本控制的工具:http://LabSlice.com)。您最大的成本通常是 CPU 功率,因此请坚持使用微型/小型实例,直到您掌握了成本。
有趣的是,人们质疑云的可靠性,因为其基本前提实际上是为企业提供比他们自己负担得起的更高的可靠性(高可扩展性、硬件的即时可用性、监控、负载平衡等)。
There is no problem to use the cloud for hosting, and many large companies do so already. I think NetFlix recently moved solely to EC2. Our whole business runs on EC2, and it's been relatively good so far.
The EC2 bill is up to you to manage -- cloud is all about granular billing for services, and the more you consume the more you pay (we sell a tool that helps with cost controls: http://LabSlice.com). Your biggest cost will usually be CPU power, so stick to the Micro/Small instances until you've got a handle on costs.
It's interesting that people question the reliability of cloud, as the underlying premise is actually to provide more reliability to businesses then they could afford themselves (high scalability, immediate availability of hardware, monitoring, load balancing etc.)
您可以使用 AWS 免费帐户并托管您的应用程序。如果您超出免费帐户的使用限制,您将需要支付您所使用的任何额外费用。
关于云的可靠性,每个大公司都在转向云,如亚马逊、微软、IBM、惠普等,因为他们发现云可靠、成本效益高且绿色。
You can make use of AWS Free Account and host your application. If you exceed Free Account Usage limit,you will be charged for whatever extra you have utilized.
Regarding reliability about Cloud, every big firm is moving towards Cloud like Amazon,Microsoft,IBM,HP etc because they found cloud reliable,cost effective and green.
假设您是一名学生,并假设您希望花很少的钱,许多 Git 和 SVN 托管提供商会为学生提供免费托管,或者如果您的小团队存储需求极小,则提供免费帐户。例如,查看 Codesion 的学生课程(免责声明,我在 Codesion 工作)。该计划还附带 Trac / Bugzilla 以满足您的 PM 要求。出于与西蒙上面指出的同样的原因,我不会担心安全性和可靠性。
至于 EC2 上的 CI - 这可能是您最好的选择,因为您按每个实例运行的小时付费。我建议每次 Hudson 需要执行构建时使用 Amazon API 启动一个实例,将构建结果存储在更永久的存储上,并在完成后关闭实例。如果您进行大量 CI 构建,那么保持实例运行可能会更好,但这当然会花费更多。
Given your a student and assuming your looking to spend little money, a lot of Git and SVN hosting providers offer free hosting for students or free accounts if your a small team with minimal storage requirements. Check out Codesion's student offering for example (disclaimer, I work for Codesion). This plan also comes with Trac / Bugzilla for your PM requirements. I wouldn't be concerned with security and reliability for the same reason that Simon points out above.
As for CI on EC2 - this is probably your best bet since you pay by the hour each instance is running. I'd recommend using Amazons API to fire up an instance each time Hudson needs to perform a build, store the results of the build on more permanent storage, and shut the instance down when finished. If your doing a lot of CI builds, it might be better to just keep the instance running, but this will cost you more of course.