/daml-azure-deployment-templates

Contains artifacts required for deploying Daml Enterprise via the Azure Portal.

Primary LanguageBicepBSD Zero Clause License0BSD

Daml Azure Deployment Template

Deploy To Azure Visualize

This template deploys an AKS (Azure Kubernetes Service), an instance of Azure Database for Postgres and the associated networking and identities. This template is designed to be deployed as a new canton domain.

Prereqs

  • Azure CLI - Azure command line interface (link)

  • Bicep CLI - Bicep command line interface (link)

    NOTE: By installing AzureCLI you can use bicep by using az bicep

  • Artifactory access - Users will need to procure access to an Artifactory instance provided by Digital Asset. After this follow these steps.


Deploy

To use the bicep directly (non-production), the following should be executed:

az group create --name <desired name for resource group> --location <desired region>

az deployment group create --resource-group <resource group from above> --template-file <path to bicep template> --parameters administratorLogin=<admin username> administratorLoginPassword=<password for admin> company=<company name registered with Digital Asset> version=<version of Canton> username=<email address used when registered with Digital Asset> password=<API key for Artifactory from above>

Build

The source for the solution is created in Bicep, however to use directly in Azure Marketplace, requires ARM (Azure Resource Manager) templates. Bicep can output the required ARM template by executing:

bicep build --file main.bicep