Targeted Deployment
Pre-deployment checklist before starting deployment, verify:
Azure subscription ID is correct in
terraform.tfvarsYour IP address is included in
ip_ranges_allowed_to_kubeapiandip_ranges_allowed_kv_accessSSH public key is valid and accessible
LogScale license is valid and not expired
Azure CLI is logged in:
az account showYou have Owner permissions on the target subscription
Resource name prefix is unique (max 8 characters)
Then continue with the installation:
Login to Azure
shellaz loginDeploy Azure Infrastructure
shellterraform init terraform apply -target="module.azure-core" -target="module.azure-keyvault" -target="module.azure-kubernetes" -target="module.logscale-storage-account"Configure kubectl for AKS Configure kubectl using Terraform's automated setup:
shellterraform apply -target="null_resource.kubeconfig_setup" # Verify connectivity kubectl get nodesDeploy CRDs (Custom Resource Definitions)
shellterraform apply -target="module.logscale.module.crds"Deploy Prerequisites (creates namespaces)
shellterraform apply -target="module.logscale.module.logscale-prereqs"Deploy Kafka (optional)
shellterraform apply -target="module.logscale.module.kafka"Deploy storage secret to log namespace
shellterraform apply -target="kubernetes_secret_v1.azure_storage_key"Deploy LogScale (depends on prerequisites and storage secret)
shellterraform apply -target="module.logscale.module.logscale"Complete any remaining resources
shellterraform apply
This targeted deployment process ensures proper dependency management.
Total deployment time is typically 30-45 minutes, but deployment times vary based on:
Azure region capacity and provisioning time
AKS node pool creation and initialization
Container image pulls and startup times
SSL certificate generation via Let's Encrypt
The "advanced" cluster type creates 15 nodes across 6 specialized node pools