Hybrid Deployment
STOA Platform supports multiple deployment models to match your security, sovereignty, and operational requirements.
Deployment Modelsβ
| Model | Control Plane | Gateway | Data Residency | Best For |
|---|---|---|---|---|
| Hybrid | STOA Cloud (EU) | On-Premises | Business data on-prem | Most enterprises |
| Full On-Premises | Your infrastructure | Your infrastructure | Full on-prem | Max sovereignty |
| Multi-Cloud | STOA Cloud | Multiple regions | Distributed | Global organizations |
Model 1: Hybrid (Recommended)β
Control Plane Cloud + Gateway On-Premises
The default deployment model balances ease of management with data sovereignty.
What Stays On-Premisesβ
| Data Type | Description | Encryption |
|---|---|---|
| API Payloads | Request/response bodies | TLS in transit |
| Credentials | API keys, tokens, certificates | AES-256 at rest (Vault) |
| User Identities | Oracle OAM/OIM directory | Existing controls |
| Raw Logs | Full transaction details | Customer-controlled |
| Secrets | Secrets backend data (OpenBao or HashiCorp Vault) | AES-256-GCM |
What Goes to Cloudβ
| Data Type | Description | Sensitivity |
|---|---|---|
| API Metadata | Names, descriptions, OpenAPI specs | Low |
| Aggregated Metrics | Request counts, latencies, errors | Low |
| Configuration | Routing rules, policies | Low |
| Federated Tokens | Short-lived, no credentials | Low |
Network Requirementsβ
| Direction | Protocol | Ports | Purpose |
|---|---|---|---|
| On-prem β Cloud | HTTPS | 443 | Config sync, metrics push |
| Cloud β On-prem | None | β | No inbound required |
Key security benefit: No inbound connections required. All communication is initiated from your infrastructure.
Prerequisitesβ
- Kubernetes 1.28+ cluster on-premises
- Outbound HTTPS to STOA Cloud endpoints
- DNS resolution for STOA services
- Existing identity provider (OAM, Okta, Azure AD)
Model 2: Full On-Premisesβ
Maximum Sovereignty
For organizations requiring complete control over all components.
When to Choose Full On-Premisesβ
- Regulatory requirement for 100% data residency
- Air-gapped environments
- Government or defense sector
- Extreme compliance requirements (banking regulators)
Additional Requirementsβ
| Component | On-Premises Requirement |
|---|---|
| Kubernetes | Production cluster (3+ nodes) |
| PostgreSQL | HA setup (primary + replica) |
| OpenSearch | Cluster for logs and search |
| Object Storage | S3-compatible (MinIO) |
| TLS Certificates | PKI or Let's Encrypt |
Trade-offsβ
| Aspect | Hybrid | Full On-Prem |
|---|---|---|
| Operational complexity | Lower | Higher |
| Updates | Automatic | Manual |
| Support | Full | Limited self-service |
| Data residency | Metadata in cloud | 100% on-prem |
| Initial setup | 1-2 days | 1-2 weeks |
Model 3: Multi-Cloud (Future)β
Global Distribution
For organizations requiring presence in multiple regions or clouds.
Planned Capabilitiesβ
- Geographic load balancing
- Data residency per region
- Cross-region failover
- Unified global dashboard
Status: Planned
Data Flow Summaryβ
Hybrid Model Data Matrixβ
| Data | Direction | Encryption | Frequency |
|---|---|---|---|
| Config | Cloud β On-prem | mTLS | On change |
| Metrics (aggregated) | On-prem β Cloud | TLS | Every 15s |
| Alerts | Cloud β Ops team | TLS | On trigger |
| Tokens (federated) | Cloud β On-prem | TLS | Per request |
| Payloads | Designed to remain on-prem | N/A | N/A |
| Credentials | Designed to remain on-prem | N/A | N/A |
Network Diagramβ
Getting Startedβ
Hybrid Gateway Deployment (Kubernetes)β
charts/stoa-platform is installed from a checkout of stoa-platform/stoa (no public charts.gostoa.dev index is published) and deploys the STOA Gateway and its 5 CRDs. To connect an existing Kong, Gravitee, or webMethods gateway without Kubernetes, use stoa-connect (STOA Link) instead. Hosted Control Plane access is available on request at sales@gostoa.dev.
# 1. Clone the repository at a verified revision
git clone https://github.com/stoa-platform/stoa.git
cd stoa
git checkout 639e8b9a2217695cfc2f590e246ed9d4ce4d4913
# 2. Install the on-premises STOA Gateway against your Control Plane and Keycloak URLs
# (./site-post-render.sh is your prepared executable post-renderer mounting the private_key_jwt Secret volume;
# if your Kustomize/GitOps pipeline applies that Deployment overlay instead, run it before checking Ready)
helm upgrade --install stoa-platform ./charts/stoa-platform \
-n stoa-system --create-namespace \
-f my-values.yaml \
--post-renderer ./site-post-render.sh
Minimal my-values.yaml for a hybrid gateway (stoaGateway.image requires both repository and digest when overridden; see the Installation Guide for startup policy readiness requirements):
stoa:
domain: "<YOUR_DOMAIN>"
stoaGateway:
controlPlaneUrl: "https://api.<YOUR_DOMAIN>"
keycloakUrl: "https://auth.<YOUR_DOMAIN>"
secretName: stoa-gateway-secrets
policyBootTenants:
- "<YOUR_TENANT_ID>"
serviceMonitor:
enabled: false
otelEndpoint: ""
controlPlaneApi:
serviceMonitor:
enabled: false
gateway:
edgeMcp:
enabled: false
gatewaySync:
enabled: false
1/1 ReadyThis minimal values file alone will not bring pods to 1/1 Ready (/health tests process liveness only, whereas /ready enforces policyBootTenants and fresh signed tool permissions). At commit 639e8b9a, charts/stoa-platform mounts only tmp (emptyDir) and stoa-gateway-policies (ConfigMap) β before expecting 1/1 Ready, mount the private_key_jwt signing-key Secret (STOA_KEYCLOAK_CLIENT_KEY_PATH, plus STOA_KEYCLOAK_CLIENT_KEY_ID via extraEnv) using a Deployment manifest overlay, Kustomize patch, or Helm --post-renderer as documented in Startup Policy and Readiness.
# 3. Check pod status (pods reach 1/1 Ready only after the private_key_jwt Secret is mounted and signed policies load)
kubectl get pods -n stoa-system
Full On-Premises Stackβ
charts/stoa-platform deploys only the STOA Gateway, 5 CRDs, and optional integration hooks (charts/stoa-observability packages optional Grafana Alloy/Tempo/Blackbox telemetry). Provision PostgreSQL, Keycloak (single stoa realm), OpenSearch, the Control Plane API / Console / Developer Portal workloads, and β if your site uses an external secrets backend (ADR-075) β optional OpenBao separately before installing the gateway chart:
# 1. Optional: install OpenBao only if your site uses an external secrets backend (ADR-075)
helm repo add openbao https://openbao.github.io/openbao-helm
helm repo update
helm install openbao openbao/openbao -n openbao --create-namespace
# 2. Deploy Control Plane API, Console, Portal, PostgreSQL, and Keycloak per your site manifests
# (or evaluate locally via deploy/docker-compose β see /docs/guides/quickstart)
# 3. Install the STOA Gateway from the checked-out repository, applying your prepared private_key_jwt volume overlay
helm upgrade --install stoa-platform ./charts/stoa-platform \
-n stoa-system --create-namespace \
-f your-values.yaml \
--post-renderer ./site-post-render.sh
For air-gapped sites with no outbound Internet access, follow Offline Installation.
Next Stepsβ
- Security & Compliance β Data residency details
- Migration Guides β Move from legacy platforms
- Architecture Overview β Component deep dive
Need help choosing the right deployment model? Contact us for an architecture consultation.