Let us continue with the next diagram and the other elements of the Cloud Services architecture. These elements are called roles and they are created by the service definition file and the code assets.
Each role is an instance of the Cloud Service itself (or at least a part of it). In your planning of the Azure Cloud Service, you should therefore consider which task is associated with a role, how often this task is performed, and, per these findings, determine the number of suitable role instances.
There are currently two options for the roles available:
- WebRoles
- WorkerRoles
The term WebRoles is referred to Cloud Service instances which are running on a Windows VM with an installed IIS and the term WorkerRoles refers to Cloud Service instances which are running on a Windows VM without an installed IIS.
Those roles have specific tasks and workload which we will detail in the following part.
While instances of the WebRoles serve the actual hosting of your web apps, WorkerRoles...