Search This Blog

Q46-Q50(Not Important)

 Q46. What is Web Role and Worker role in Azure?  What is VM Role?



----------------------------------------------------------------------------------------------------------------------------
Q6. What is Web Role and Worker role in Azure?  What is VM Role?

Answer:
Roles are like servers in layman terms, and they play a special role while being as servers. 
There are 3 types of roles in Microsoft Azure:

Web Role
Worker Role
VM Role

Web Role – A web role is basically used to deploy a website, using languages supported by the IIS platform like, PHP, .NET etc. It is configured and customized to run web applications. Web role is a virtual machine instance running Microsoft IIS Web server that can accept and respond to HTTP or HTTPS requests.

Worker Role – A worker role is more like an help to the Web role, it used to execute background processes unlike the Web Role which is used to deploy the website. Worker roles can only communicate with Azure Storage or through direct connections to clients. its like a backend code running instance. eg Azure Functions, AKS (Azure K8s Services)

VM Role – The VM role is used by a user to schedule tasks and other windows services. This role can be used to customize the machines on which the web and worker role is running.

----------------------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment