Microsoft Azure

Azure storage


Overview

Microsoft Azure support is included with REX-Ray as well.

Azure Unmanaged Disk

The Microsoft Azure Unmanaged Disk (Azure UD) driver registers a driver named azureud with the libStorage service registry and is used to connect and mount Azure unmanaged disks from Azure page blob storage with Azure virtual machines.

Requirements

Configuration

The following is an example with all possible fields configured. For a running example see the Examples section.

azureud:
  subscriptionID: abcdef01-2345-6789-abcd-ef0123456789
  resourceGroup: testgroup
  tenantID: usernamehotmail.onmicrosoft.com
  storageAccount: username
  storageAccessKey: XXXXXXXX
  clientID: 123def01-2345-6789-abcd-ef0123456789
  clientSecret: XXXXXXXX
  certPath:
  container: vhds
  useHTTPS: true

Configuration Notes

Runtime Behavior

Activating the Driver

To activate the Azure UD driver please follow the instructions for activating storage drivers, using azureud as the driver name.

Troubleshooting

Examples

Below is a full config.yml that works with Azure UD

libstorage:
  # The libstorage.service property directs a libStorage client to direct its
  # requests to the given service by default. It is not used by the server.
  service: azureud
  server:
    tasks:
      exeTimeout: 120s
    services:
      azure:
        driver: azureud
        azureud:
          subscriptionID: abcdef01-2345-6789-abcd-ef0123456789
          resourceGroup: testgroup
          tenantID: usernamehotmail.onmicrosoft.com
          storageAccount: username
          storageAccessKey: XXXXXXXX
          clientID: 123def01-2345-6789-abcd-ef0123456789
          clientSecret: XXXXXXXX

Caveats