Web role / worker role / VM role?

北战南征 提交于 2019-12-24 06:48:20

问题


Sorry for ambiguous question title! I have an asp.net app which works with an additional third party software(burning glass- connects to web app via tcp/ip, requires - properly configured dns entry, fixed ip and minimum of 8gb ram and it is completely managed via command prompt) in a single dedicated server.

I want to convert my web form app to MVC and deploy it in azure and also move the third party software I use( with above requirements). Is it possible to achieve the above requirements in azure?

Which role should I use for burning glass?


回答1:


The general rule is to install 3rd-party software in a Web or Worker role, alongside your web app if you'd like, as long as:

  • You can install via MSI or some other mechanism that doesn't require manual intervention
  • The installation time is relatively quick (maybe max. 5 minutes or so)
  • The installation is reliable

If any of those are not possible, you'd need to go with a VM Role to pre-install the app.

As far as managing an app via command-line: As long as you can make the command-line calls via your app, you're ok. If you need to enter commands into a console, then that's not practical in Windows Azure unless you can connect to the console remotely. Not knowing about Burning Glass, I don't have any idea whether this can be done.

While Windows Azure doesn't let you select your IP address, the assigned IP address remains in effect as long as you don't delete and redeploy your app. You can upgrade the app without redeploying, so that shouldn't be an issue for you.



来源:https://stackoverflow.com/questions/8760647/web-role-worker-role-vm-role

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!