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

# Satellites

> Optional containers for data discovery and classification

## What are Satellites?

Formal Satellites are optional specialized containers you deploy alongside Connectors to enable advanced capabilities like schema discovery and column classification.

Satellites extend Formal's core functionality without adding complexity to the Connector itself. They're deployed in your infrastructure and communicate with Connectors and the Control Plane.

> [!TIP]
>
> To use external data or custom logic in policies, use [Hooks](https://docs.formal.ai/docs/guides/policies/hooks.md).

## Data Discovery Satellite

Automatically discovers and catalogs your database schemas, tables, columns, and relationships.

### Features

* **Scheduled schema discovery** across all resources
* **Regex-based column classification** from inventory path (no AI backend)
* **Prompt-based column classification** via AWS Bedrock
* **Schema change tracking** with deletion policies

### Prompt Classification Backends

Prompt labels need AWS Bedrock as the LLM backend. Regex labels never need it.

When prompt labels are configured, discovery samples row values from each table and sends column metadata to the classifier. The classifier returns labels based on your prompt definitions.

#### AWS Bedrock

The Data Discovery Satellite calls AWS Bedrock directly with the default AWS credential chain.

**Prerequisites:**

* AWS credentials available to the Data Discovery Satellite container (for example, an ECS task role or EKS service account)
* Amazon Bedrock access to the model or inference profile you use

**Environment variables:**

* `FORMAL_CONTROL_PLANE_API_KEY`: Satellite authentication token
* `DATA_DISCOVERY_LABELING_USE_BEDROCK`: Set to `true` to use AWS Bedrock even when the satellite is linked to an existing AI Satellite (optional)
* `DATA_DISCOVERY_BEDROCK_MODEL`: Set to an Anthropic model ID, inference profile ID, or ARN (optional). Choose a model with [structured output support on Bedrock Runtime](https://docs.aws.amazon.com/bedrock/latest/userguide/claude-messages-structured-outputs.html) in your region.
* `AWS_REGION`: Set the Bedrock source region if the AWS SDK does not already resolve it (optional)

A Data Discovery Satellite linked to an existing AI Satellite keeps classifying with it unless `DATA_DISCOVERY_LABELING_USE_BEDROCK` is the string `true`.

By default, the satellite selects the Claude Haiku 4.5 geographic inference profile for the resolved AWS region.
If your region has no default profile, set `DATA_DISCOVERY_BEDROCK_MODEL` explicitly.
See [AWS's Claude Haiku 4.5 model card](https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-anthropic-claude-haiku-4-5.html) for supported source regions and inference profiles.

```bash theme={"languages":{"custom":["/languages/cel.json","/languages/rego.json"]}}
docker run -d \
  -e FORMAL_CONTROL_PLANE_API_KEY=<your-api-key> \
  -e AWS_REGION="<your-region>" \
  654654333078.dkr.ecr.us-east-1.amazonaws.com/formalco-prod-data-discovery-satellite:latest
```

On ECS or EKS, attach an IAM role with `bedrock:InvokeModel` for the chosen model or inference profile.

> [!NOTE]
>
> Regex labels classify columns from inventory path alone and need no AI backend. Prompt labels need AWS Bedrock.

### Configuration

Environment variables:

* `FORMAL_CONTROL_PLANE_API_KEY`: Satellite authentication token
* `DATA_DISCOVERY_LABELING_USE_BEDROCK`: Set to `true` to classify prompt labels with AWS Bedrock even when the satellite is linked to an existing AI Satellite (optional)

### Schema Discovery Jobs

Configure discovery schedules per resource:

* **Frequency**: None, every 6/12/18/24 hours, or custom cron
* **Deletion policy**: Mark for deletion or auto-delete removed schemas
* **Native user**: Which credentials to use for discovery

## Deployment

Satellites are Docker containers deployed in your infrastructure, similar to Connectors.

### Container Image Registries

You can pull the Data Discovery Satellite image from either AWS ECR or GCP Artifact Registry:

| Satellite Type | AWS ECR | GCP Artifact Registry |
| - | - | - |
| Data Discovery Satellite | `654654333078.dkr.ecr.<region>.amazonaws.com/formalco-prod-data-discovery-satellite:<tag>` | `us-docker.pkg.dev/formal-public-assets/formalco-prod-data-discovery-satellite/formalco-prod-data-discovery-satellite:<tag>` |

> [!NOTE]
>
> On AKS, use the GAR image with
> [`azure-gar-cred`](https://github.com/formalco/helm-charts/tree/main/charts/azure-gar-cred).
> Set `pullWithCredentials: true` when using a Formal Satellite Helm chart.
> For raw manifests, add `formal-ecr-secret` to `spec.template.spec.imagePullSecrets`.

### Prerequisites

1. Create the Satellite in the Control Plane
2. Copy the API token
3. Deploy the container with appropriate environment variables

### Recommended Deployment

> [tab] AWS ECS Fargate
>
> See the [AWS Satellite deployment example](https://github.com/formalco/terraform-provider-formal/tree/main/examples/deployments/aws/data-discovery-satellite) for Terraform configuration.

> [tab] Kubernetes
>
> ```yaml theme={"languages":{"custom":["/languages/cel.json","/languages/rego.json"]}}
> apiVersion: apps/v1
> kind: Deployment
> metadata:
>   name: formal-data-discovery-satellite
> spec:
>   replicas: 1
>   template:
>     spec:
>       containers:
>       - name: satellite
>         image: 654654333078.dkr.ecr.us-east-1.amazonaws.com/formalco-prod-data-discovery-satellite:latest
>         # Or use GCP Artifact Registry:
>         # image: us-docker.pkg.dev/formal-public-assets/formalco-prod-data-discovery-satellite/formalco-prod-data-discovery-satellite:latest
>         env:
>         - name: FORMAL_CONTROL_PLANE_API_KEY
>           valueFrom:
>             secretKeyRef:
>               name: formal-satellite
>               key: api-key
> ```

> [tab] Docker
>
> ```bash theme={"languages":{"custom":["/languages/cel.json","/languages/rego.json"]}}
> export FORMAL_SATELLITE_IMAGE="654654333078.dkr.ecr.us-east-1.amazonaws.com/formalco-prod-data-discovery-satellite:latest"
> # Or use GCP Artifact Registry:
> # export FORMAL_SATELLITE_IMAGE="us-docker.pkg.dev/formal-public-assets/formalco-prod-data-discovery-satellite/formalco-prod-data-discovery-satellite:latest"
>
> docker run -d \
>   --name formal-data-discovery-satellite \
>   -e FORMAL_CONTROL_PLANE_API_KEY=satellite_abc123 \
>   "$FORMAL_SATELLITE_IMAGE"
> ```

> [!TIP]
>
> By default, the satellite communicates with the Connectors using a TLS certificate issued by the Control Plane.

## Spaces and Satellites

Like Connectors and Resources, Satellites can be assigned to [Spaces](https://docs.formal.ai/docs/guides/core-concepts/spaces.md):

* **Satellite with a Space**: Only communicates with Connectors and Resources in the same Space
* **Satellite without a Space**: Can communicate with any Connector or Resource

> [!WARNING]
>
> Changing a Satellite's Space requires restarting the Satellite container.

## Managing Satellites

### Creating a Satellite

**1. Navigate to Satellites**

Go to [Satellites](https://app.formal.ai/satellites) in the Control Plane

**2. Create Satellite**

Click **Create Satellite**

**3. Configure settings**

* **Name**: Friendly identifier
* **Space**: (Optional) Logical grouping

**4. Copy API token**

Save the token for deployment

**5. Deploy container**

Use the token in your deployment (ECS, Kubernetes, Docker)

## Next Steps

> [card] [Deploy a Satellite](#deployment)
>
> Run Satellites in your infrastructure

> [card] [Use in Policies](https://docs.formal.ai/docs/guides/policies/introduction.md)
>
> Reference Satellite data in policy rules

> [card] [Configure Spaces](https://docs.formal.ai/docs/guides/core-concepts/spaces.md)
>
> Segment Satellite access

> [card] [View Logs](https://docs.formal.ai/docs/guides/observability/logs.md)
>
> Monitor Satellite activity in logs


## Related topics

- [Create satellite](https://docs.formal.ai/api-reference/corev1satelliteservice/create-satellite.md)
- [Get satellite](https://docs.formal.ai/api-reference/corev1satelliteservice/get-satellite.md)
- [Update satellite](https://docs.formal.ai/api-reference/corev1satelliteservice/update-satellite.md)
- [List satellites](https://docs.formal.ai/api-reference/corev1satelliteservice/list-satellites.md)
- [Delete satellite](https://docs.formal.ai/api-reference/corev1satelliteservice/delete-satellite.md)


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