本文介绍了Windows Azure的我可以运行在相同的超小型实例或小实例,多个网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我评估MS云的Windows Azure托管3完全分离的网站。

I'm evaluating MS cloud Windows Azure for hosting 3 completely separated websites.

每个网站都有自己的数据库,并没有连接,所以3个网站和3个数据库。

Every website has its own database and they are not connected, so 3 websites and 3 databases.

我的目标是优化一个启动项目成本与按需扩展的可能性。

My aim is to optimize costs for a start-up project with the possibility to scale up on demand.

我想知道:


  • 如果可以在同一个实例(超小型实例或小实例)举办3个网站。

  • 如果可以承载相同的SQL Azure数据库3的数据库(所以我会使用SQL存储总量为我的3个数据库)或每个网站的数据库中,我要付出SQL Azure中的一个实例。

感谢您的时间这一点。

推荐答案

您完全可以在同一个实例上运行多个网站,从SDK 1.3,如完整的IIS现在在Web角色运行。乔纳森与MSDN文章链接指出的那样,你可以设置站点元素来定义每个网站。你也应该看看在Windows Azure ,其中有实验室专门围绕建设一个多站点网络的作用。

You can absolutely run multiple web sites on the same instance, starting with SDK 1.3, as full IIS is now running in Web Roles. As Jonathan pointed out with the MSDN article link, you can set up the Sites element to define each website. You should also check out the Windows Azure Platform Training Kit, which has a lab specifically around building a multi-site web role.

您也可以利用像或的的,它提供了一个多租户解决方案,您可以加载到你的Web角色(检查出的云量显示视频here获取更多信息)。

You can also take advantage of something like Cloud Ninja or Windows Azure Accelerator for Web Roles, which provides a multi-tenant solution that you can load into your Web Role (check out the Cloud Cover Show video here for more info).

在托管多个网站,请记住,他们都共享上一个实例相同的资源。所以,你可能会发现一个超小实例将无法满足您的性能需求(这是仅限于768MB RAM和大约5Mbps的带宽)。我想,你需要处理更多的流量,你会没事的带小实例和向外扩展。

When hosting multiple websites, remember that they're all sharing the same resources on an instance. So you might find that an Extra Small instance won't meet your performance needs (it's limited to 768MB RAM and approx. 5Mbps bandwidth). I think you'll be fine with Small instances and scaling out as you need to handle more traffic.

这篇关于Windows Azure的我可以运行在相同的超小型实例或小实例,多个网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 09:50