Amazon EC2 开发堆栈

发布于 2024-08-31 01:14:10 字数 246 浏览 1 评论 0原文

由于某些原因,我想使用 EC2,EC2 提供 Windows 和 Linux 部署,但 Linux 便宜得多(Linux 预留实例的价格约为 Windows 实例的 %63-%85,而 Spot 实例的价格比 Linux 便宜 %50)。我需要一个类型安全的语言和主流平台,并且我更喜欢使用 .net/c# 堆栈(但由于某些原因而不是 mono),但在这种情况下,java 似乎更适合未来(当 ec2 实例计数开始增加时)。那么,值得使用 .net 吗?

此致,

I want to use EC2 for some reasons and EC2 provides both windows and linux deployments, but linux is much cheaper (linux reserved instances are approx. %63-%85 price of windows ones and spot instances are %50 cheaper for linux). I need a type safe lang and mainstream platform and I prefer to use .net/c# stack (but not mono for some reasons), but in this situation java seems a better fit for the future (when ec2 instance counts begin to increase). So, is it worth to use .net ?

best regards,

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

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

发布评论

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

评论(1

沧笙踏歌 2024-09-07 01:14:10

IMO,这个决定应该主要基于您的开发操作系统。如果你已经有一个开发环境,那么我会选择与该环境相匹配的操作系统。如果您没有开发环境,那么选择托管操作系统还为时过早,除非您只是进行试验。如果您想使用最新版本的框架在 .NET 中构建站点,那么我将在 Windows 中使用我的开发操作系统和托管操作系统。金钱成本确实不应该成为激励因素,因为我们的假设是,无论您如何选择,您的决定所获得的好处都将超过成本,对于 .NET 和 Java 来说都是如此。

如果您的计划是使用 EC2 堆栈作为您的开发环境,那么我将再次关注您想要的方向。如前所述,如果您想构建 .NET 站点,那么我会使用 Windows 操作系统。如果您的目的是构建部署在 Linux 或 Unix Web 服务器上的网站,那么我会选择 Linux 作为开发操作系统。编写网站的一部分是了解将部署网站的 Web 服务器。

IMO, this decision should be based primarily on your development OS. If you already have a development environment, then I would choose the OS that matches that environment. If you do not have a development environment, then choosing a hosting OS is premature unless you are simply experimenting. If you want to build sites in .NET using the latest versions of the framework, then I would have my development OS and my hosting OS in Windows. Monetary cost really shouldn't be the motivating factor since the assumption is that regardless of your choice, the benefit you gain by your decision is going to outweigh the cost and that will be true for both .NET and Java.

If your plan is to use the EC2 stack as your development environment, then again I would focus on where you want to go. As mentioned earlier, if you want to build .NET sites, then I would use a Windows OS. If your intention is to build sites that would be deployed on Linux or Unix web servers, then I would choose Linux as a development OS. Part of writing sites, is understanding the web servers on which they will be deployed.

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