Can I host a website in Windows Azure VMRole

Does anyone know if it's possible to host a site using VMRole in Windows Azure?

If I have IIS running in a virtual machine, can I access this from the outside?

Also, if I scale to multiple instances of the same virtual machine, will this endpoint automatically load like WebRole?

Note. There are some requirements that I have that cannot be met using WebRole, so I do not use it. (if you are interested)

Thanks in advance!

+4
source share
1 answer

Yes, you can host a website as a virtual machine. The role of the VM should be Windows 2008 R2, which has IIS, so you should have everything you need to support your site. You just need to work with HyperV locally to build VHD, then prepare it using Windows Azure tools, etc.

Just curious: What specific requirements do you have that cannot be met using a web role? There are three main use cases for the VM role:

  • The setup process cannot be automated.
  • The configuration process is not 100% reliable (for example, installers periodically fail)
  • The installation process takes too much time (maybe more than 5 minutes)

With startup tasks, you should not have any restrictions on installing software, registering COM controls, registry changes, etc.

+4
source

Source: https://habr.com/ru/post/1385535/


All Articles