Easily deploy ThingPark Enterprise (TPE) with Azure Resource Manager (ARM) template.
- Actility-TPE-<segment>-Deploy.json: Azure Resource Management (ARM) templates.
For more details about the hardware sizing segments, please refer to the ThingPark Enterprise documentation
- Azure account
- Azure command line interface (CLI) (https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)
- Actility shared compute gallery informations, contact us:
- Application (client) ID
- Secret value
- Actility tenant ID
The ThingPark Enterprise ARM template will deploy an Azure Image available in a shared Azure Compute Gallery.
Replace <your Tenant ID> with the tenant ID who wants to use the image gallery. Replace <Application (client) ID> with the application ID provided by Actility. When done making the replacements, paste the URL into a browser and follow the sign-in prompts to sign into your account.
https://login.microsoftonline.com/<your Tenant ID>/oauth2/authorize?client_id=<Application (client) ID>&response_type=code&redirect_uri=https%3A%2F%2Fwww.microsoft.com%2F
Create a contributor role for the application in the resource group where you will deploy Thingpark Enterprise
- Select the resource group and then select Access control (IAM). Under Add role assignment select Add.
- Under Role, type Contributor.
- Under Assign access to:, leave this as Azure AD user, group, or service principal.
- Under Select type actility_operation_gallery then select it when it shows up in the list. When you are done, select Save.
Sign in the service principal for Actility tenant using the application ID, Secret and the Actility tenant ID:
az account clear
az login --service-principal -u '<Application (client) ID>' -p '<Secret>' --tenant '<Actility tenant ID>'
az account get-access-token
Sign in the service principal for your tenant using the application ID, Secret and your tenant ID:
az login --service-principal -u '<Application (client) ID>' -p '<Secret>' --tenant '<your tenant ID>'
az account get-access-token
az deployment group create --name tpeDeploy --resource-group <your-resource-group> --template-file Actility-Tpe-XS-Deploy.json --aux-tenants <Actility tenant ID>