Turqoa Docs

Deployment

Turqoa supports three deployment models to accommodate different infrastructure requirements, security postures, and operational constraints. This guide helps you choose the right model and understand the architecture of each.

Deployment Models

ModelDescriptionBest For
On-PremiseFull Turqoa stack runs on hardware within the terminal's data centerAir-gapped environments, strict data sovereignty, low-latency gate operations
CloudTurqoa runs on managed cloud infrastructure (AWS, Azure, GCP)Multi-terminal deployments, elastic scaling, minimal on-site IT
HybridAI inference runs on-premise for real-time processing; management plane runs in the cloudBalance of latency requirements and operational flexibility

Architecture Overview

On-Premise Architecture

┌──────────────────── Terminal Data Center ────────────────────┐
│                                                              │
│  ┌──────────┐  ┌──────────┐  ┌──────────┐  ┌────────────┐  │
│  │ Gate      │  │ AI       │  │ Decision │  │ Command    │  │
│  │ Controller│  │ Inference│  │ Engine   │  │ Center     │  │
│  │ (Edge)   │  │ (GPU)    │  │          │  │ (Web UI)   │  │
│  └────┬─────┘  └────┬─────┘  └────┬─────┘  └────┬───────┘  │
│       └──────────────┴─────────────┴─────────────┘          │
│                        │                                     │
│               ┌────────▼────────┐                            │
│               │   PostgreSQL    │                            │
│               │   + Kafka       │                            │
│               └─────────────────┘                            │
└──────────────────────────────────────────────────────────────┘

Cloud Architecture

┌──────────── Cloud Region ────────────┐
│  ┌─────────┐  ┌─────────┐           │
│  │ K8s     │  │ Managed │           │
│  │ Cluster │  │ DB/MQ   │           │
│  └────┬────┘  └────┬────┘           │
│       └─────┬──────┘                │
│             │                       │
└─────────────┼───────────────────────┘
              │ VPN / Direct Connect
┌─────────────┼──── Terminal ────┐
│     ┌───────▼──────┐           │
│     │ Edge Gateway │           │
│     │ (Camera +    │           │
│     │  TOS proxy)  │           │
│     └──────────────┘           │
└────────────────────────────────┘

Hybrid Architecture

┌────────── Cloud ──────────┐     ┌──────── Terminal ────────────┐
│  ┌─────────────────────┐  │     │  ┌──────────┐  ┌──────────┐ │
│  │ Management Plane    │  │     │  │ AI       │  │ Gate     │ │
│  │ - User mgmt        │  │ VPN │  │ Inference│  │ Controller│ │
│  │ - Config sync       │◄─┼─────┼─►│ (GPU)    │  │ (Edge)   │ │
│  │ - Audit aggregation │  │     │  └──────────┘  └──────────┘ │
│  │ - Analytics         │  │     │  ┌──────────┐               │
│  └─────────────────────┘  │     │  │ Local DB │               │
└───────────────────────────┘     │  │ + Cache  │               │
                                  │  └──────────┘               │
                                  └─────────────────────────────┘

Decision Guide

Use the following criteria to select your deployment model:

CriteriaOn-PremiseCloudHybrid
Data stays on-siteYesNoPartial
Latency < 100ms (camera to decision)YesDepends on connectivityYes
No internet dependencyYesNoPartial
Multi-site centralized managementManualYesYes
Auto-scalingNoYesPartial
Operational complexityHighLowMedium
Capital expenditureHighLowMedium
Recurring costLowMedium-HighMedium

Recommendation: Most greenfield deployments should start with Hybrid. It provides real-time gate performance through on-premise inference while offloading management, analytics, and multi-site orchestration to the cloud.

Next Steps