让 TeamCity Web 服务器实例同时充当构建代理是一个坏主意吗?
我正在使用 Team City Professional 为我的个人开发项目构建基于 Amazon EC-2 云的构建服务器。我只打算用一个晚上的时间,而且我的项目构建将会非常小。
在这个阶段,我是否有充分的理由选择两台服务器:
- 一台托管 Team City 网站,
- 另一台配置为构建代理
I'm building an Amazon EC-2 cloud-based build server for my personal development projects using Team City Professional. I only intend to use it of an evening and my project builds are going to be quite small.
At this stage, is there a good reason why I should go for two servers:
- one hosting the Team City website
- another configured as the build agent
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要多少台服务器或使用哪种实例类型在很大程度上取决于您的项目的性质以及它们在构建过程中使用的资源数量——此外,您希望构建完成的速度以及您想要多少钱花费。
一般来说,听起来您想要一个基于 EBS 的实例,这样您就可以随时停止和恢复。我不认为从一开始就有两台服务器会对您有什么好处,从一台服务器开始,然后通过使用更大的实例大小进行扩展,然后再添加第二台服务器。
如果您每天只让服务器在线几个小时,那么无论如何,成本应该是合理的。
How many servers you need or which instance type to use heavily depends on the nature of your projects and the number of resources they utilize during the build -- add to that how fast you want your builds to be done and how much money you want to spend.
Generally, it sounds like you want a EBS-based instance so you can stop and resume at any time. I don't see how two servers right from the start would do you any good and start with one and scale up by going to a larger instance size before adding a second server to the mix.
If you keep the server online only for a few hours a day, then the cost should be reasonable anyway.