> ## 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.

# Change network settings

> Which network settings of an e6data CloudPrem deployment on Azure can change after install, which are fixed at setup, and the impact of each change.

ReferenceApplies to: CloudPrem on Azure

Most network settings can change after install: subnets, egress path, CA and endpoint type. A few are fixed when the cluster is created, most importantly the Kubernetes service range. Changing those means a new cluster and moving the workspace to it.

## Requirements

* Plan fixed settings before install. They are listed under "Decided at setup" on [Network requirements](https://docs.e6data.com/platform/deploy/azure-cloudprem/network-requirements.md).
* After any change that restricts traffic, restart the console and confirm the new pod becomes Ready. A pod that started before the change proves nothing.

## Decide before install

These Azure settings are one-way or can only be set at create time:

* Storage hierarchical namespace on the workspace storage account (can't be turned off later).
* Disk encryption set for node disks (set when the node pool or node class is created).
* Encryption at host (the subscription feature must be registered first).
* Network plugin and dataplane (Azure CNI overlay with Cilium, or your own Cilium).
* System-pool availability zones.
* One storage account per business unit, if business units must be isolated.

Storage redundancy is not on this list: it can be converted later.

## What can change, and how

| Setting | Azure | Impact |
| - | - | - |
| Kubernetes service range | The original range can't be replaced | New cluster, and move the workspace to it |
| Pod range | Can grow to a larger range that contains the original (Linux nodes only). Can't shrink or be replaced ([Microsoft](https://learn.microsoft.com/en-us/azure/aks/concepts-network-azure-cni-overlay)) | Size it before install |
| Add subnets or a secondary range | Yes: add a subnet in the same VNet and use it for a node pool, or set it as `vnetSubnetID` in the node class | Update allow-lists (below) |
| Endpoint: public to internal, or to NodePort | Change the `mergedService` annotations or type | Endpoint address changes. Update DNS |
| Load balancer source ranges | Yes, NSG | None |
| Private Kubernetes API | One-way on an existing cluster. Restarts the cluster and changes the API server IP | Install hosts must be inside your network |
| Egress path (NAT to firewall) | Yes, with your own VNet: `az aks update --outbound-type userDefinedRouting` (NAT gateway and load balancer are also allowed). Open connections drop and the egress IP changes ([Microsoft](https://learn.microsoft.com/en-us/azure/aks/egress-outboundtype)) | Allow e6data hosts on the new path first. Expect a short break in connections. With Node Auto-Provisioning on, the outbound type can't be changed later, so choose it at create |
| Proxy settings for the console | Not supported today (proxy-only) | Console restarts |
| Customer CA for TLS inspection | Yes, update the CA secret | Console restarts |
| Storage firewall, endpoints | Yes | Data access fails if the new path misses a node subnet |
| VNet, or region | Can't change | Needs a new deployment |

## Steps

### Switch the endpoint to internal

1. Change the annotations as on [Private-only deployment](https://docs.e6data.com/platform/deploy/azure-cloudprem/private-only-deployment.md).
2. Wait for the new address: `kubectl -n <WORKSPACE_NAMESPACE> get svc -w`.
3. Update the workspace hostname's DNS record.

### Change proxy or CA settings

1. Update the workspace values or the CA secret.
2. Restart the console: `kubectl -n <WORKSPACE_NAMESPACE> rollout restart deploy/e6-console`.
3. Confirm the new pod is Ready and the workspace shows **Running**.

## Preflight check

Before a change, record the current state:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
az aks show -g <RG> -n <CLUSTER> --query "{net:networkProfile,api:apiServerAccessProfile}"
kubectl -n <WORKSPACE_NAMESPACE> get svc -o wide
```

## Verify

1. All pods in the workspace namespace are Running and Ready, including a freshly restarted console.
2. The workspace shows **Running** in the e6data console.
3. Resume a cluster, run a query, and find it in Query History.

## Troubleshooting

| Symptom | Cause | Fix |
| - | - | - |
| Pods can't reach private endpoints after adding a range | NSG lacks the range | Allow it on 443 |
| Users can't reach the workspace after the endpoint change | DNS still points at the old address | Update the record |
| Console fails only after a restart | New restriction blocks a host it needs at start | See [Egress firewall, proxy and TLS inspection](https://docs.e6data.com/platform/deploy/azure-cloudprem/proxy-and-tls-inspection.md) |

## Limitations

* Moving a deployment to another VNet or region needs a new deployment.
* Explicit-proxy-only egress: Not supported today.

## See also

* [Network requirements](https://docs.e6data.com/platform/deploy/azure-cloudprem/network-requirements.md)
* [IP address sizing](https://docs.e6data.com/platform/deploy/azure-cloudprem/ip-address-sizing.md)
* [Private-only deployment](https://docs.e6data.com/platform/deploy/azure-cloudprem/private-only-deployment.md)
* [Product and cluster upgrades](https://docs.e6data.com/platform/upgrades/product-and-cluster-upgrades.md)


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