Regarding disk storage and blob storage in App Service Environment

Nitesh Singh 1 Reputation point
2021-01-25T08:21:55.353+00:00

I would like to check for any available guidelines on when to use web app dis space for storing files or using azure blob ?

I have a below requirement.

  1. My asp.net app which is in on-prem server will generate some reports in PDF
  2. PDF's need to store in some where in Azure ( after migration) by asp.net app e.g FolderX

Is it advisable to use disk space provided by app service plan to store reports and files?

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

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 15,866 Reputation points Microsoft Employee
    2021-01-26T03:52:07.48+00:00

    @Nitesh Singh Thank you for your interest in Azure.

    This is one of those questions that if you ask three people, you'll receive three different replies because I'm not really sure there is a wrong answer per se.

    With that being said, it's typically a good practice to think about the future and scalability. While you can store your generated PDF on the local web app, if you start generating, viewing, reading, editing, many of these files at the same time in the future, this is the same disk that will be serving up your site files to your customers.

    For this reason, I suggest keeping your web app local storage to be used for serving up your site files to your site visitors and then placing any files generated on a service that can scale out to handle large libraries of files such as Azure Blob Storage. This way your web app can scale in and out based on the number of visitors to your site and keep your site online and Azure Blobs, which was design to handle files storage and processing can carry that additional load.

    0 comments No comments