Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
We have multiple Umbraco sites that we need to migrate from an on-premise to Azure web apps.
Each site has its own /media folder and as all the images require a big storage space (~2gb) and many read/write operations, we thought of using an Azure Storage Account via Blob containers solution for this.
Is it correct to say that using a single Azure Storage Account to serve all the sites' /media folders via Blob containers will cut costs rather than using separate storage accounts for every site?
We've found the UmbracoFileSystemProviders.Azure package which is great, but can't find any details on how to achieve what's stated in the title of this topic.
you can have multiple media folders on the same storage account, what matters in the container name
So when creating the blob storage in azure this is the name of the blob/container (eg. site1-media)
In the FileSystemProviders.config file, everything is the same for all sites except the container name e.g
<add key="containerName" value="site1-media"/>
if you are also pointing image processor at the blob storage, you will need a cache blob/container too (e.g. site1-cache).
in imageprocessor/cache.config :
You will need to update the CachedBlobContainer and SourceBlobContainer values
<setting key="CachedBlobContainer" value="site1-cache"/>
<setting key="SourceBlobContainer" value="site1-media" />
in imageprocessor/security.config :the container value
<setting key="Container" value="site1-media"/>
So for each site everything else stays the same (e.g it still points to the /media folder of the site, and the connectionStings to azure are the same) just the name of the container/blob changes through out the config files.
See : https://our.umbraco.com/documentation/Umbraco-Cloud/Set-Up/Media/ for more detail of the whole setup
Ok, Thanks! Will give it a try and get back.
How can I upload all folder Ids with images (1000, 1001, 1002.... 88889) in one go from a media folder into e.g. site1-media blob container and not separately as there are a lot of them and will take a lot of time?
Using MS Storage Explorer desktop app, but I can only upload one folder at a time?
Using MS Azure Storage Explorer desktop app, but I can only upload one folder at a time?
yeah - the interface is a bit of a pain, but you can drag and drop folders from Explorer on your pc in the blob folder in Storage Explorer, and this will do the multiple folders.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted