Bring Your Own Cloud
Run Vorflux with session data, artifacts, and sandbox machines inside your own AWS account — reachable only through a connector you control.
Bring Your Own Cloud (BYOC) splits Vorflux into two halves. The control plane — the web app, API, and orchestration — stays with Vorflux. The data plane — where session state is stored, where artifacts and secrets are encrypted, and where agents actually execute code — is deployed into a VPC in your AWS account.
The two halves meet at exactly one point: the Customer Data Connector, a service running in your VPC that dials out to Vorflux over an outbound WebSocket connection authenticated with a bearer ConnectorToken. There is no inbound firewall rule to open and no network peering to negotiate.
What runs where
| Component | Runs in | Purpose |
|---|---|---|
| Web app & API | Vorflux | Sign-in, session UI, orchestration, and the public API |
| Connector Relay | Vorflux | Terminates connector connections and maps each ConnectorToken to one tenant |
| Customer Data Connector | Your VPC | The only component that touches your data services; enforces local policy |
| Session database (RDS) | Your VPC | Durable session records, encrypted at rest |
| Cache (ElastiCache for Redis) | Your VPC | Live session state, encrypted at rest |
| Artifact storage & keys (S3, KMS) | Your VPC | Artifacts and secrets, encrypted with keys you manage where required |
| Sandbox machines | Your VPC | Where agents clone, build, and test your code; private IPs only |
How requests flow
- A user works in the Vorflux app, authenticated over HTTPS with OIDC.
- When a session needs data — read state, append a tool result, fetch an artifact, or call a sandbox — Vorflux sends a typed request down the tunnel your connector already holds open.
- The connector checks the request against its operation allowlist, then performs it against the database, cache, storage, or sandbox using its own scoped credentials.
- Only the typed result travels back up the tunnel.
Vorflux sends typed requests that may include structured parameters — for example, SQL for a database query operation. It never receives the credentials needed to execute them directly; those stay with the connector.
Communication paths
| Path | Protocol | Controls |
|---|---|---|
| User → Vorflux app/API | HTTPS + OIDC | TLS, OIDC/JWT, tenant authorization |
| Connector → Connector Relay | WSS over HTTPS (443) | Outbound-only, bearer ConnectorToken, no inbound firewall rule |
| Connector → RDS / Redis / S3 / KMS | MySQL, Redis, and HTTPS — all over TLS | Private endpoints, connector-only roles, customer-managed keys |
| Connector → sandbox machines | raw TCP carrying HTTP (port 59010) | Private IPs only, security group admits only the connector, per-machine token |
| Sandboxes → external services | HTTPS via NAT | No public inbound, sandbox-to-sandbox traffic denied |
| Connector → usage & entitlements | HTTPS | Token counts, cost, model ID, and health only — never prompts or source |
Access boundaries
| Vorflux can access | Vorflux cannot access directly |
|---|---|
| Typed responses the connector returns for product operations | Database endpoints or database credentials |
| Session metadata needed to render the UI and orchestrate work | Redis endpoints or raw Redis commands |
| Usage metadata: token counts, cost, model ID, health | S3 credentials, KMS decrypt permissions, sandbox private IPs, MCP ports, or any other infrastructure credential in your VPC |
Why an outbound connector?
PrivateLink and VPC peering are the traditional answers to "connect a vendor to private data." BYOC deliberately makes them the exception rather than the default:
- No routing negotiations. No per-customer route tables, CIDR-overlap checks, or cross-account security-group reviews.
- No inbound exposure. The connector initiates the connection on port 443, so nothing in your VPC accepts traffic from the internet.
- A crisp boundary. Vorflux has no network route to your database, cache, storage, or sandbox private IPs — only to the connector's policy-checked API.
- Faster pilots. Deploying a connector with scoped IAM and database permissions is a smaller review than network-level connectivity.
- Instant off switch. Stopping the connector, or revoking its ConnectorToken or local grants, closes the path immediately.
If your architecture genuinely requires PrivateLink or peering, discuss it during scoping — it is supported as an exception, not the pilot path.
Next steps
Still deciding whether BYOC is the right fit? Compare it with the other models on Deployment Options.