How to setup notification on Azure App Service File System Storage?

Andrea Longhitano 100 Reputation points
2024-07-24T13:12:22.9466667+00:00

Hello everyone,

I would like to know how it's possibile to configure notification for App Service Plan File System Storage.

In the premium plan, in the same resource group and in the same region, it's possible to have 500GB.

I would like to receive notification (via mail) when the file system storage reaches 470Gb for example.

How can I setup this alert? I found this solution https://techcommunity.microsoft.com/t5/apps-on-azure-blog/how-to-setup-file-system-storage-utilization-alert-rule-for-web/ba-p/2438420 on the web but I would like to know if there a simple solution (ex: Using Quotas).

Thank you,
Andrea

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,397 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 17,381 Reputation points
    2024-07-24T19:31:49.4+00:00

    Hello @Andrea Longhitano thanks for the question. Currently, there is not a built-in quota system for Azure App Service Plan file system storage that would allow you setup alerts directly.

    While quotas aren't available for file system storage, you can leverage App Service plan scaling settings as a limited alternative:

    • Set up autoscaling rules in your App Service plan configuration. You can define a rule that triggers a scale-up event when storage usage reaches a specific level (e.g., 90%). This doesn't directly send an email notification, but it automatically scales your App Service plan to avoid hitting the storage limit altogether. Beyond that, the article you shared above is probably the best solution for your scenaior.

    -Grace