How many roles can you have per Azure instance

前端 未结 3 1228
迷失自我
迷失自我 2021-01-01 00:29

I know that you can only have 1 web role per instance but does this apply to Background roles as well? In more detail can 1 instance run a background role and a web role?

3条回答
  •  有刺的猬
    2021-01-01 01:02

    You can have only one role per instance.

    However, you can host Http endpoint in your worker role, effectively turning it into Web+Worker role.

    References and samples:

    • Windows Azure Hosted Web Core Worker Role
    • Redirect Tcp Connections in Windows Azure

提交回复
热议问题