Network and hardening
Fontana keeps the attack surface small in three ways: a narrow public perimeter, default-deny networking in every workspace namespace, and workload hardening (dedicated service accounts, resource limits, and secrets read from Vault rather than stored in configuration). Backend services validate access tokens through RFC 7662 token introspection with dedicated OAuth clients.
Perimeter and exposure
Section titled “Perimeter and exposure”| Surface | Production posture |
|---|---|
| Public HTTPS | The cluster ingress accepts HTTP (redirect and certificate validation) and HTTPS only. There is no standing SSH ingress on Fontana-managed cloud |
| Kubernetes API | Not published to the internet. On a self-hosted server the host firewall closes it and your operators reach it over an authenticated SSH session; on a managed cloud the endpoint is reached with your cloud account’s authentication, by roles you grant |
| Workspace backends | Same-origin path routing behind one hostname per workspace, so the browser needs no cross-service CORS |
| Shared sandbox | Public HTTPS with authentication at the ingress; an unauthenticated request fails closed before it reaches the sandbox |
Inside a workspace, the browser talks to Flow, the backend services, and the workflow engine through one origin. Path prefixes such as /_convex and /_engine route each request to the right service.
Transmission boundary (TLS)
Section titled “Transmission boundary (TLS)”Fontana terminates TLS at the cluster ingress, where cert-manager obtains and renews certificates from Let’s Encrypt. Traffic between pods is plain HTTP on restricted network paths. The compensating controls are a namespace per workspace, default-deny NetworkPolicy, and no multi-tenant pod sharing on the data plane.
| Hop | Protocol | TLS termination | Notes |
|---|---|---|---|
| Internet to cluster ingress | HTTPS | Ingress (cert-manager) | Flow, backend, engine, and API paths |
| Ingress to application pod | HTTP | None | Cluster network, scoped by NetworkPolicy |
| Pod to workspace Vault | HTTP | None | NetworkPolicy scoped to Vault clients |
| Pod to external LLM or connector | HTTPS | Provider | Egress allowed on port 443 from approved workloads |
| Internet to shared sandbox | HTTPS | Ingress (cert-manager) | Authenticated at the ingress; unauthenticated requests fail closed |
Operator and cluster access
Section titled “Operator and cluster access”Your platform team (or Fontana’s managed-service administrators) reaches the cluster through controlled paths:
| Access type | Production posture |
|---|---|
| Public internet | HTTP and HTTPS for application traffic only; the security group carries no SSH rule on Fontana-managed cloud |
| Deploy path | The deploy job authenticates with short-lived credentials from your pipeline’s identity provider and runs fontana apply against the cluster API. There is no application server to log into |
| Kubernetes API | Closed at the host firewall on a self-hosted server, or authenticated by your cloud account on a managed cloud. An operator with SSO can run the same fontana apply as a break-glass path |
| Durable platform changes | Reconciled through the Fontana CLI (fontana apply with a pinned release tag) and Terraform for cluster provisioning |
| Break-glass diagnostics | Read-only cluster diagnostics where your procedures allow; durable changes still flow through the CLI and infrastructure as code |
| Cluster RBAC | Namespaced operator roles (read-only, deploy, secret-admin) are versioned and applied at bootstrap, and drift is checked against the versioned definitions |
| Operator dashboards | The status page, Grafana, and the backend dashboard each require authentication; their credentials live in the workspace Vault and surface through the Fontana CLI |
Workspace end users never receive cluster credentials. They authenticate through Zitadel OIDC in the browser and are authorised by application RBAC in Flow.
See Deployment environments for which environment classes are in SOC 2 scope.
Cloud account perimeter (Fontana-managed AWS)
Section titled “Cloud account perimeter (Fontana-managed AWS)”On Fontana-managed cloud, the AWS account around the production cluster carries its own Terraform-managed control set, complementing the workspace stack:
| Control | What it provides |
|---|---|
| Organization CloudTrail | Every operator sign-in and cloud API call is recorded to a dedicated audit bucket with log-file validation |
| AWS Config rules | Continuous drift detection: security-group ports, volume encryption, public bucket exposure, trail status |
| GuardDuty and Security Hub | Threat detection plus FSBP and CIS benchmark checks; high and critical findings route to the security mailbox |
| Daily volume snapshots | Persistent volumes are snapshotted daily with a rolling retention window, beside the scheduled online backups |
| SSO-only operator identity | Operators authenticate through IAM Identity Center with least-privilege permission sets; there are no long-lived IAM access keys |
| WORM evidence bucket | S3 Object Lock in compliance mode archives integrity-scan evidence off the cluster for the retention period |
If you run Fontana in your own cloud account, you can apply the same pattern: the audit surface (CloudTrail, Config, GuardDuty) is standard cloud tooling driven by infrastructure as code.
NetworkPolicy (default deny)
Section titled “NetworkPolicy (default deny)”Each workspace namespace applies a default-deny NetworkPolicy, then scoped allow rules per workload:
- DNS resolution for allowed pods
- Postgres, Vault, and the backend only from designated clients
- Egress to external HTTPS for approved connector and LLM traffic from the engine and backend
- Observability and health probes on documented ports
The goal is least privilege between pods: a compromised workload cannot reach other cluster services or the internet without an explicit allow rule.
Pod and workload hardening
Section titled “Pod and workload hardening”| Control | Approach |
|---|---|
| Service accounts | A Kubernetes ServiceAccount per workload, with no reliance on the namespace default |
| Resources | CPU and memory limits on every Deployment, and a ResourceQuota and LimitRange per workspace namespace |
| Secrets | Workloads read secrets from the workspace Vault at start-up with Kubernetes service account authentication; no long-lived secrets in plain ConfigMaps |
| Sandbox and browser pods | Pod Security Standards enforced on the shared sandbox and browser-session namespaces |
| Single-writer file store | The workflow engine runs one pod on a ReadWriteOnce volume, so only one pod mounts run data at a time |
Service authentication
Section titled “Service authentication”People authenticate through Zitadel OIDC in the browser. Backend services use dedicated OAuth clients and token introspection:
- The workflow engine validates tokens before it runs a privileged path
- The audit ingest service gates security audit ingest and operational routing
- A misconfigured introspection or discovery endpoint produces a fail-closed error rather than anonymous access
See Identity and access for SSO, MFA, SCIM, and application RBAC.
Identity events in audit
Section titled “Identity events in audit”Sign-in, MFA challenges, role changes, and deprovisioning feed the immutable security audit trail. See Security audit (WORM).
Related documentation
Section titled “Related documentation”- Workspace isolation: the per-workspace network boundary
- Secrets and encryption: TLS and the compensating controls for workspace-internal HTTP
- Deployment architecture: the single-origin routing table
- Deployment environments: production-class SOC 2 scope
- SOC 2 control summary: network and authentication rows