RequestRocketRequestRocketDocs
RequestRocket Platform

Enterprise Deployments

Run the RequestRocket data plane on your own infrastructure with a self-hosted deployment.

A self-hosted deployment runs the same proxy and MCP engine that powers the RequestRocket shared gateways, but inside your own environment. Your applications, AI agents, and MCP clients connect to a container you operate. The container syncs its configuration from the RequestRocket control plane and pushes telemetry back, so the app, Core API, and Core MCP continue to work exactly as they do on the shared platform.

Every connection between your deployment and RequestRocket is outbound from your container. The control plane never opens a connection to your network and does not need to know the container's address. You can run the data plane entirely behind your firewall with only egress on port 443.

When to use a self-hosted deployment

RequirementHow a deployment addresses it
Data residencyAPI traffic stays on your infrastructure. Only telemetry and configuration metadata leave.
Network isolationThe container sits inside your private network, alongside the applications and APIs it connects.
ComplianceCredential secrets are encrypted for your deployment key. The control plane cannot read them at rest on your host.
LatencyCo-locate the data plane with the services it calls, eliminating the round trip to a shared regional gateway.
Identity provider integrationAuthenticate MCP consumers against your own identity provider instead of the RequestRocket consumer pool.

Self-hosted deployments require the self_hosted entitlement on the organisation and a purchased deployment license. See Licenses and billing for pricing.

Architecture

The data plane container is a single Docker image. It runs behind a Traefik ingress and stores its working state in MongoDB. Both ship in the data plane install kit. You can substitute your own ingress or an existing MongoDB-compatible database.

What runs in your environment

ComponentWhat it does
Traefik ingressRoutes callers to the data plane, manages TLS, and gates traffic on the container health check.
Data plane containerAuthenticates callers, evaluates rules, meters, overrides, filters, and transforms, then calls the upstream API with credentials injected. This is the same engine that runs on the shared gateways.
MongoDBStores synced configuration and request history locally. The data plane reads configuration from it and writes request records to it.

What stays on the RequestRocket control plane

ComponentWhat it does
ConfigurationProxies, MCP servers, credentials, targets, rules, meters, overrides, filters, transforms, and alerts are configured in the app, through the Core API, or through the Core MCP, just as they are on the shared platform. Changes sync down to your deployment automatically.
Billing and entitlementsPlan tier, feature flags, and billing state are synced as read-only data. There is no local override — the data plane derives entitlements from the synced configuration the same way the shared platform does.
Telemetry and request logsRequest records are forwarded to the control plane and appear in the app's telemetry dashboards, request logs, and alerts alongside records from the shared gateways.

How configuration flows down

The data plane polls the control plane on a configurable interval (default: every 30 seconds). Only entities assigned to your deployment's edge region are returned.

  • Incremental sync delivers entities that changed since the last successful poll.
  • Full sync runs at least once an hour. It re-delivers every entity and prunes anything that was deleted centrally, including revoked credentials.
  • Tombstones ensure deletions propagate immediately. Deleting a record keeps it as a tombstone for seven days so that the next incremental sync carries it down.

Credential secrets are encrypted with your deployment's public key before they are saved to the control plane. The your deployment's private key unwraps them at the edge. We never see your private key, so we cannot decrypt them. (We never store your private key, but you should take precautions to protect it.)

How telemetry flows up

Telemetry for each request the data plane serves is recorded in a local outbox. A forwarder drains the outbox in batches, validates each record, and posts them to the control plane. Accepted records feed the same telemetry, billing, and alerting pipeline as calls on the shared gateways.

Events are idempotent — a retry after a crash or restart resolves to the same identifier and is recognised as a duplicate rather than double-counted. A single malformed record does not block the rest of the batch.

We do not store payloads for requests or responses.

Security model

AssetWhere it livesNotes
Deployment private keyYour environment onlyMounted as a file or Docker secret. Never transmitted to RequestRocket.
Deployment public keyControl planeSubmitted at creation. Immutable.
Credential secretsBoth, encryptedBasd on your public key.
Deployment API keyYour environmentAuthenticates outbound sync and telemetry requests to RequestRocket. Grants no inbound access.
Plan and billing stateControl planeSynced down read-only. Not settable at the edge.

The private key is read from a mounted file, the Docker secrets directory, or an environment variable — in that order. A key in an environment variable is visible to anything that can inspect the container, so a mounted file or secrets backend is preferred.

Offline behaviour

The container serves from its last known good state when the control plane is unreachable.

DurationBehaviour
Under 6 hoursNormal operation.
6 hours to 7 daysStill serving. A warning header is added to every response.
Over 7 daysAll requests return 503. A container that has never synced also returns 503.

A misconfigured or disconnected deployment fails closed rather than serving unmetered traffic with stale credentials.

Networking

The container needs outbound HTTPS to the following destinations. No inbound connections from RequestRocket are required.

DestinationPurpose
api.requestrocket.comConfiguration sync and telemetry forwarding
ghcr.ioContainer image pulls and digest checks
Your upstream APIsThe third-party APIs your proxies and MCP servers call

TLS

Callers authenticate with a bearer credential, so do not expose plain HTTP on an untrusted network. The install kit publishes port 80. Terminate TLS on a load balancer in front of the host, or configure Traefik to serve HTTPS with your own certificate. Both options are in the deployment guide.

Setup journey

Purchase a deployment license

Open Organisation settings and navigate to Billing. Purchase one or more deployment licenses. Each license is billed monthly alongside the organisation plan.

Generate an RSA key pair

Generate an RSA key pair of at least 2048 bits. The public key is submitted to RequestRocket. The private key stays on your host and is never transmitted.

openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -out private_key.pem
openssl rsa -in private_key.pem -pubout -out public_key.pem

Create the deployment in RequestRocket

Open Deployments and click New. Provide a name and paste the contents of public_key.pem. After creation, generate an API key on the Secrets tab.

Install and configure the container

Clone the RequestRocket data plane install kit and follow docs/deployment-guide.md in that repository. Configure it with your deployment ID, client ID, API key, and private key, then start the containers with Docker Compose.

Assign resources to the deployment region

Create proxies, targets, credentials, and MCP servers with the region set to edge-{deploymentId}. Traffic for those resources routes through your container once it syncs.

Verify

Call the deployment's health endpoint and confirm it returns healthy. Open the deployment in the app to confirm the status shows Connected.

Full installation instructions, including TLS configuration, automatic updates, and scaling, are in docs/deployment-guide.md.

Automatic updates

The install kit includes an update script that checks the container registry once an hour. When a new image is available, it performs a blue-green swap: the new container starts alongside the current one, and traffic cuts over only when the new container passes its health check. If the new container fails, the previous container keeps serving.

The update script replaces the data plane image only. Changes to Compose files, Traefik configuration, or update scripts are applied by pulling the install kit again. Release notes say when a host-side update is required.

Supported authentication types

The self-hosted data plane supports all inbound credential types that can be verified locally: API key, bearer, basic, and JWT (jwtVerify and idpVerify).

The RequestRocket consumer pool is a Cognito user pool operated by RequestRocket. A container in your environment has no access to it, so consumer pool credentials are withheld at sync time. To authenticate MCP consumers on a self-hosted deployment, use your own identity provider with idpVerify instead.

Next

On this page