How to set up Cloudimage using Microsoft Azure Blob as a storage?

You can configure the Storage alias for your Azure blob storage in the Cloudimage Admin panel.

In the menu Settings -> Storage, you need to click on Connect External Storage:

mceclip1.png

Then choose Azure Blob:

Screenshot_2021-10-15_at_14.43.29.png

In the popup screen you need to fill in the corresponding values - blob name , container and Cloudimage Alias.

Example:

If your Azure blob storage container is located on address //my_blob.blob.core.windows.net/my_container/ then:

      • blob name = my_blob
      • container = my_container
      • Cloudimage alias - you may choose whatever name you want, but do not forget to prefix and suffix it with double underscores = __somealias__

In case that your blob requires authentication, you have to enter you SAS token (found in your Azure panel) in the respective field. Please keep in mind that the SAS token has an expiration date and you have to generate a new one and update it before it expires. Otherwise, our servers will not be able to fetch your media from the storage.

mceclip2.png

The container path can contain a sub-folder chain. That can make the URL even shorter when you would like to share only files within a specific folder in your container. 
For example - you can create dedicated storage aliases for different environments:
- production
- staging
- testing
mceclip2.png

You may create additional Storage aliases using the "+" button.

After completion of this step, press Save. The configuration takes 1-2 minutes to be deployed to our servers.


Now, if the original image is located on
https://my_blob.blob.core.windows.net/my_container/my_image.jpg,
you can use the following Cloudimage URL:

https://token.cloudimg.io/v7/__somealias__/my_image.jpg 

 

In case that the Cloudimage Domain Whitelisting is enabled, please do not forget that the new Storage alias needs to be whitelisted too:

mceclip3.png

Please note that all aliases have to be unique for your account - aliases set in the Storage sections cannot be used in the alias section.

If you have any questions or issues, please feel free to contact our Software Engineer and mention the following details:

    • Token
    • Short description of the issue (including URLs, screenshot, short video if available)
    • Steps to reproduce the issue.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.