Microsoft Azure provides multiple ways to deploy your applications to the Azure cloud one is Azure App Services another is Cloud Services both two are most popular and easiest, ways to deploy your applications. They both support web applications and background service type applications.
Microsoft Azure App Services is a platform as a service (PaaS) offering. Azure runs App Services on a fully managed set of virtual machines in either a dedicated or shared mode and it is totally based on your App Service Plan.
Basically four types of App Services:
1. Web App – It is used for hosting websites and web applications
2. API App – It is used for hosting the RESTful APIs
3. Logic App – It is used for business process automation, system integration and sharing data across clouds
4. Mobile App – It is used for hosting mobile app back ends
Benefits of Azure Web App:-
→ Very easy and much faster deployment than Cloud Services
→ Deployment slots are available free of cost
→ Built-in A/B testing features
→ Can combine multiple applications together to save money
→ Extendable with Site Extensions
Cloud Services: Web & Worker Roles
Cloud services are Microsoft Azure Platform as a service (PaaS) offering. They provide the ability to deploy web apps (web roles) and background services (worker roles) onto Azure virtual machines. Azure handles all of the initialization of the servers, deployment to them, Windows Updates, etc.
Web Roles are used for hosting web applications. Worker Roles are used for hosting background services, similar to Windows Services.
Benefits of Cloud Services:
→ Can pick from several Virtual Machine sizes
→ Full server administrator access
→ Can install a wide array of software on the server itself
→ Full access to Windows performance counters and Event Tracking Window