Skip to main content
Skip table of contents

Azure Install

For an environment that is on the Azure Infrastructure, install options are provided for you in this one location. Remember, there are always more options in the Azure Infrastructure section under Custom Installation and Additional Infrastructure Tools , but this will get you up and running in the most common scenario.

If not already done, refer to Get Started section of the documentation for:

Azure Prerequisites

  1. Sign in to Azure:

    CODE
    az login
    CODE
    [
      {
        "cloudName": "AzureCloud",
        "homeTenantId": "a1234567-b132-1234-1a11-1234a5678b90",
        "id": "b1234567-abcd-11a1-a0a0-1234a5678b90",
        "isDefault": true,
        "managedByTenants": [],
        "name": "D2iQ Developer Subscription",
        "state": "Enabled",
        "tenantId": "a1234567-b132-1234-1a11-1234a5678b90",
        "user": {
          "name": "user@azuremesosphere.onmicrosoft.com",
          "type": "user"
        }
      }
    ]
  2. Create an Azure Service Principal (SP) by running the following commands:

    1. If you have more than one Azure account, run this command to identify your account:

      CODE
      echo $(az account show --query id -o tsv)
    2. Run this command to ensure you are pointing to the correct Azure subscription ID:

      CODE
      az account set --subscription "D2iQ Developer Subscription"
    3. If an SP with the name exists, this command rotates the password.

      CODE
      az ad sp create-for-rbac --role contributor --name "$(whoami)-konvoy" --scopes=/subscriptions/$(az account show --query id -o tsv) --query "{ client_id: appId, client_secret: password, tenant_id: tenant }"
      CODE
      {
        "client_id": "7654321a-1a23-567b-b789-0987b6543a21",
        "client_secret": "Z79yVstq_E.R0R7RUUck718vEHSuyhAB0C",
        "tenant_id": "a1234567-b132-1234-1a11-1234a5678b90"
      }
  3. Set the AZURE_CLIENT_SECRET environment variable:

    CODE
    export AZURE_CLIENT_SECRET="<azure_client_secret>" # Z79yVstq_E.R0R7RUUck718vEHSuyhAB0C
    export AZURE_CLIENT_ID="<client_id>"               # 7654321a-1a23-567b-b789-0987b6543a21
    export AZURE_TENANT_ID="<tenant_id>"               # a1234567-b132-1234-1a11-1234a5678b90
    export AZURE_SUBSCRIPTION_ID="<subscription_id>"   # b1234567-abcd-11a1-a0a0-1234a5678b90

     

  4. Ensure you have an override file to configure specific attributes of your Azure image.

Next Step:

Azure: Create Image

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.