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
Sign in to Azure:
CODEaz 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" } } ]
Create an Azure Service Principal (SP) by running the following commands:
If you have more than one Azure account, run this command to identify your account:
CODEecho $(az account show --query id -o tsv)
Run this command to ensure you are pointing to the correct Azure subscription ID:
CODEaz account set --subscription "D2iQ Developer Subscription"
If an SP with the name exists, this command rotates the password.
CODEaz 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" }
Set the
AZURE_CLIENT_SECRET
environment variable:CODEexport 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
Ensure you have an override file to configure specific attributes of your Azure image.