> ## Documentation Index
> Fetch the complete documentation index at: https://docs.e6data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Preflight checks

> Check your Azure subscription, network and AKS cluster are ready for e6data before the install, using a readiness checklist and read-only commands.

How-to guideApplies to: CloudPrem on Azure

Complete this checklist before any install step. Each item says how to check it and what to do if it fails. The check IDs (such as Z-03 or N-01) point to the read-only commands in [Run the preflight commands](#run-the-preflight-commands) further down this page.

> [!WARNING]
>
> Quota increases and firewall changes are the two items that delay installs most. Quota increases can take time. Start both first.

## How to use this page

1. Work through each group in the checklist. Tick an item only when its check passes.
2. For any item you can't tick, apply the fix in the item, or write down why it doesn't apply.
3. Run the preflight commands and record one line per check: `PASS`, `WARN` or `FAIL`, the value seen, and the fix.
4. Send the results to e6data with the details listed in [Prerequisites](https://docs.e6data.com/platform/deploy/azure-cloudprem/prerequisites.md).

## Readiness checklist

### 1. Cloud account

* [ ] **One subscription in one Entra tenant chosen for e6data.** Check: Z-01. If it fails: agree the subscription with your cloud team before anything else.
* [ ] **Region chosen, and it is the region of your data.** Pick the region where your storage accounts are. Check: Z-01. If it fails: you can run in another region, but cross-region transfer is charged per GB and adds latency. See [Sizing and cost](https://docs.e6data.com/platform/deploy/azure-cloudprem/sizing-and-cost.md).
* [ ] **Resource providers registered.** Check: Z-02. If it fails: register the missing providers (`az provider register --namespace <name>`).

### 2. Quotas and machine types

* [ ] **vCPU quota covers your planned cluster sizes.** Per-family vCPU quota and "Total Regional vCPUs". Check: Z-03. If it fails: request an increase under Usage + quotas. Use the vCPU totals on [Sizing and cost](https://docs.e6data.com/platform/deploy/azure-cloudprem/sizing-and-cost.md).
* [ ] **The VM sizes in your release are offered in your region and zones.** e6data's default release uses arm64 VMs (Ampere Altra v5 and Cobalt 100 v6 "p" sizes). Check: Z-04. If it fails: choose another region or zone, or ask e6data for an alternative size.
* [ ] **Your policies allow arm64 VM sizes.** Check: Z-04 and Z-07. If it fails: allow the sizes. There is no standard x86 release on Azure today.

### 3. Network

* [ ] **AKS subnet with enough free IPs.** One AKS subnet (Azure subnets span zones). Check: Z-05. If it fails: enlarge the subnet or use a new one. Sizes are on [IP address sizing](https://docs.e6data.com/platform/deploy/azure-cloudprem/ip-address-sizing.md).
* [ ] **Outbound HTTPS reaches every required host.** Check: N-01. If it fails: allow the hosts on [Hostnames and ports](https://docs.e6data.com/platform/deploy/azure-cloudprem/hostnames-and-ports.md) in your firewall.
* [ ] **Hosts you deny are rejected at once, not silently dropped.** Check: N-02. If it fails: configure the firewall to reject (for example HTTP 403 or a TCP reset). A silent drop makes the e6data console restart in a loop.
* [ ] **Pod networking is Azure CNI overlay with Cilium (the tested default).** If you run your own Cilium, check with e6data before the install. Check: Z-06 (`networkPlugin`, `networkPluginMode`, `networkDataplane`). If it fails: pod networking can't be changed on an existing cluster; use a new cluster.
* [ ] **The Kubernetes service range and the pod overlay range don't overlap any network the pods must reach.** Check: Z-06. If it fails: the ranges can't be changed on an existing cluster. Use a new cluster with free ranges.

### 4. Permissions

* [ ] **The person or pipeline running the install has the install roles.** Check: Z-07. If it fails: grant the roles on [Permissions reference](https://docs.e6data.com/platform/deploy/azure-cloudprem/permissions-reference.md).
* [ ] **One workspace identity per workspace is planned, with 5 federated credentials against the cluster's OIDC issuer.** See [Permissions reference](https://docs.e6data.com/platform/deploy/azure-cloudprem/permissions-reference.md).
* [ ] **You can run kubectl against the cluster with the rights the install needs.** Check: K-01. If it fails: grant the Kubernetes rights on [Kubernetes permissions](https://docs.e6data.com/platform/deploy/azure-cloudprem/kubernetes-permissions.md), or plan the namespace-only option on [In-VPC deployment options](https://docs.e6data.com/platform/deploy/in-vpc-options.md).

### 5. Cluster (only if you use an existing AKS cluster)

* [ ] **Kubernetes version is 1.29 to 1.36 (up to 1.35 with e6data's Karpenter; up to 1.34 with the upstream Karpenter 1.7.1 the install steps use).** Check: Z-06. If it fails: upgrade the cluster first. Versions older than 1.29 are not supported.
* [ ] **OIDC issuer and Workload Identity are on.** Check: Z-06. If it fails: `az aks update -g <rg> -n <cluster> --enable-oidc-issuer --enable-workload-identity`.
* [ ] **You know which add-ons are already installed** (cert-manager, Karpenter, Node Auto-Provisioning or another node autoscaler, KEDA, VPA, metrics-server) **and your default StorageClass.** e6data's install adds KEDA and VPA cluster-wide (on by default, can be turned off) and makes its own `managed-csi-e6` StorageClass the cluster default. Check: K-02. If it fails: nothing fails here. Tell e6data what you run, so the install reuses or skips it.
* [ ] **Settings you must decide before install.** These can't be changed later, or only by recreating the resource: storage hierarchical namespace (it can't be turned off once on; an account without it can be upgraded one way, if eligible), disk encryption set for nodes, encryption at host (register the feature first), network plugin and dataplane, system pool zones, and whether each business unit gets its own storage account. See [Change network settings later](https://docs.e6data.com/platform/deploy/azure-cloudprem/change-network-settings.md).

### 6. Org policies and admission

* [ ] **Azure Policy allows e6data's machine launches** (tags, regions, VM sizes, public IPs). Check: Z-08. If it fails: add your required tags to the e6data node settings, allow the sizes, or add an exemption. See [Organization policies](https://docs.e6data.com/platform/deploy/azure-cloudprem/organization-policies.md).
* [ ] **Admission policies admit e6data pods.** Pod Security, Kyverno, Gatekeeper, Azure Policy for Kubernetes. Check: K-03 and K-04. If it fails: see [Pod security](https://docs.e6data.com/platform/deploy/azure-cloudprem/pod-security.md). The baseline policy blocks two DaemonSets (NVMe setup and log collector) and, when Metriq is on, the Metriq sandbox worker; these need an exemption.
* [ ] **Your registry allow-list includes e6data's registry, or your mirror.** Check: K-04. If it fails: add the registry, or mirror the images first.

### 7. People

* [ ] **Owners named for each team the install touches:** subscription, network, Kubernetes, security review, and data (storage accounts and catalog).
* [ ] **Someone with each owner's rights is available on install day.** Firewall and permission changes during the install are the usual cause of delay.
* [ ] **Support access understood:** e6data has no standing access. Support access is given only with your approval, is time-limited, and you can remove it. See [What e6data can access](https://docs.e6data.com/platform/trust/what-e6data-can-access.md).

Admin and deployer emails are set later, during the install. You don't need to send them now.

## Run the preflight commands

The preflight checks your subscription, network and cluster before the install, using read-only describe calls and dry runs only. There is no packaged preflight script today: run the commands below yourself.

> [!WARNING]
>
> Every command here reads or validates. None creates, changes or deletes anything. Run them with an identity that can read the subscription and the cluster. A check that you can't run because of missing read rights counts as `WARN`, not `PASS`.

### Requirements

* Azure CLI (`az`), signed in to the target subscription.
* `kubectl` with access to the cluster (only for the K checks, and only if you use an existing cluster).
* For the N checks: a shell on a machine inside the AKS subnet or VNet (for example a bastion host, or an existing node you reach through your usual access tool).
* The values from [Prerequisites](https://docs.e6data.com/platform/deploy/azure-cloudprem/prerequisites.md): the VM sizes for your release, and the host list on [Hostnames and ports](https://docs.e6data.com/platform/deploy/azure-cloudprem/hostnames-and-ports.md).

### Output

Record one line per check: `PASS`, `WARN` or `FAIL`, the value seen, and the fix.

### Azure checks

| ID | Check | Command (read-only) | Pass when | Fix if it fails |
| - | - | - | - | - |
| Z-01 | Subscription and region | `az account show --query "{subscription:id, tenant:tenantId, name:name}" -o json` | The subscription and region are the ones agreed for e6data, and the region is where your storage accounts are | `az account set --subscription <ID>`. If data is elsewhere, see [Sizing and cost](https://docs.e6data.com/platform/deploy/azure-cloudprem/sizing-and-cost.md) |
| Z-02 | Resource providers | See "Z-02 to Z-05 commands" below | Every provider shows `Registered` | `az provider register --namespace <name>` (a change, so run it outside the preflight) |
| Z-03 | vCPU quota | See "Z-02 to Z-05 commands" below | For each VM family in your release, and for "Total Regional vCPUs", limit minus used is at least the vCPU on [Sizing and cost](https://docs.e6data.com/platform/deploy/azure-cloudprem/sizing-and-cost.md). If you use Spot, check "Total Regional Spot vCPUs" too | Request an increase under Usage + quotas. Increases can take time; request early |
| Z-04 | VM sizes offered in your zones | See "Z-02 to Z-05 commands" below | The size is listed, has zones, and `restrictions` is empty | Use another region, or ask e6data for an alternative size. There is no standard x86 release on Azure today |
| Z-05 | Node subnet and free IPs | See "Z-02 to Z-05 commands" below | Subnet size minus 5 (reserved by Azure) minus `used` is at least the number on [IP address sizing](https://docs.e6data.com/platform/deploy/azure-cloudprem/ip-address-sizing.md) | Enlarge the subnet or use a new one |
| Z-06 | Existing AKS cluster | See "Z-06 commands" below | Version 1.29 to 1.36; OIDC issuer and Workload Identity `true`; Azure CNI overlay with Cilium (or your own Cilium, `networkPlugin` none, agreed with e6data); load balancer SKU `standard`; pod and service ranges don't overlap your VNet or peered networks; if you use encryption at host, the `EncryptionAtHost` feature shows `Registered` | `az aks update -g <rg> -n <cluster> --enable-oidc-issuer --enable-workload-identity`; upgrade the cluster. Ranges can't be changed on an existing cluster |
| Z-07 | Installer role assignments | `az role assignment list --assignee <INSTALLER_ID> --all --query "[].{role:roleDefinitionName, scope:scope}" -o table` | The roles on [Permissions reference](https://docs.e6data.com/platform/deploy/azure-cloudprem/permissions-reference.md) are present at the right scope | Grant the missing roles |
| Z-08 | Azure Policy allows e6data's resources | See "Z-08 commands" below | Validation succeeds, with no `RequestDisallowedByPolicy` | Add the required tags or allowed sizes, or ask for a policy exemption. See [Organization policies](https://docs.e6data.com/platform/deploy/azure-cloudprem/organization-policies.md) |

#### Z-02 to Z-05 commands

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
# Z-02 Resource providers
for p in Microsoft.ContainerService Microsoft.Network Microsoft.Storage Microsoft.ManagedIdentity \
         Microsoft.Compute Microsoft.ContainerRegistry Microsoft.OperationalInsights; do
  echo "$p $(az provider show -n $p --query registrationState -o tsv)"
done

# Z-03 vCPU quota: VM families and Total Regional vCPUs
az vm list-usage --location <REGION> \
  --query "[?contains(name.value,'Family') || name.value=='cores'].{name:localName,used:currentValue,limit:limit}" -o table

# Z-04 VM size offered, with zones and no restrictions (repeat per size in your release)
az vm list-skus --location <REGION> --size <ENGINE_VM_SIZE> \
  --query "[].{name:name, zones:locationInfo[0].zones, restrictions:restrictions}" -o json

# Z-05 Node subnet size and IPs in use
az network vnet subnet show -g <VNET_RG> --vnet-name <VNET> -n <SUBNET> \
  --query '{prefix:addressPrefix, used:length(ipConfigurations || `[]`)}' -o json
```

#### Z-06 commands

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
az aks show -g <RG> -n <CLUSTER> --query "{k8s:currentKubernetesVersion, \
  oidc:oidcIssuerProfile.enabled, wi:securityProfile.workloadIdentity.enabled, \
  plugin:networkProfile.networkPlugin, mode:networkProfile.networkPluginMode, \
  dataplane:networkProfile.networkDataplane, podCidr:networkProfile.podCidr, \
  serviceCidr:networkProfile.serviceCidr, outbound:networkProfile.outboundType, \
  lbSku:networkProfile.loadBalancerSku, \
  nap:nodeProvisioningProfile.mode, policy:addonProfiles.azurepolicy.enabled}" -o yaml
az feature show --namespace Microsoft.Compute --name EncryptionAtHost --query properties.state -o tsv   # only if you use encryption at host
az aks nodepool list -g <RG> --cluster-name <CLUSTER> \
  --query "[].{name:name, mode:mode, size:vmSize, autoscaler:enableAutoScaling}" -o table
az aks get-versions -l <REGION> -o table
```

#### Z-08 commands

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
# Policy assignments that apply to the target resource group
az policy assignment list --scope /subscriptions/<SUB_ID>/resourceGroups/<RG> \
  --query "[].{name:displayName, policy:policyDefinitionId}" -o table

# Validate a one-VM template of the engine size with your tags. Nothing is created.
az deployment group validate -g <RG> --template-file <test-vm-template.json> \
  --parameters vmSize=<ENGINE_VM_SIZE> location=<REGION>
```

e6data supplies this one-VM test template. It is published with the In-VPC docs on `assets.e6.run`.

### Network reach checks

Run these from a machine inside the AKS subnet or VNet.

| ID | Check | Command (read-only) | Pass when | Fix if it fails |
| - | - | - | - | - |
| N-01 | Required hosts reachable | See "N commands" below | Each host prints an HTTP status code. Any code means the network path and TLS work | Allow the host in your firewall. A certificate error means TLS inspection: see [Proxy and TLS inspection](https://docs.e6data.com/platform/deploy/azure-cloudprem/proxy-and-tls-inspection.md) |
| N-02 | Denied hosts fail fast | See "N commands" below | Fails in under 1 second (connection refused, reset, or HTTP 403) | Change the firewall rule from "drop" to "reject". A silent drop shows as a 10-second timeout here |

#### N commands

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
# N-01 Required hosts: each prints an HTTP status code, or FAIL
for h in <REQUIRED_HOSTS>; do
  printf "%s " "$h"
  curl -sS -o /dev/null -m 10 -w '%{http_code}\n' "https://$h/" || echo FAIL
done

# N-02 A host you deny: should fail in under 1 second
curl -sS -o /dev/null -m 10 -w '%{http_code} %{time_total}\n' http://<A_HOST_YOU_DENY>/
```

Replace `<REQUIRED_HOSTS>` with the hosts on [Hostnames and ports](https://docs.e6data.com/platform/deploy/azure-cloudprem/hostnames-and-ports.md). Proxy-only egress is not supported on Azure today, so run N-01 over your firewall egress path with no proxy set.

### Kubernetes checks (existing cluster only)

| ID | Check | Command (read-only) | Pass when | Fix if it fails |
| - | - | - | - | - |
| K-01 | Install rights | See "K commands" below | All `yes` for a standard install | Grant the rights on [Kubernetes permissions](https://docs.e6data.com/platform/deploy/azure-cloudprem/kubernetes-permissions.md), or plan a cluster admin step as on [In-VPC deployment options](https://docs.e6data.com/platform/deploy/in-vpc-options.md) |
| K-02 | Add-ons already installed | See "K commands" below | Informational. Lists what you already run, including KEDA, VPA, metrics-server and your default StorageClass. e6data's install adds KEDA and VPA (on by default, can be turned off) and makes its own `managed-csi-e6` StorageClass the default | Tell e6data, so the install reuses or skips it |
| K-03 | Policy engines and Pod Security labels | See "K commands" below | Informational. Lists the engines that will judge e6data pods | Run K-04 to see what they decide |
| K-04 | Policies admit e6data pods (server-side dry run) | See "K commands" below | No `denied`, `forbidden` or `violates PodSecurity` messages | See [Pod security](https://docs.e6data.com/platform/deploy/azure-cloudprem/pod-security.md). A WARN for the NVMe setup and log collector DaemonSets is expected under the baseline policy; they need an exemption |

#### K commands

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
# K-01 Install rights (each should print "yes")
kubectl auth can-i create customresourcedefinitions
kubectl auth can-i create clusterroles
kubectl auth can-i create namespaces

# K-02 Add-ons already installed
kubectl get crd -o name | grep -iE 'karpenter|cert-manager|keda|autoscaling.k8s.io'
kubectl get deploy -A | grep -iE 'cert-manager|karpenter|cluster-autoscaler|keda|vpa|metrics-server'
kubectl get storageclass

# K-03 Policy engines and Pod Security labels
kubectl get validatingwebhookconfigurations,mutatingwebhookconfigurations -o name
kubectl get ns --show-labels | grep pod-security
kubectl get crd -o name | grep -iE 'kyverno|gatekeeper'

# K-04 Server-side dry run: admission runs, nothing is stored
kubectl apply --dry-run=server -n <EXISTING_NAMESPACE> -f <e6data-workloads.yaml>
```

> [!WARNING]
>
> A server-side dry run sends the objects through admission webhooks but stores nothing. Webhooks that don't support dry runs are skipped, so a pass doesn't cover them. e6data custom resources can't be dry-run until the e6data CRDs are installed; dry-run the plain workloads (Deployments, DaemonSets, Services) instead.

You can render the e6data Helm charts you receive (see [Prerequisites](https://docs.e6data.com/platform/deploy/azure-cloudprem/prerequisites.md)) with `helm template` and dry-run the output. The query engine pods are created later by the operator, so they are not in that output.

e6data also supplies a rendered set of its workload manifests, matched to your release, with the In-VPC docs on `assets.e6.run`. Dry-run that set for K-04.

## Verify

After running every check, you should have one line per check ID with `PASS`, `WARN` or `FAIL`. Send these results to e6data before the install is booked.

## Limitations

* There is no packaged preflight script today. The checks are run by hand.
* N checks need a machine inside the AKS subnet or VNet. The preflight never starts a test pod or machine to get one.
* Dry runs and template validation can't prove that a real launch or pod start will work (see the notes above).

## See also

* [Prerequisites](https://docs.e6data.com/platform/deploy/azure-cloudprem/prerequisites.md)
* [IP address sizing](https://docs.e6data.com/platform/deploy/azure-cloudprem/ip-address-sizing.md)
* [Permissions reference](https://docs.e6data.com/platform/deploy/azure-cloudprem/permissions-reference.md)
* [Hostnames and ports](https://docs.e6data.com/platform/deploy/azure-cloudprem/hostnames-and-ports.md)
* [Sizing and cost](https://docs.e6data.com/platform/deploy/azure-cloudprem/sizing-and-cost.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.