- I assume that an App Service as part of an App Service Plan
- could have methods not all in the same language.
Someone I work with stated you should have 2 App Services, e.g. one for python and one for Scala.
Is this so?
Someone I work with stated you should have 2 App Services, e.g. one for python and one for Scala.
Is this so?
2
Answers
Correct, you will need different App Services per runtime/language. They can share the same App Service Plan, if the runtime is supported by the Operating System of the App Service Plan.
A linux based App Service Plan gives the most choices, according to the docs
If your runtime is not listened you could run a custom container on Azure Web App, see the docs:
If web apps is a no go due to supported runtimes or other reasons there is a myriad of other options to host your api:
For simple api’s azure functions could also be a cost effective solution.
No
You can have more than one app running on app service, each app runs in its own sandbox. Note that you will be charged on collective usage of resources on your app service. Although I can understand why one would want two independent app service plans – management is much simpler. You can scale your services independent of each other. If service A is being consumed 10 times more than service B, you have the flexibility of scaling it independently of the other service with it being on separate plan.
App service vs. VM – https://karansinghreen.medium.com/azure-virtual-machine-or-azure-app-service-which-one-should-you-choose-d4ba7d4a120d
VMs are preferable solution in certain scenarios. Not all languages are supported on app service plans.
Read more here about app services – https://learn.microsoft.com/en-us/azure/app-service/overview