Q26. What is a cloud service in windows azure?
A cloud service is an execution model azure offers to execute an application. Similar to Web Sites execution model, the cloud service is also a PaaS offering of Microsoft.
Typical cloud applications contain web roles and worker roles and both these roles are VMs. All these VMs of a particular application can reside in a container called cloud service.
Windows Azure supports two types of roles, web role and a worker role. A web role instance is a Virtual Machine created by the Fabric controller, which contains windows OS and IIS.
A worker role instance is also a VM created by the Fabric controller and contains a copy of the Windows OS. A web role (VM) can host the web application within IIS and is a front end of the application and takes the requests from the user.
Multiple instances of each web role and worker roles is for scalability and availability.
Typical cloud applications contain web roles and worker roles and both these roles are VMs. All these VMs of a particular application can reside in a container called cloud service.
Windows Azure supports two types of roles, web role and a worker role. A web role instance is a Virtual Machine created by the Fabric controller, which contains windows OS and IIS.

A worker role instance is also a VM created by the Fabric controller and contains a copy of the Windows OS. A web role (VM) can host the web application within IIS and is a front end of the application and takes the requests from the user.
Why do we create multiple instances of web roles?
Multiple instances of each web role and worker roles is for scalability and availability.
See More Questions and Answers on - "Azure Cloud Services"
- How to create scalable web application in Azure?
- What is a web role?
- What is a worker role?
- Describe a web role and a worker role in a development scenario?
- How does Azure recognize the number of instances to be created for a cloud application?
- Explain Azure compute environment?
- Explain Azure cloud services execution model?
- List the available virtual machine sizes?
- Developing Azure applications?