我可以在 Windows Azure VMRole 中托管网站吗
有谁知道是否可以在 Windows Azure 中使用 VMRole 托管一个网站?
如果我在虚拟机上运行 IIS,我可以从外部访问它吗?
另外,如果我扩展到同一虚拟机的多个实例,该端点是否会像 WebRole 一样自动进行负载平衡?
注意:我有一些要求无法使用 WebRole 来完成,所以这就是我不使用它的原因。 (如果您想知道)
提前致谢!
Does anyone know if one can host a website using the VMRole in Windows Azure?
If I have IIS running on the VM can I access that from the outside?
Also, if I scale to multiple instances of the same VM, will that endpoint be automatically load balanced, just like a WebRole?
Note: There are some requirements that I have that cannot be accomplished with the WebRole, so that is why I am not using it. (if you were wondering)
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您可以在虚拟机角色中托管网站。 VM 角色必须是 Windows 2008 R2,它具有 IIS,因此您应该拥有支持您的网站所需的一切。您只需要在本地使用 HyperV 构建 VHD,然后使用 Windows Azure 工具等准备它。
只是好奇:您有哪些特定要求无法通过 Web 角色实现? VM 角色有 3 个核心用例:
对于启动任务,您对安装软件、注册 COM 控件、修改注册表等不应有任何限制。
Yes, you can host a web site in an VM Role. The VM Role must be Windows 2008 R2, which has IIS, so you should have everything you need to support your website. You'll just need to work with HyperV locally to construct the VHD, then prep it with Windows Azure tools, etc.
Just curious: What specific requirements do you have that cannot be accomplished with a Web Role? There are three core use cases for VM Role:
With startup tasks, you shouldn't have any restrictions on installing software, registering COM controls, modifying the registry, etc.