Skip to main content

Overview

Formal has two proxies and one management layer. The Endpoint runs where traffic starts, the Connector runs next to your resources, and the Control Plane configures both. Read the diagram from left to right:
  1. Humans and agents send traffic. Engineers, workstation agents, and cloud agents use their usual apps and CLI tools.
  2. The Endpoint captures it. The Formal Endpoint is a forward proxy on the laptop, VM, pod, or sandbox.
  3. Traffic for your resources goes to the Connector. The Endpoint forwards it through a mutual TLS (mTLS) tunnel. The Formal Connector is a reverse proxy in your VPC. It evaluates your policies and reaches the resource.
  4. All other traffic goes directly to the internet. The Endpoint evaluates your policies and logs the request first.
  5. The Control Plane manages both. The Control Plane sends policies and configuration to both proxies, and receives their logs.

Connections

Both proxies open their connection to the Control Plane themselves, so the Control Plane needs no inbound access to your network. Clients can also connect to a Connector listener directly, without the Endpoint.

One proxy, packaged two ways

The Connector and the Endpoint are one proxy, packaged two ways: as a container for your VPC and as an app for the host. Both use the same policy engine and protocol parsers, enforce the same policies, and send logs to the Control Plane. The Control Plane manages configuration and receives logs, but it never sees your data. Only the Connector and the Endpoint handle traffic to your resources. Formal hosts the Control Plane by default, and you can self-host it.

Deploying Formal

With a Connector

The Connector is deployed as a container in your VPC, next to the resources it protects. Users connect to the Connector with their own identity, and the Connector connects to the resource with a native user. The Connector needs network access to https://api.joinformal.com (the Control Plane), which is hosted in Formal’s infrastructure. You can then manage your Connectors through the API, the Terraform provider, or the Control Plane.

With the Endpoint

The Endpoint runs on the laptop or VM that originates the traffic, and doesn’t require a Connector. It intercepts traffic to your resources and applies your policies before the traffic leaves the host. The Endpoint also needs network access to https://api.joinformal.com.

With the Endpoint and a Connector

Run both to cover the whole path. The Endpoint reaches the Connector over the Formal VPN, or directly at the Connector’s hostname when your network can reach it. The Connector then signs in to the resource with a native user.

Satellites

The Data Discovery Satellite is also deployed in your infrastructure. Add it if you want Formal to catalog and classify your database schemas. Like the Connector, it needs network access to the Control Plane.

Inside each component

Next Steps

Deploy a Connector

Configure Connector networking and resources

Configure the Endpoint

Set Endpoint behavior and managed preferences