Here in this article, you are going to have a brief introduction on what is an app service? and how to use it effectively.
What is an App Service?
The App Service is a service which hosts five kinds of applications they are: web applications, Mobile Apps, Logic Apps, API Apps, and Function Apps
Every app runs in its own app service. When you check for in the Azure portal to see your website, you will look after for the app service in which it is running. you can also learn more in Azure certification
What is an App Service plan?
An App Service plan defines what are the capacities and resources to be shared in-app services that are assigned to that execute. The following are some of the criteria you can define when creating an App
While creating an app you can check for following like location, instance count, pricing tier whether it is free or standard premium, Memory, Number of instances, Number of cores, etc.
When you deploy your first app service, you want to specify which App Service plan you want to run and use. At deployment time, you can choose an App Service plan that you have created or else you can also create a new plan. Learn more in Microsoft Azure training
How does this help you?
By using infrastructure as a service (IaaS), you can build your own virtual machines (VMs), Later you can deploy your apps to them, and deal with the IIS setup and application pools. Then, next time you change an app, you have to deploy it to all the VMs again. If you scale it out, and you have four VMs or eight VMs, it just becomes more crushing. With IaaS service, you can use the continuing management of your service. Using App Service plans you can enable to run multiple applications on one set of VMs, even if each of the applications is deployed separately.
For instance, consider you have six websites and three mobile apps that you want to host. You could run each one on its own VM, which would require 9 VMs. If you wanted to use (recommended), that would require 18 VMs. Even if you try to choose small instances, the cost adds up really high. and you have to scale each set of VMs separately.
If you could run those nine applications on the same set of two VMs, it would be more cost effective and easier to manage. This is what using App Service plans does for you. You can set up a single App Service plan with a specific VM size, number of instances, etc. In this way you then, now build the nine applications, specifying the same App Service plan for each one. This results in all nine applications running on that same set of two VMs. You can easily build and develop each of the application as needed. You don’t have to update them all at the same time.
Conclusion: Thus by using app service plans you can host in the same Virtual machine. So you can run many applications in the same VM. This helps to save a lot of money to deploy other resources. You can also learn more in azure training