节点应用程序的托管要求 [英] Hosting Requirements for Node App

查看:104
本文介绍了节点应用程序的托管要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

美好的一天,

我有兴趣使用Azure作为PaaS解决方案来托管我将在未来几个月内开发的Node Js应用程序。我已经对定价模型和层进行了相当多的研究,所以我对此有所掌握,但是,我不确定如何准确地说出我的服务器要求。在查看基本,标准和高级计划之间的纯CPU,内存和存储规范时,它们看起来都很相似,但我认为存储除外。

I'm interested in using Azure as a PaaS solution to host a Node Js app that I'll be developing in the few coming months. I've done a fair bit of research on the pricing models and tiers so I sort of have a grasp on that, however, I'm not sure how to accurately spec my server requirements. When looking at pure CPU, Memory and Storage specifications between the Basic, Standard and Premium plans they all look similar, with the exception of storage I suppose.

我打算构建的应用程序主要是执行基于CRUD的操作。它不会托管大型图像/视频,静态文件将用于JS库或小图像用于主题(图标,徽标等我希望有一个CDN)。我预计每天不会有超过1000个网页请求的
,而AppService只是用作WebApi和Web服务器,我打算在Mlab上托管数据库。

The application I intend to build will primarily perform CRUD based actions. It will not host large images/videos and static files will be used in JS libraries or small images for theming (icons, logos etc I'm hoping there's a CDN). I anticipate no more than 1000 web page requests per day and the AppService is only intended to serve as a WebApi and Web Server, I intend to host the DB on Mlab.

我正在寻找能给我合理页面加载的选项 和服务器响应时间(1-2秒)。应用程序服务还需要SSL支持,这是我需要从Microsoft获得的东西,或者我可以在其他地方购买和应用。

I'm looking for an option that will give me reasonable page load  and server response times (1-2secs). The app service also needs support for SSL, is that something I need to get from Microsoft or I can purchase and apply elsewhere.

最后,我希望能够测试和开发Azure,根据我的经验,最好在与您的作品相匹配的架构上这样做。是否有任何低成本的开发/测试服务器选项,我可以使用而不是使用生产服务(我预计
将超过我的测试性能要求并且还会花费更多)?

Finally, I'd love to be able to test and dev on Azure, as from my experience it is better to do so on an architecture that matches your production. Is there any low cost Dev/Test server options that I can use instead of using the production service (which I anticipate will exceed my test performance requirements and would also cost more)?

推荐答案

您好McSwagger,

Hi McSwagger,

感谢您考虑使用Azure来构建您的Node。 js app。

Thank you for considering Azure to build your Node. js app.

是的,
基本计划
非常适合开发/测试应用的专用环境。基本服务计划专为具有较低流量要求且不需要高级自动扩展和流量管理功能的应用而设计。定价基于您运行的大小和
个实例数。内置网络负载平衡支持可自动跨实例分配流量。 Linux运行时环境的基本服务计划支持Web App for Containers。

Yes, the Basic plan is great for Dedicated environment for dev/test apps. The Basic service plan is designed for apps that have lower traffic requirements, and don't need advanced auto scale and traffic management features. Pricing is based on the size and number of instances you run. Built-in network load balancing support automatically distributes traffic across instances. The Basic service plan with Linux runtime environments supports Web App for Containers.

使用Basic计划,您可以启用自定义域
/ SSL使用SNI SSL绑定配置和购买自定义域。是的,您可以从azure购买SSL证书。查看

文档
了解更多信息。

With the Basic plan you can enable Custom domains / SSL Configuration and purchase custom domains with SNI SSL bindings. Yes, you can buy SSL certs from azure. Check out this documentation for more information.

请注意,如果您需要其他资源,您可以随时扩展或退出应用服务计划。查看此链接,了解有关不同应用服务计划定价的更多信息。

Keep in mind you can always scale up or out your app service plan if you need additional resources. Check out this link for more info on pricing for different app service plans.

希望我能够回答您的所有问题。如果您还有其他问题,请与我们联系。

Hope I was able to answered all your questions. Please let me know if you have additional questions.


这篇关于节点应用程序的托管要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆