domino logo
About DominoArchitecture
Kubernetes
Cluster RequirementsDomino on EKSDomino Kubernetes Version CompatibilityDomino on GKEDomino on AKSDomino on OpenShiftNVIDIA DGX in DominoDomino in Multi-Tenant Kubernetes ClusterEncryption in Transit
Installation
Installation ProcessConfiguration ReferenceInstaller Configuration ExamplesPrivate or Offline InstallationCustom Certificatesfleetcommand-agent Release NotesInstall Script Downloads
Azure Deployments
Prepare to InstallProvision Infrastructure and Runtime EnvironmentDeploy DominoKubernetes Upgrade Guide
Google Cloud Deployments
Prepare to InstallProvision Infrastructure and Runtime EnvironmentDeploy DominoKubernetes Upgrade Guide
Amazon Web Services Deployments
Prepare to InstallProvision Infrastructure and Runtime EnvironmentDeploy DominoKubernetes Upgrade Guide
Configuration
Central ConfigurationNotificationsFeature FlagsChange The Default Project For New UsersProject Stage ConfigurationDomino Integration With Atlassian Jira
Compute
Manage Domino Compute ResourcesHardware Tier Best PracticesModel Resource QuotasPersistent Volume ManagementAdding a Node Pool to your Domino ClusterRemove a Node from Service
Keycloak Authentication Service
Operations
Domino Application LoggingDomino MonitoringSizing Infrastructure for Domino
Data Management
Data in DominoData Flow In DominoExternal Data VolumesDatasets AdministrationSubmit GDPR Requests
User Management
RolesManage UsersView User InformationRun a User Activity ReportSchedule a User Activity Report
Environments
Environment Management Best PracticesCache Environment Images in EKSImages From Authenticated External Registries
Backup and Restore
Backup StructureBackup LocationCustomize BackupsRun a Manual, On-Demand BackupRestore backups
Control Center
Control Center OverviewExport Control Center Data with The API
Troubleshooting
domino logo
About Domino
Domino Data LabKnowledge BaseData Science BlogTraining
Admin Guide
>
Installation
>
Azure Deployments
>
Provision Infrastructure and Runtime Environment

Provision Infrastructure and Runtime Environment

Use this topic to provision infrastructure with Microsoft Azure. After the infrastructure is in place, you can deploy Domino on Azure Kubernetes Service (AKS).

Note
Orchestrate the installation
  1. To start a VM in your Azure environment before you have a dedicated bastion or Azure VM, use Azure Portal or Azure CLI to run the following:

    az vm create \
    --resource-group $RG_NAME \
    --name bastion \
    --image UbuntuLTS \
    --admin-username azureuser \
    --generate-ssh-keys
  2. Sign in to the VM.

  3. Install the packages:

    apt update
    curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
    curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
    curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
    curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
    mv kubectl /usr/local/bin
    chmod +x /usr/local/bin/kubectl
    apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
    apt-get update && sudo apt-get install terraform
    apt install -y containerd docker.io
  4. Add azureuser to the Docker group:

    +usermod -a -G docker azureuser
  5. Sign out for the group change to take effect:

    logout
  6. Sign in to the VM again.

  7. Sign in to Azure:

    az login
Provision your infrastructure with Domino’s Terraform module

Domino recommends that you use our public-facing Azure-specific Reference Terraform module. You can also reference this module to manually provision the environment and infrastructure.

  1. Create a resource group in your Azure subscription.

  2. Open the main.tf file and edit the following attributes:

    • azurerm.subscription_id: ID of the subscription where the AKS will be deployed.

    • domino-aks.api_server_authorized_ip_ranges: The IP ranges to allow incoming traffic into the server nodes. Enter null to allow all traffic.

    • domino-aks.resource_group: The name of the resource group that you created in the previous step.

    • domino-aks.cluster_name: The name of the AKS cluster to create.

    • domino-aks.kubernetes_version: The Kubernetes version must be 1.22.x.

    • domino-aks.node_pools.compute.vm_size (optional): Update if you don’t want to use DS8_v2 SKU.

    • domino-aks.node_pools.compute.gpu (optional): Update if you don’t want to use the NC6s_v3 SKU.

    • domino-aks.node_pools.compute.platform (optional): Update if you don’t want to use the DS8_v2 SKU.

  3. To initialize the modules, run the following command in the same folder as main.tf:

    terraform init
  4. To start the infrastructure deployment, run the following commands:

    terraform plan -out=terraform.plan
    terraform apply terraform.plan
Tip
Note
Domino Data LabKnowledge BaseData Science BlogTraining
Copyright © 2022 Domino Data Lab. All rights reserved.