Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is a Microsoft.Web/serverfarms resource required for hosting a website?

I'm tutoring myself on Azure Resource Manager and Azure Resource Group template files. I'm using the Azure SDK v2.6. I'm intrigued to know why, when I pick a WebSite template, it contains a Microsoft.Web/serverFarms resource. Given that Azure Web Sites is a PaaS offering why do I need to care about the notion of a server farm?

Just interested to know that's all.

like image 899
jamiet Avatar asked Jun 03 '15 15:06

jamiet


2 Answers

That's just the resource provider name for the Web Hosting Plan, now called App Service Plan.

like image 196
BenV Avatar answered Nov 08 '22 11:11

BenV


The App Service plan defines the virtual machines that run the Web Site.

You can have a number of applications running within an App Service Plan, Web apps, Logic apps, API apps. Every app running will take a share of the performance that is available to the Service Plan.

You can consider the Web Site to be a single site under IIS, before you can deploy a site to IIS you need a server to host IIS on. That is what the App Service plan / serverfarm provides.

like image 7
Michael B Avatar answered Nov 08 '22 10:11

Michael B