Skip to content

Self-Hosted Architecture Overview ​

Note: If you would like to evaluate the self-hosted Pulumi Cloud, request a Proof of Concept (PoC) or contact us.

This page describes the high-level architecture of a self-hosted Pulumi Cloud deployment. For detailed configuration of individual components, see Components.

Core components ​

ComponentDescription
API serviceGo-based REST API that handles CLI requests, state management, and all backend operations
ConsoleWeb UI served as a static Angular application
DatabaseMySQL 8.0.x for metadata, stack state references, and user/organization data
Workflow runnersDocker hosts or Kubernetes cluster that runs the workflow runners for Pulumi Deployments and Discovery scanning (Optional)

Supporting infrastructure ​

ComponentDescription
Object storageBlob storage for checkpoint (state) files and policy packs. Supported: S3 and compatible implementations, Azure Blob Storage, Google Cloud Storage
SearchOpenSearch 2.x or 3.x for resource search and AI features

Data flow ​

mermaid
graph TB
    subgraph Clients
        CLI[Pulumi CLI]
        Browser[Web Browser]
    end

    subgraph Load Balancer
        LB[Application Load Balancer]
    end

    subgraph Compute - Stateless
        API[API Service]
        Console[Console]
    end

    subgraph Data - Stateful
        DB[(MySQL 8.0)]
        S3[Object Storage]
    end

    subgraph Search
        OpenSearch[OpenSearch]
    end

    CLI -->|api.domain| LB
    Browser -->|app.domain| LB
    LB --> API
    LB --> Console
    API --> DB
    API --> S3
    API --> OpenSearch
    Console -->|API calls| API

The API and Console services are stateless - all persistent data lives in the database and object storage. This makes the compute tier straightforward to scale horizontally and recover from failures.

Next steps ​

Content from the official Pulumi documentation (github.com/pulumi/docs).