With the Pay-As-You-Go plan, Azure provides the capability to scale resources based on your workload demands. You can define scaling rules and thresholds to trigger scale-out or scale-in actions. This means that Azure can automatically adjust the number of instances or resources according to your requirements, allowing for dynamic scaling based on actual demand. Therefore, having higher thresholds may not be necessary if Azure can scale up to meet your needs effectively.
To handle this type of scenarios , Azure provides autoscaling capabilities that allow for automatic scaling up and down based on various metrics. Azure Monitor autoscale can be configured to scale out resources when demand increases and scale in when demand decreases. This ensures that resources are allocated efficiently to meet performance requirements while optimizing costs.
You can set up scaling rules based on metrics such as CPU usage or memory usage, allowing the system to automatically adjust the number of instances as needed. For example, you can configure it to scale out by one instance if the average CPU/memory usage exceeds a certain threshold and scale in by one instance if the usage falls below a specified level.
References:
Please let me know if any further questions
Thanks
Deepanshu