Skip to main content

Hybrid Deployment

STOA Platform supports multiple deployment models to match your security, sovereignty, and operational requirements.

Deployment Models​

ModelControl PlaneGatewayData ResidencyBest For
HybridSTOA Cloud (EU)On-PremisesBusiness data on-premMost enterprises
Full On-PremisesYour infrastructureYour infrastructureFull on-premMax sovereignty
Multi-CloudSTOA CloudMultiple regionsDistributedGlobal organizations

Control Plane Cloud + Gateway On-Premises

The default deployment model balances ease of management with data sovereignty.

What Stays On-Premises​

Data TypeDescriptionEncryption
API PayloadsRequest/response bodiesTLS in transit
CredentialsAPI keys, tokens, certificatesAES-256 at rest (Vault)
User IdentitiesOracle OAM/OIM directoryExisting controls
Raw LogsFull transaction detailsCustomer-controlled
SecretsSecrets backend data (OpenBao or HashiCorp Vault)AES-256-GCM

What Goes to Cloud​

Data TypeDescriptionSensitivity
API MetadataNames, descriptions, OpenAPI specsLow
Aggregated MetricsRequest counts, latencies, errorsLow
ConfigurationRouting rules, policiesLow
Federated TokensShort-lived, no credentialsLow

Network Requirements​

DirectionProtocolPortsPurpose
On-prem β†’ CloudHTTPS443Config sync, metrics push
Cloud β†’ On-premNoneβ€”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​

ComponentOn-Premises Requirement
KubernetesProduction cluster (3+ nodes)
PostgreSQLHA setup (primary + replica)
OpenSearchCluster for logs and search
Object StorageS3-compatible (MinIO)
TLS CertificatesPKI or Let's Encrypt

Trade-offs​

AspectHybridFull On-Prem
Operational complexityLowerHigher
UpdatesAutomaticManual
SupportFullLimited self-service
Data residencyMetadata in cloud100% on-prem
Initial setup1-2 days1-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​

DataDirectionEncryptionFrequency
ConfigCloud β†’ On-premmTLSOn change
Metrics (aggregated)On-prem β†’ CloudTLSEvery 15s
AlertsCloud β†’ Ops teamTLSOn trigger
Tokens (federated)Cloud ↔ On-premTLSPer request
PayloadsDesigned to remain on-premN/AN/A
CredentialsDesigned to remain on-premN/AN/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
Prerequisite before expecting 1/1 Ready

This 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​


Need help choosing the right deployment model? Contact us for an architecture consultation.

Cookies and privacy

With your permission, we use cookies to measure visits and understand navigation to improve the site.

Learn more

Google Analytics measures visits and useful clicks. Microsoft Clarity provides masked interaction replays. No advertising use. Your choice is saved for six months. You can change or withdraw it at any time using the β€œCookies” button.

Read the audience measurement details