Skip to main content

Storage with Azure

This guide describes how to create a storage account in Microsoft Azure. You can use a storage account with Axinom Encoding as an input and/or output storage.

To create an Azure storage account:

  1. On the Azure Portal, click the three bars in the top left corner to open the menu. From the menu, click Create a resource.

    Start creating a resource

    width=1000

  2. On the next page, click Storage. A list of services appears to the right. From this list, pick Storage account and click Create.

    Start creating a storage account

    width=1000

  3. You will be redirected to a Create a storage account page. Select your subscription and a resource group. You should give a unique storage account name and then you can create your Storage account.

    Create storage account

    width=1000

  4. After the reviewing and the creating a storage account, you can find the created storage account from the Storage account list.

  5. Create a container in your storage account (in the left pane, "containers" under "Data storage"). You may want to create separate containers for video input and output.

    Create Container for Storage account

    width=1000

  6. The SAS Token that allows to list and upload (but not read/download) files must be generated with specific permissions. The management token is responsible for two operations:

    • Listing folders

    • Uploading a file to the storage

      To allow these operations, navigate to your Storage account in the Azure Portal. From there, go to Security + networking and Shared access signature. Then you need to select the necessary permissions from the Permissions drop down. The following permissions must be set:

    • Allowed services - Blob

    • Allowed resource types - Container and Object

    • Allowed permissions - Write and List

    • The End date has to be at some point in the future

      SAS token setup example

      SAS Token

  7. To retrieve the Access keys for a storage account, go to the Azure Portal and your Storage Account. Navigate to Security + networking → Access keys, click Show keys, and get a connection string, similar to one below:

    DefaultEndpointsProtocol=https;AccountName=examplestoragename;AccountKey=pCFqwDE0AwVa3LS4Fg3ypAqHbCFTidv6kbtDbDfGWb2wwRaL7F7kccze3OAVAHLSZn+QwId5SaCMy1vUPWlBIQ==;EndpointSuffix=core.windows.net

    Both "AccountName" and "AccountKey" can be taken from here.

  8. Note: if you use the blob storage as an output storage for encoded videos you can enable public access to allow the video streaming for your consumers and for editors in the management system to preview the encoded videos. Never do this for the source blob storage though!