> ## Documentation Index
> Fetch the complete documentation index at: https://docs.insecureweb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Architecture Overview

> Understanding UTMStack v11's modern, scalable architecture and deployment models.

UTMStack v11 introduces a revolutionary architecture designed for modern cybersecurity operations. The platform offers flexible and scalable deployment models that adapt to organizations of any size, from small businesses to large enterprises and MSPs.

<Info>
  **New in v11**: The architecture now features a manager-worker model with horizontal scalability, replacing the monolithic design of previous versions.
</Info>

***

## Core Architecture Components

### Manager and Worker Nodes

UTMStack v11 uses a distributed architecture with two primary container types:

<CardGroup cols={2}>
  <Card title="Manager Node" icon="server">
    **Central coordination and management**

    * Web interface hosting
    * User authentication and authorization
    * Configuration management
    * Alert orchestration
    * API endpoints
    * Database management
  </Card>

  <Card title="Worker Nodes" icon="diagram-project">
    **Distributed data processing**

    * Log ingestion and parsing
    * Real-time correlation
    * Threat detection
    * Plugin execution
    * Parallel processing
    * Horizontal scalability
  </Card>
</CardGroup>

### Key Architectural Features

<AccordionGroup>
  <Accordion title="EventProcessor Engine" icon="bolt">
    Replaces Logstash with a custom-built, high-performance log processing engine developed by Threatwinds:

    * Lower resource consumption
    * Faster processing speeds
    * Better memory management
    * Native correlation capabilities
  </Accordion>

  <Accordion title="Modular Plugin System" icon="puzzle-piece">
    Official plugin architecture for extensibility:

    * Independent feature modules
    * Easy maintenance and updates
    * Community contributions support
    * Hot-swappable components
  </Accordion>

  <Accordion title="Horizontal Scaling" icon="arrows-left-right">
    Add worker nodes to scale processing capacity:

    * Linear performance scaling
    * No single point of failure
    * Load distribution across workers
    * Automatic failover support
  </Accordion>
</AccordionGroup>

***

## Deployment Models

UTMStack v11 supports multiple deployment models to meet different organizational needs:

### 1. Single Node Deployment (Standalone)

<img height="200" noZoom className="block rounded-xl" src="https://mintcdn.com/insecurewebllc/c-LmbEAoG_wlIh4e/images/architecture/architecture_diagram1.png?fit=max&auto=format&n=c-LmbEAoG_wlIh4e&q=85&s=c4432699f6487f62bfb108671952f5fe" alt="Single Node Deployment" data-path="images/architecture/architecture_diagram1.png" />

**Best for**: Small to medium organizations with up to 500 data sources

A **single node deployment** combines both manager and worker functions on one server, providing:

* Complete data control and isolation
* Simplified management
* Lower infrastructure costs
* Suitable for on-premises or cloud deployment
* Full SIEM/XDR capabilities

**Characteristics**:

* All-in-one installation
* Direct log collection from devices
* Local data storage
* No external dependencies
* Enhanced security through data isolation

***

### 2. Multi-Node Deployment (Manager + Workers)

<img height="200" noZoom className="block rounded-xl" src="https://mintcdn.com/insecurewebllc/c-LmbEAoG_wlIh4e/images/architecture/architecture_diagram2.png?fit=max&auto=format&n=c-LmbEAoG_wlIh4e&q=85&s=9bd749a483b2dd2764ed5d23848611f6" alt="Multi-Node Deployment" data-path="images/architecture/architecture_diagram2.png" />

**Best for**: Large organizations with 500+ data sources requiring high performance

A **multi-node deployment** separates management from processing:

* One manager node for coordination
* Multiple worker nodes for data processing
* Horizontal scalability
* High availability options
* Load distribution

**Characteristics**:

* Scalable architecture
* Add workers as needed
* Parallel log processing
* Better resource utilization
* Handles large data volumes efficiently

***

### 3. Federated Deployment (MSP Model)

<img height="200" noZoom className="block rounded-xl" src="https://mintcdn.com/insecurewebllc/c-LmbEAoG_wlIh4e/images/architecture/architecture_diagram2.png?fit=max&auto=format&n=c-LmbEAoG_wlIh4e&q=85&s=9bd749a483b2dd2764ed5d23848611f6" alt="Federated Master Deployment" data-path="images/architecture/architecture_diagram2.png" />

**Best for**: Managed Service Providers (MSPs) managing multiple customers

The **federated deployment model** enables centralized management across multiple UTMStack instances:

* Separate UTMStack installation per customer
* Central federation server for unified monitoring
* Multi-tenant architecture
* Centralized alerting and reporting
* Customer data isolation

**Characteristics**:

* One instance per customer network
* Central monitoring dashboard
* Unified alert management
* Efficient multi-customer oversight
* Scalable MSP operations

<Tip>
  This model is commonly used by SOC teams for its simplicity and effectiveness in managing multiple client environments.
</Tip>

***

### 4. SaaS Deployment (Fully Managed)

<img height="200" noZoom className="block rounded-xl" src="https://mintcdn.com/insecurewebllc/c-LmbEAoG_wlIh4e/images/architecture/architecture_diagram3.png?fit=max&auto=format&n=c-LmbEAoG_wlIh4e&q=85&s=656f782d608cbc4574d7d1762789b011" alt="SaaS Deployment" data-path="images/architecture/architecture_diagram3.png" />

**Best for**: Organizations preferring a fully managed solution

The **SaaS deployment model** provides a turnkey, cloud-hosted solution:

* Hosted and managed by UTMStack
* Automatic updates and scaling
* High availability included
* Professional support
* No infrastructure management

**Characteristics**:

* Cloud-based deployment
* Agents or SyslogTLS for log collection
* Automatic backups
* 24/7 monitoring
* Managed updates and maintenance
* Focus on your business, not infrastructure

***

## Data Flow Architecture

```mermaid theme={null}
graph TB
    A[Data Sources] --> B[Collection Layer]
    B --> C[EventProcessor]
    C --> D[Correlation Engine]
    D --> E[Storage Layer]
    D --> F[Alert Engine]
    F --> G[SOAR Workflows]
    E --> H[Query Engine]
    H --> I[Web Interface]
    F --> I
    G --> I
```

### Processing Pipeline

1. **Data Collection**: Agents, syslog, APIs collect logs from sources
2. **EventProcessor**: Parses and normalizes incoming data
3. **Correlation Engine**: Real-time correlation before storage
4. **Storage Layer**: Elasticsearch for indexed log storage
5. **Alert Engine**: Generates alerts based on correlation rules
6. **SOAR**: Automated response workflows
7. **Query Engine**: Fast search and analysis
8. **Web Interface**: User interaction and visualization

***

## Security Architecture

<CardGroup cols={2}>
  <Card title="Encryption in Transit" icon="lock">
    * TLS 1.3 for all connections
    * Certificate-based authentication
    * Encrypted agent communication
  </Card>

  <Card title="Access Control" icon="shield">
    * Mandatory Multi-Factor Authentication
    * Role-based access control (RBAC)
    * Session management
    * Audit logging
  </Card>

  <Card title="Data Isolation" icon="database">
    * Container isolation
    * Network segmentation
    * Encrypted data at rest
    * Secure credential storage
  </Card>

  <Card title="Service Security" icon="shield-halved">
    * Microservices architecture
    * Fail2ban protection
    * Regular security updates
    * Vulnerability scanning
  </Card>
</CardGroup>

***

## Scalability Considerations

### When to Scale Horizontally

<Steps>
  <Step title="Monitor Performance Metrics">
    Watch CPU, memory, and disk I/O on your manager node
  </Step>

  <Step title="Add Worker Nodes When">
    * Processing more than 500 data sources
    * CPU usage consistently above 70%
    * Log ingestion delays occur
    * Real-time correlation lags
  </Step>

  <Step title="Scale Gradually">
    Add worker nodes one at a time and monitor improvement
  </Step>

  <Step title="Optimize Distribution">
    Configure plugin distribution across workers for optimal performance
  </Step>
</Steps>

***

## High Availability Options

For mission-critical deployments:

* **Database Clustering**: Elasticsearch cluster for data redundancy
* **Manager Redundancy**: Active-passive manager configuration
* **Worker Pools**: Multiple workers ensure continued processing
* **Load Balancing**: Distribute user connections across manager nodes
* **Backup Systems**: Automated backup and disaster recovery

***

## Network Architecture

### Required Connectivity

```
Manager Node:
  ← Data Sources (various ports)
  ← Worker Nodes (internal)
  ← Administrators (443/TCP)
  → Central Server (optional)

Worker Nodes:
  ← Data Sources (various ports)
  → Manager Node (internal)
  → Elasticsearch (internal)
```

### Security Zones

* **DMZ**: Agent collectors and log receivers
* **Internal**: Core processing and storage
* **Management**: Web interface and administration
* **Isolated**: Customer data in federated deployments

***

## Comparison: v10 vs v11 Architecture

| Feature                | v10           | v11                          |
| ---------------------- | ------------- | ---------------------------- |
| **Processing Engine**  | Logstash      | EventProcessor               |
| **Scalability**        | Vertical only | Horizontal + Vertical        |
| **Architecture**       | Monolithic    | Distributed (Manager/Worker) |
| **Plugin System**      | Integrated    | Modular                      |
| **Resource Usage**     | Higher        | Significantly lower          |
| **MFA**                | Optional      | Mandatory                    |
| **Central Management** | Limited       | Full support                 |
| **Auto Updates**       | Manual        | Automatic (optional)         |

***

## Choosing Your Deployment Model

<CardGroup cols={2}>
  <Card title="Single Node" icon="server">
    **Choose if**:

    * \< 500 data sources
    * Budget-conscious
    * Simple management preferred
    * Single location deployment
  </Card>

  <Card title="Multi-Node" icon="diagram-project">
    **Choose if**:

    * > 500 data sources
    * High performance required
    * Large data volumes
    * Enterprise scale
  </Card>

  <Card title="Federated" icon="network-wired">
    **Choose if**:

    * MSP or MSSP
    * Multiple customers
    * Centralized monitoring needed
    * SOC operations
  </Card>

  <Card title="SaaS" icon="cloud">
    **Choose if**:

    * No infrastructure team
    * Prefer managed solution
    * Quick deployment needed
    * Focus on operations not maintenance
  </Card>
</CardGroup>

***

## Next Steps

<CardGroup cols={2}>
  <Card title="Installation Guide" icon="download" href="/v11/Installation/installation">
    Install UTMStack v11
  </Card>

  <Card title="System Requirements" icon="gauge" href="/v11/Installation/system_requirements">
    Check detailed requirements
  </Card>

  <Card title="Firewall Configuration" icon="firewall" href="/v11/Installation/firewall_rules">
    Configure network access
  </Card>

  <Card title="SSL Certificate Management" icon="shield" href="/v11/Installation/ssl_certificate">
    SSL Certificate Management
  </Card>
</CardGroup>
