question

DougRixmann-0130 avatar image
0 Votes"
DougRixmann-0130 asked ·

Image and Document Storage - From File System to Storage

Currently using App Service file system to store /pictures and /documents (pdf, doc*, xls*). Essentially our app allows images/docs to be uploaded, and then available back to users as we store the filename and location within our DB.

We're inching towards the quota on that system 40G/50G.

Looking to implement a storage system other than directly on the App Service file system.

Looking for recommendations for:

  1. Storage option

  2. Security implications

  3. Data migration tools

azure-webapps
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ryanchill avatar image
0 Votes"
ryanchill answered ·

Hi @DougRixmann-0130,


Making use of Azure Storage is your best bet. If your app is inside a docker container, you have the ability to mount Azure Files to windows hosted app or mount Azure storage to a linux hosted app. If you're not hosting your app inside a container, that's okay too. The decision you have to make is either using File or Blob.


With regards to security, Azure Storage offers encryption at rest and your application can easily access by using connection strings and storage keys that you retrieve from the portal.


For migration, I'm sure there are several ways to go about it. One example is simply downloading the artifacts from your kudu site; however, the first that comes to my mind would be to investigate utilizing a webjob as part of your app service that will retreive said artificats from your app service and upload them into your storage account.


Hope this helps.


· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.