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

# Isolated reference architecture

> No NAT and no internet route: e6data In-VPC on AWS with VPC endpoints and one narrow path out through your central egress.

ReferenceApplies to: CloudPrem on AWS

The Isolated architecture has no NAT gateway and no internet route in the workload network. Cloud services are reached through private endpoints, and the only path out is one narrow route to e6data through your central egress. A fully disconnected cluster is not supported today: the cluster always needs that one outbound path. Some parts are limited with today's release; see [Limitations](#limitations).

## Diagram

![Isolated architecture on AWS: a workload VPC with no NAT gateway, no internet gateway and no public IPs; the EKS cluster has a private API endpoint, reaches cloud services through VPC endpoints, pulls images from a private registry mirror, and sends only control-plane traffic through your central egress over Transit Gateway; users reach an internal load balancer on ports 443 and 5432](https://mintcdn.com/e6data/btk547UQntSoisHC/images/platform/in-vpc/aws-isolated.svg?fit=max\&auto=format\&n=btk547UQntSoisHC\&q=85\&s=1df0fa8ed01fbb30f6bebcb6dc84ffb8)

## Requirements

* No NAT gateway, no internet gateway and no public IPs in the workload network.
* One outbound path from the cluster to the e6data hosts in [Hostnames, ports and IPs](https://docs.e6data.com/platform/deploy/aws-cloudprem/hostnames-and-ports.md), through your central egress.
* The Kubernetes API endpoint is private. Run kubectl and helm from inside your network (bastion, session manager or a jump host).
* A DNS record for the workspace hostname in your private zone, pointing at the internal load balancer.

| Item | AWS | Required? | Why |
| - | - | - | - |
| Storage path | S3 gateway endpoint on the workload route tables | Yes | Data and metadata reads with no internet |
| Image pulls | Interface endpoints `ecr.api` and `ecr.dkr`, plus S3 gateway for layers | Yes | Nodes pull images with no internet. e6data's registry is in us-east-1: in other regions your regional ECR endpoints can't reach it, so mirror the images (mirroring is verified) or allow the us-east-1 ECR and S3 hosts through your central egress |
| Credentials | Interface endpoints `sts` and `eks-auth` (EKS Pod Identity) | Yes | Pod identities |
| Instance information | Interface endpoint `ec2` | Yes | Cluster sizing |
| Catalog | Interface endpoint `glue` if you use AWS Glue | Yes if Glue | Queries fail without it |
| Lake Formation | Interface endpoint `lakeformation` if a catalog uses it | Yes if governed | Schemas show "Access Denied" without it |
| Karpenter | Interface endpoints `ssm` and `sqs` for e6data's Karpenter | Yes with Karpenter | Machine image lookup and interruption queue |
| Kubernetes API | EKS private endpoint access on | Yes | Nodes and installers reach the API inside the network |
| Routing | Workload route table sends `0.0.0.0/0` (or only your inspection VPC's range) to the Transit Gateway; inspection VPC has return routes for every workload CIDR | Yes | One controlled exit |
| Endpoint settings | Interface endpoints in the workload subnets, private DNS on, HTTPS allowed from the VPC | Yes | Default service hostnames resolve to the endpoints |

> [!WARNING]
>
> On AWS, the query planner loads catalogs only when a cluster starts. If Glue is unreachable at that moment, queries fail with "catalog doesn't exist" until the cluster is suspended and resumed. Create the `glue` endpoint before the first resume.

## Steps

1. Create the VPC endpoints in the workload subnets: `ecr.api`, `ecr.dkr`, `sts`, `eks-auth`, `ec2`, `glue` (if Glue), `lakeformation` (if governed), and the `s3` gateway endpoint on the workload route tables.
2. Keep EKS private endpoint access on.
3. Attach the VPC to your Transit Gateway and route outbound traffic to your inspection VPC or proxy.
4. Allow HTTPS to the control-plane host on your central egress. Set the console proxy as in the [Hardened architecture](https://docs.e6data.com/platform/deploy/aws-cloudprem/reference-architecture-hardened.md).
5. Install from a host with no internet: copy `helm`, `kubectl`, the e6data charts and values files from a bucket through the S3 gateway endpoint, then install as usual. The install host also needs the `eks`, `sts`, `ecr.api` and `ecr.dkr` endpoints and access to the private cluster API endpoint.

## Traffic paths

| # | Traffic | From | To | Port | AWS path |
| - | - | - | - | - | - |
| 1 | Control-plane polling and sign-in keys | Console | e6data control plane | TCP 443 | Proxy, Transit Gateway, central egress |
| 2 | Release bundles | Console | e6data release host | TCP 443 | Central egress |
| 3 | Image pulls | Nodes | Your registry | TCP 443 | ECR interface endpoints and S3 gateway |
| 4 | Data and metadata | Engine, metadata service | Your storage | TCP 443 | S3 gateway endpoint |
| 5 | Credentials and cloud APIs | Pods, Karpenter | Cloud APIs | TCP 443 | `sts`, `eks-auth`, `ec2`, `glue` endpoints |
| 6 | Install and support commands | Jump host | Kubernetes API, registry | TCP 443 | Private EKS endpoint |
| 7 | Users and BI tools | Your network | Internal load balancer | TCP 443, 5432 | Private network |
| 8 | Anything from e6data | e6data | Your network | none | Never |

## Validation checklist

All checks are read-only.

* No NAT or internet gateway in the workload network.
  * `aws ec2 describe-nat-gateways --filter Name=vpc-id,Values=<VPC_ID> --query "NatGateways[?State=='available']"` and `aws ec2 describe-internet-gateways --filters Name=attachment.vpc-id,Values=<VPC_ID>` both return empty lists.
* Workload route tables have no route to an internet gateway or NAT.
  * `aws ec2 describe-route-tables --filters Name=vpc-id,Values=<VPC_ID> --query 'RouteTables[].Routes[]'` shows only `local`, the S3 prefix list and the Transit Gateway.
* Every required endpoint exists.
  * `aws ec2 describe-vpc-endpoints --filters Name=vpc-id,Values=<VPC_ID> --query 'VpcEndpoints[].[ServiceName,State,PrivateDnsEnabled]' --output table` lists each endpoint above as `available`, interface endpoints with private DNS `True`.
* Private names resolve to private IPs from a node or pod: `nslookup <REGISTRY_HOST>` and `nslookup sts.<REGION>.amazonaws.com`.
* The Kubernetes API is private: from outside your network, `kubectl get nodes` fails.
* Every non-cloud-managed pod runs an image from your registry: `kubectl get pods -A -o jsonpath='{range .items[*].spec.containers[*]}{.image}{"\n"}{end}' | sort -u`.
* From a pod, a direct request to an internet host times out.
* The workspace shows **Running** in the e6data control plane, and you can sign in, resume a cluster and run a query.

## Troubleshooting

| Symptom | Cause | Fix |
| - | - | - |
| Queries fail with "catalog doesn't exist" | No `glue` endpoint when the cluster started | Add the endpoint, then suspend and resume the cluster |
| Every schema shows "Access Denied" | Lake Formation catalog with no `lakeformation` endpoint | Add the endpoint |
| New console pod never becomes Ready | No outbound path to the control plane at all | Allow the control-plane host on your central egress |

## Limitations

* A cluster with no outbound path at all is not supported today. A restarted console can't start until it reaches the control plane.
* With today's release, sign-in through the workspace endpoint still needs a direct route to the control plane.
* Private connectivity to the e6data control plane is not offered today.

## See also

* [Reference architectures](https://docs.e6data.com/platform/deploy/aws-cloudprem/reference-architectures.md)
* [Hardened architecture](https://docs.e6data.com/platform/deploy/aws-cloudprem/reference-architecture-hardened.md)
* [Private-only deployment](https://docs.e6data.com/platform/deploy/aws-cloudprem/private-only-deployment.md)
* [If e6data's control plane is down](https://docs.e6data.com/platform/upgrades/control-plane-outage.md)
* [Hostnames, ports and IPs](https://docs.e6data.com/platform/deploy/aws-cloudprem/hostnames-and-ports.md)


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