Deployment
How the Connector sits in front of your databases
The Connector is a database proxy you run in your own network: on ECS Fargate, with Helm on EKS, GKE, AKS or on-premises Kubernetes, or in Docker, as a cluster for redundancy (deployment docs). It reaches self-managed databases, RDS and Aurora over plain TCP, and dials Google Cloud SQL for Postgres, MySQL and MariaDB natively, without a cloud-sql-proxy sidecar.
- Queries and results pass only through the Connector; the Control Plane holds configuration and can’t reach your data
- Clients point at the Connector instead of the database. With smart routing, many Postgres databases share port 5432 and the client picks one with
DATABASE_NAME@RESOURCE_NAME, the same way for MySQL - Engineers who would rather keep the original hostname run the Formal Endpoint in Transparent Mode on macOS or Linux
- BI tools are where shared service accounts last longest, because one connection serves every viewer of a dashboard. This Retool connection from the Snowflake docs signs in as a Formal machine user and passes the viewer’s email on each connection, so queries are logged with the person behind the app. Formal takes that end user from Retool’s assertion, so trust it as far as you trust Retool’s own sign-in
- At ManoMano, putting Metabase, Snowflake and Postgres behind Formal turned up former employees with active Metabase jobs
Smart routing docs ›Retool to Snowflake through the Connector (JDBC)text
jdbc:snowflake://account.test-snowflake-proxy.prod.com:443/?user=idp:formal:machine:prd-retool&password=[pwd]&db=analytics&options=formal_enduser={{ current_user.email }}