Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Azure Blob storage container name be made case insensitive?

We have a picture server with lots of files serving the files over http. They are currently accessed through urls with the format

http://pictures.example.com/Pictures/xx/yyyyyy/zzzzzzzzzzzzzzzzzzzzzzzzzzzzz.jpg

We have a plan to move them to Azure blob storage and since the urls to the current pictures are used in several external systems we would like to keep the urls identical.

In Azure Blob storage the first part of the blob url is the name of the container. Our existing urls are named Pictures/xxx. Container names can, however, only have lowercase letters.

Do I have to create an Azure App Service just for url redirection or is there some way around this?

like image 893
Mathias Rönnlund Avatar asked Jun 08 '17 14:06

Mathias Rönnlund


1 Answers

Blob containers must be lower-case. Blob names can be mixed case.

There is no workaround to this, as it's part of the service.

You mentioned creating an app service for url redirection. Note that, if you choose to access your blobs directly, vs through your app service, you will not be able to perform any redirection.

More info on naming rules here.

like image 76
David Makogon Avatar answered Sep 22 '22 05:09

David Makogon