Using Azure Storage

The following sections show how to work with the Azure command line interface (cli) to manipulate files and settings as well as how to setup the Unified Storage Proxy.

Using the Azure CLI

First setup the Azure CLI interface.

The cli interface allows to list available storage accounts:


az storage account list

as well as create accounts and containers:


az storage account create -n your-bucket -g your-bucket -l westeurope --sku Standard_LRS
az container create -g your-bucket -n your-bucket --image myimage:latest --cpu 1 --memory 1

You can configure the default subscription using;


az account set -s NAME_OR_ID

Files have to be copied individually to copy them as blob to the container:


cd tears-of steel
for f in *; do
  az storage blob upload -a your-bucket -k KEY "${f##*/}" tears-of-steel "${f##*/}"

Containers can also be deleted:


az container delete --name tears-of-steel --resource-group your-bucket

The endpoint then is the following:

To list containers and blobs:


az storage container list -a your-bucket -k KEY
az storage blob list -a your-bucket -k KEY tears-of-steel

Please note that permissions should be set on content before it can be accessed:


az storage container set -a your-bucket -k KEY -p Container tears-of-steel

For further options and possibilities please refer to the Azure documentation.

Using the Storage Proxy

Following the storage proxy Installation documentation, the just created bucket and uploaded content can be streamed by adding the UspEnableSubreq directive and defining <Proxy> sections for each remote storage server used.

<Location "/">
  UspHandleIsm on
  UspEnableSubreq on

SSLProxyEngine on

<Proxy "">
  ProxySet connectiontimeout=5 enablereuse=on keepalive=on retry=0 timeout=30 ttl=300

The URL to the content then becomes the following, for instance for MPEG-DASH:

where is the webserver running USP and has the previous vhost snippet (and the tears-of-steel content in 'your-bucket' used with both IsmProxPass and Proxy directives.


For guidelines on howto use Unified Packager with Azure Storage see How to write directly to Azure Blob Storage.