Azure (AKS)
Run Zerve's compute and storage in your own Azure account, on your existing AKS cluster.
This guide sets up bring your own cloud on Azure. Your code runs on your existing AKS cluster, and your data is stored in your own storage account.
What you'll set up
A storage account and blob container
Stores block outputs, variables and files
A container registry
Stores environment images
An application service principal
Represents Zerve in your tenant, created by registering Zerve's multi-tenant app. It's authorized to do things such as schedule compute jobs and manage storage.
An execution managed identity
The identity your code runs as. Grant it access to other Azure resources your code needs.
A build managed identity
The identity environment builds run as, with access to the blob container and container registry
Zerve's Helm chart, on your AKS cluster
Sets up the permissions Zerve needs in your cluster
A template creates most of these for you.
Before you start
Your AKS cluster needs:
Kubernetes version 1.28 or higher
Workload Identity enabled
Microsoft Entra integration enabled. Zerve signs in to the cluster as its service principal, and Kubernetes decides what it can do.
You'll also need:
The
azCLIkubectl, pointing at the AKS cluster you'll use for Zervehelm
1. Choose your subscription
Point the az CLI at the subscription where Zerve's resources should be created:
2. Add Zerve's service principal
Register Zerve's app in your tenant, and save its ID:
3. Create the resources
Create a resource group for Zerve. For best performance, put it in the same location as your AKS cluster:
Set these to identify your AKS cluster:
Deploy Zerve's Azure Resource Manager template as a deployment stack. It creates the storage, registry and managed identities:
4. Connect your AKS cluster
Get the IDs of the managed identities the template created:
Install Zerve's Helm chart, which sets up the permissions Zerve needs in the cluster:
5. Connect Zerve to your account
In Zerve, go to Settings → Self-Hosting and fill in:
Tenant ID
The tenant ID of Zerve's service principal
Storage Account Name
From the deployment stack's outputs
Bucket Name
From the deployment stack's outputs
Image Registry
The container registry's login server, from the deployment stack's outputs
Namespace
zerve
Endpoint
Your AKS cluster's control plane endpoint
Service Account Token
Leave empty
Certificate Authority Data
The base64-encoded certificate for your AKS cluster's control plane (see below)
To see the deployment stack's outputs:
To find the certificate authority data:
Save the settings. Your organization's code now runs on your AKS cluster.
Last updated
Was this helpful?
