Hi Iheb Jendoubi,
You are on a Premium v3 (P0v3) App Service Plan that charges by the hour, regardless of app usage. Even if your apps run for only 10 hours a day, you will still be billed for all 24 hours, as the plan cannot be paused
or scaled to zero
.
- You can use
Azure Logic Apps
or Azure Automation to automatically scale your App Service Plan down during off-hours (like evenings and weekends) and back up during business hours. While you can't fully pause the plan, you can switch to acheaper tier at night
and back to Premium during the day. - Use Azure
Automation Runbooks
or AzureLogic Apps
with a scheduled trigger to automate scaling your App Service Plan. Scale down from P0v3 to B1 (or a cheaper tier) at 6:00 PM, and scale back up from B1 to P0v3 at 8:00 AM usingAzure REST API
orPowerShell
. - If your applications can be containerized, consider migrating them to Azure
Container Apps
or AzureFunctions
. These services offerserverless
pricing, where you only pay for the execution time. - If you plan to use these apps long-term, Azure's
Reserved Instances
andSavings Plans
for App Service Premium V3 cansave you up to 55%
compared to pay-as-you-go pricing.
Please accept as "Yes" if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.
Let me know if you have any further Queries.