Linux Azure Plugin

Hi again, is the azure blob storage plugin available to be deployed in my linux ubuntu server? If so, what are the steps and the guide how to do it?
And another question, in terms of speed to get the images, which is better, azure or aws?
Thanks!

Hello,

I believe that the speed and latency (both are important factors) between your Orthanc instance and the object storage API (S3 or Azure Blob storage) will heavily depend on your network configuration, where you are located and what datacenter you connect to.

My personal opinion is that you should definitely perform benchmarks adapted to your particular use case and should not rely on measurements made by other people in possibly wildly different conditions.

Please note that, if speed is really a huge concern, you might want to have a look at S3 Express One (higher, and faster, tier from AWS)

In order to use the plugin that allows storing Orthanc Dicom resources on S3 or Azure Blob Storage, you need to install it to a location where Orthanc can read it and add the required configuration.

If you have installed the official Ubuntu package (sudo apt install orthanc), Orthanc will load all plugins from the /usr/share/orthanc/plugins/ folder (including the built-in libModalityWorklists.so and libServeFolders.so) and you can install the Object Storage plugin there (for Azure and S3)

I believe that there is no such package for Ubuntu, and you either need to:

  • Manually copy the LSB object storage plugin to /usr/share/orthanc/plugins/. You can download the plugin from this page: Orthanc downloads (uclouvain.be)

  • Build the object storage plugin on your own and copy it to /usr/share/orthanc/plugins/

Then you need to configure it according to the instructions that can found in the Book : Cloud Object Storage plugins — Orthanc Book documentation (uclouvain.be)

Let us know how it goes

HTH

Hi @benjamin.golinvaux

Note that the Azure plugin is actually only available in the orthancteam/orthanc Docker images.
There are no LSB build for the Azure and Google plugins and, given the dependencies, there will probably never be …

Alain

Ok, thank you, and a curiosity, as per now i was able to configure the azure blob storage, however, in order to increase the “delivery” of the images, i have created a CDN in the blob storage. How should i need to configure the plugin to get the benefits of CDN when downloading/accesing the images?
Thanks!

You can’t.

And, BTW, I don’t understand what the benefit would be (besides the financial benefit for Azure). A CDN is good at serving a small number files accessed frequently (millions of times a day). Orthanc, in a normal scenario is serving a lot of files (millions) once or twice in the lifetime of the file …