Docs
relyance.ai ↗
Browse docs

Deploy Outpost on Azure AKS

Updated November 23, 2026View as Markdown ↗

Outpost runs inventory and data inspection workers on Azure Kubernetes Service (AKS) in your Azure subscription. Use Outpost AKS module version 0.1.0 to provision the infrastructure. After enrollment, Relyance supplies a private onboarding ZIP with the Terraform configuration, shared Outpost Helm chart, and pinned container images for your installation.

Confirm with Relyance that AKS enrollment and the intended connector are available in your target environment before provisioning. Agree on which scan capabilities you will verify, including inventory and data inspection where both are in scope.

Before you start

  • Use Terraform 1.10 or later, Azure CLI authentication to the target subscription, and kubectl with Azure kubelogin for your registered cluster context.
  • Confirm the subscription, Azure region, VM quota, networking, and access to the Azure Container Registry (ACR), Azure Key Vault, and approved Blob Storage locations. Use the provisioner's standard capacity profile for inventory and confirm that the configured nodes fit the workloads.
  • Obtain the hosted reader's numeric identity from Relyance and agree on the approved storage paths and network access for output transfer.

Provision Azure infrastructure

Download and verify the versioned provisioning archive. The archive retains the provider lock file and includes the example variable files for Azure installations.

mkdir outpost-aks-provisioning
cd outpost-aks-provisioning
release_url=https://assets.relyance.ai/terraform/modules/relyance/aks/azurerm/releases/v0.1.0
curl -fsSLO "$release_url/module.zip"
curl -fsSLO "$release_url/README.md"
curl -fsSLO "$release_url/SHA256SUMS"
shasum -a 256 -c SHA256SUMS
unzip -q module.zip -d installation
cd installation

Use the archive's example variable file for your intended installation and enter the reviewed subscription, region, network, capacity, and identity settings. Configure the protected Terraform backend before provisioning. Initialize with the included lock file, validate the configuration, and review the saved plan before applying it.

terraform init -lockfile=readonly
terraform validate
terraform plan -out=outpost-aks.tfplan
terraform apply outpost-aks.tfplan

This creates the AKS cluster and node pools, managed identities, ACR, Key Vault, and separate Azure Storage locations for scan work and findings. If you enable inventory, it also provisions the inventory and outbox containers.

Configure workload identity, credentials, and enrollment

  1. Confirm that the planned Kubernetes service account is federated to the Azure workload managed identity through the cluster's OIDC issuer. Use the workload identity and storage grants from the approved installation so workers can reach only the required Azure resources. Give the AKS kubelet identity pull access to the installation ACR.
  2. Store source credentials in the installation's Key Vault for connections that require them. Grant the workload identity access to the required secrets and share only secret references with Relyance. For a source that uses workload identity directly, verify that identity has access to the specific source containers or resources in scope.
  3. Send the applied nonsecret installation outputs through your agreed onboarding channel. Relyance configures the hosted queue and identity bindings, enrolls the Outpost deployment, and verifies that the hosted reader can access the agreed inventory and findings outputs. The reader has a separate identity from the workers.
  4. Mirror the approved images to the installation ACR as directed during onboarding, and verify the digests. Relyance uses the accepted registration and those immutable image references to prepare your private onboarding ZIP.

Install Outpost from the onboarding ZIP

Extract the onboarding ZIP into a separate installation directory and verify its SHA256SUMS. Follow its INSTALL.md to set TF_VAR_kubeconfig_path and TF_VAR_kube_context for your registered AKS cluster. Use separate protected Terraform state for this step.

shasum -a 256 -c SHA256SUMS
terraform init -lockfile=readonly
terraform validate
terraform plan

The initial plan holds the deployment. After Relyance confirms the accepted registration, identities, networking, and image access, review and apply the activation plan as described in the ZIP.

export TF_VAR_live_verification_ack=true
export TF_VAR_deploy_inhost=true
terraform plan -out=install.tfplan
terraform apply install.tfplan

Check the Outpost deployments and KEDA ScaledJobs in the namespace supplied in your handoff. Verify that the pods use the expected images from your ACR and that any initially idle scan jobs start when work arrives.

kubectl --kubeconfig "$TF_VAR_kubeconfig_path" --context "$TF_VAR_kube_context" \
  --namespace "$OUTPOST_NAMESPACE" get deployments,scaledjobs,pods

Verify the first scan

Create the agreed Outpost connection in Relyance, associate it with your enrolled AKS deployment, and run a small scan of a known source. Check the same scan at each step.

  1. Confirm that AKS workers start, reach the source using the expected identity or Key Vault credential reference, and complete their work.
  2. Verify that the expected inventory and findings are written to their approved Azure Storage locations. Verify both when both capabilities are enabled for the connector.
  3. Confirm with Relyance that the hosted reader copies the outputs and that the scan completes with results visible in the application.

For source connection information, see Microsoft Azure and Azure Blob Storage.