Shared file storage for a web farm

Ben Levy 61 Reputation points
2021-03-02T02:38:33.603+00:00

We have an Azure VM (Windows) hosting our web app on IIS. This is set up behind a load balancer. Currently there is only one web server, but we will add more later.

We need to save files (images and videos) that are accessible to all web servers. These are user files. We will also need this to be backed up. ** Note, hot backups is not required **.

These are compressed (ie size and bitrate) so they are not that large. They are not served up often. About 3 or 4 times per file, but they do need to be maintained.

All our servers are private VM's. No shared services. We will not use any shared services. The only connections are over HTTPS, no RDP or any other connections.

The Azure portal is not super helpful.

My guess is that a Storage Account (LRS is fine) would work. Then just map an IIS Virtual Directory to it (UNC?)

Am I on the correct track?

Also, do I need to set up backups or is this done automatically?

Thanks,
Ben

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,992 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,222 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
{count} votes

Accepted answer
  1. singhh-msft 2,431 Reputation points
    2021-03-03T17:54:17.977+00:00

    In this case, you can use Azure File share.

    Check out Quickstart: Create and manage Azure Files share with Windows virtual machines and Use Azure File Share as Virtual Directory in IIS for the start.

    Further, Azure File Share provides you Scheduled (frequency and retaining period as per your needs) and On-demand backups. Check out Back up Azure file shares for details about these backups.

    In summary, you can set a backup policy, a snapshot of the file shares is taken at the scheduled time. The recovery point is also retained for the chosen period:

    73827-image.png

    Further, to protect your data until the backup policy engages, initiate an on-demand backup:

    73941-image.png


    Please do not forget to "Accept the answer" if the information provided helps you. This will help others in the community as well.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Ben Levy 61 Reputation points
    2021-03-03T17:48:55.863+00:00

    OK.

    Thank you so much.

    This is SO HELPFUL!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.