BYOC is currently in early access. Contact us to learn more or join the program.
Architecture overview
In a BYOC deployment, Stigg provisions a set of services and infrastructure components into your cloud environment using IaC. These components handle usage metering and — optionally — access enforcement and customer/subscription data storage, entirely within your VPC. Stigg Cloud remains the authoritative source for your product catalog (plans, features, add-ons), credits, and governance configuration. Your BYOC environment receives updates from Stigg Cloud via an inbound sync channel and publishes aggregated usage back to Stigg Cloud for billing and analytics.
Components
Usage metering
The core BYOC component. All usage events from your application are ingested by the metering pipeline running in your Kubernetes cluster. It handles:- High-throughput event ingestion (up to 1M events/sec)
- Local buffering and deduplication via Kafka running in your cluster
- Real-time stream processing and aggregation via Flink running in your cluster
- Durable, queryable event storage in ClickHouse running in your cluster
- Cold-tier archival to your own S3 / GCS / Blob bucket, encrypted by your KMS keys, under your retention policy
Access enforcement (optional)
When enabled, entitlement checks are evaluated against subscription and usage data held locally in your cloud, without any call leaving your network. Responses are sub-millisecond from the local cache.Customer and subscription data (optional)
Customer records and subscription state can be stored in your cloud. When enabled, Stigg Cloud pushes subscription changes into your environment so the local copy stays current.Full self-host (optional)
All of the above components together. Stigg runs entirely within your VPC. Stigg Cloud acts only as a control plane for catalog, governance, and billing synchronization.Connectivity model
Your BYOC environment maintains a persistent connection to Stigg Cloud for:| Direction | Purpose |
|---|---|
| Stigg Cloud → your cloud | Inbound sync: catalog updates, subscription changes, credit grants, governance configuration |
| Your cloud → Stigg Cloud | Usage rollups for billing; subscription lifecycle events |
IaC and deployment
Stigg provisions your BYOC environment using infrastructure-as-code templates managed in Stigg’s internal Git repository. This approach ensures:- Repeatable, consistent deployments across customer environments
- All infrastructure changes go through code review and version control
- Upgrades are applied via the same IaC pipeline that created the environment
