I’m working on hosting multiple applications using Azure App Service, and I want to optimize resource usage by enabling Per-App Scaling. My goal is to host a high-density number of apps on the same App Service Plan without performance degradation.
My Setup:
- I’m using a PremiumV3 App Service Plan.
- I have multiple apps running, each consuming different levels of resources.
- Some apps require more scaling (CPU/memory), while others do not.
- Currently, all apps scale uniformly, leading to inefficient resource usage.
What I’ve Tried:
- Enabled auto-scaling based on CPU usage, but this approach scalesall apps simultaneously, regardless of their individual needs.
- Reviewed Azure documentation for Per-App Scaling, but I’m not clear on how to implement it correctly.
Sample Example:
Here’s an example scenario:
- App A consumes a significant amount of CPU and memory due to heavy computational tasks.
- App B is a lightweight web app that handles low traffic.
- I want to configure App A to scale up to more instances under load, while App B remains unaffected, ensuring efficient resource allocation.
What I Expect:
I would like to scale individual apps independently within the same App Service Plan, ensuring that high-resource-consuming apps don’t impact the performance of smaller apps. How can I configure Per-App Scaling in Azure to achieve this?
Any examples, configurations, or best practices would be greatly appreciated!