# How it reaches LightHouse

> The three ways a deployment reaches LightHouse: directly, through your proxy (including one that inspects TLS), or by file on an air-gapped site. What each needs, and what is live, delayed or unavailable in LightHouse.

The second question of [Where it runs](/where-it-runs/). The deployment’s relay, content reader and command channel reach LightHouse™ in one of three ways. Each is an outbound path, or no path at all: nothing in the deployment listens for Atlantic.

|                                               | Directly                                                               | Through your proxy                              | By file (air-gapped)                                 |
| --------------------------------------------- | ---------------------------------------------------------------------- | ----------------------------------------------- | ---------------------------------------------------- |
| Network                                       | One outbound HTTPS connection to LightHouse’s intake address, port 443 | The same connection, through your forward proxy | No network path to the internet or to Atlantic       |
| Offered for                                   | Every place                                                            | Every place                                     | [Your own servers](/where-it-runs/own-servers/) only |
| Telemetry                                     | Live                                                                   | Live                                            | Signed bundle files, carried by an operator          |
| Commands                                      | Live, over the command channel                                         | Live, over the command channel                  | A signed command file, carried by an operator        |
| Reading your content in place from LightHouse | Available                                                              | Available                                       | Not available                                        |
| What LightHouse shows                         | Live                                                                   | Live                                            | Up to the last bundle imported                       |
| Deployment profiles                           | All the place allows                                                   | All the place allows                            | Always-on only                                       |

In each case your content, your index and your model calls stay where the engine runs. Only operational telemetry reaches LightHouse. See [Data sovereignty](/data-sovereignty/).

- **Directly**: one outbound connection

  1. **Your deployment**: relay, content reader and command channel
  2. **Your network's way out**: one host allowed
  3. **LightHouse**: live telemetry, reads in place and live commands

- **Through your proxy**: one path, through your proxy

  1. **Your network**: relay, content reader and command channel
  2. **Your proxy**: one host allowed; TLS passed through untouched
  3. **LightHouse**: live telemetry, reads in place and live commands

- **By file (air-gapped)**: no network path to LightHouse

  1. **Your network**: telemetry signed, numbered and kept on disk
  2. **Carried by file**: bundles out, a signed command file in
  3. **LightHouse**: up to the last bundle imported; no reads in place

The three ways a deployment reaches LightHouse. By file is offered on your own servers only. In each, your content, your index and your model calls stay where the engine runs; only operational telemetry reaches LightHouse.

## Choosing

On **Setup and admin → Where agents run** (`client_admin`), after the place, choose under **How it reaches LightHouse**:

- **Directly**, the default.
- **Through your proxy**. **Get my stack** then writes the proxy settings into the stack, for you to fill in with your proxy’s address.
- **By file (air-gapped)**, for your own servers on the always-on profile. See [By file (air-gapped)](/where-it-runs/air-gapped/).

The choice is recorded in the tenant’s audit log. Through the API, `PUT /api/v1/run-targets` takes `connectivity` (`online` or `air_gapped`) and, for an online deployment, `proxy` (`true` for **Through your proxy**). See the [Read reference](/api/reference/read/#get-targets).

## Directly

The relay, the content reader and the command channel each open an outbound HTTPS and WebSocket connection to LightHouse’s intake address on port 443, as **Get my stack** fills it in. Allow that one host on port 443. On AWS, Azure and Google Cloud the connection leaves through the stack’s own network path; on your own servers, through your host’s.

## Through your proxy

The relay, the content reader and the command channel read the standard proxy settings (`HTTPS_PROXY`, `NO_PROXY`) and tunnel TLS through the proxy with `CONNECT`. Allow one host, LightHouse’s intake address as **Get my stack** fills it in, on port 443. TLS is end to end: the proxy sees the host name and the volume, never a record, a read or a command. A proxy that only tunnels needs nothing else.

### A proxy that inspects TLS

A proxy that terminates and inspects TLS is supported. The engine pins no certificate and binds no signature to the TLS channel, so interception does not invalidate a signature. It changes trust only: the engine’s clients must trust the organisation’s root certificate.

`AAL_CA_BUNDLE` names a PEM file that holds the root. The engine adds it to the public roots when it starts, before any client is built, and every client it uses verifies against the result: the relay, the content reader, the command channel, the connectors, telemetry and the gateway’s calls to a model. Alternatively, `SSL_CERT_FILE` or `REQUESTS_CA_BUNDLE` names one complete trust store that replaces the public roots. A bundle that is missing or holds no certificate is logged and ignored. Verification is never turned off.

The file is mounted read-only in every engine container: `proxy.caBundle.configMap` in the Helm chart, or a volume in Docker Compose. **Get my stack** mounts a `ca` folder in each container; the setting is left empty, so it is off until the root is placed in `ca/ca.pem` and `AAL_CA_BUNDLE=/etc/aal/ca/ca.pem` is set. The air-gapped stack does not offer it.

Interception means that the proxy reads what passes through it: telemetry, commands and read requests, what the connectors fetch with the credentials in their headers, and any model call routed through the proxy. Commands from LightHouse, telemetry from the deployment and the reader’s requests stay signed, and a proxy that altered one would be detected. A connector’s response or a model’s answer is not signed. Whether to inspect that traffic is the organisation’s decision.

`AAL_TELEMETRY_MODE=outbound-proxy` changes no behaviour; it records in the deployment’s settings how the deployment is connected. An unknown mode is refused: telemetry stays off and the log says so.

Model calls go wherever your gateway’s policy routes them, which is separate from this setting. A deployment with no outbound path at all needs a model it can reach locally, such as a [self-hosted model](/where-it-runs/self-hosted-models/).

**Your network**: the engine on your own servers

- **Relay**: sends signed telemetry live
- **Content reader**: holds its connection, for reads in place
- **Command channel**: receives signed commands live
- **Gateway**: model calls go where your policy routes them, separately

Your proxy: one host allowed, TLS end to end

- **Telemetry** (downward): live, signed by your deployment
- **Reads in place** (both ways): available, as on any cloud
- **Commands** (upward): live, over the command channel

**LightHouse**: your tenant, in Atlantic's account

- **Intake**: checks each signature; shows your deployment live

With outbound-proxy, the deployment is connected through one allowed path. Your proxy sees the host name and the volume, never a record, a read or a command. A proxy that terminates TLS is not supported.

## By file

A site with no network path at all exports its telemetry as signed bundle files and takes its commands as a signed command file. Requirements, the stack’s contents, the operator’s routine and the trust model are on [By file (air-gapped)](/where-it-runs/air-gapped/).

Source: https://docs.atlanticagenticlabs.com/where-it-runs/connection/
