Skip to content

Deployment Model

How Stratos Vault instances are deployed and operated.


Overview

Stratos Vault uses a serverless edge architecture built on Cloudflare's global network. This provides enterprise-grade reliability without infrastructure management overhead.


Architecture

┌─────────────────────────────────────────────────────────────────┐
│                    Cloudflare Global Network                     │
│                                                                  │
│    ┌──────────┐    ┌──────────┐    ┌──────────┐                │
│    │ Americas │    │  Europe  │    │   Asia   │    ...         │
│    │  Edge    │    │   Edge   │    │   Edge   │                │
│    └────┬─────┘    └────┬─────┘    └────┬─────┘                │
│         │               │               │                       │
│         └───────────────┴───────────────┘                       │
│                         │                                        │
│    ┌────────────────────▼────────────────────┐                  │
│    │         Your Stratos Vault Instance      │                  │
│    │  ┌──────────────┐  ┌──────────────────┐ │                  │
│    │  │ Static Assets│  │ Pages Functions  │ │                  │
│    │  │   (React)    │  │   (API Logic)    │ │                  │
│    │  └──────────────┘  └──────────────────┘ │                  │
│    │  ┌──────────────────────────────────────┤                  │
│    │  │            D1 Database               │                  │
│    │  │    (Users, Sessions, Config)         │                  │
│    │  └──────────────────────────────────────┘                  │
│    └─────────────────────────────────────────┘                  │
└─────────────────────────────────────────────────────────────────┘

Key Components

Cloudflare Pages

Static assets and API functions deployed to edge:

ComponentPurpose
Static AssetsReact frontend, CSS, images
Pages FunctionsAPI endpoints (auth, wallet, admin)
Edge RoutingRequest routing and caching

D1 Database

SQLite-compatible database at the edge:

DataDescription
UsersAccounts, roles, party IDs
CredentialsWebAuthn public keys
SessionsActive user sessions
ConfigurationAssets, RPC endpoints, dock apps

External Connections

ServicePurpose
Blockchain RPCsTransaction broadcast, balance queries
Canton ParticipantDaml contract operations
Price APIsAsset valuations (optional)

Deployment Benefits

Global Performance

  • 300+ edge locations worldwide
  • Sub-50ms latency for most users
  • Automatic geographic routing to nearest edge
  • No cold starts for static assets

Reliability

  • 99.99% uptime SLA from Cloudflare
  • Automatic failover between edge locations
  • DDoS protection included
  • No single point of failure

Scalability

  • Automatic scaling to any traffic level
  • No capacity planning required
  • Pay-per-request pricing model
  • No infrastructure limits

Security

  • HTTPS everywhere by default
  • Edge firewall and rate limiting
  • No servers to patch or maintain
  • SOC 2, ISO 27001 compliant infrastructure

Instance Isolation

Each Stratos Vault deployment is completely isolated:

Data Isolation

┌─────────────────────────────────────────────────────────────────┐
│                    Cloudflare Infrastructure                     │
│                                                                  │
│  ┌─────────────────────┐  ┌─────────────────────┐              │
│  │    Instance A       │  │    Instance B       │              │
│  │  ┌───────────────┐  │  │  ┌───────────────┐  │              │
│  │  │ D1: vault-a   │  │  │  │ D1: vault-b   │  │              │
│  │  │ - Users A     │  │  │  │ - Users B     │  │              │
│  │  │ - Config A    │  │  │  │ - Config B    │  │              │
│  │  └───────────────┘  │  │  └───────────────┘  │              │
│  │  Domain: a.example  │  │  Domain: b.example  │              │
│  └─────────────────────┘  └─────────────────────┘              │
└─────────────────────────────────────────────────────────────────┘

Configuration Independence

Each instance has independent:

  • User database and authentication
  • Admin accounts and permissions
  • Asset and chain configuration
  • RPC endpoint settings
  • Canton participant connection
  • Dock apps and Daml packages
  • Custom branding and domain

Operations

Updates

Updates are deployed via CI/CD:

  1. Code changes pushed to repository
  2. Automated build and tests
  3. Deploy to Cloudflare Pages
  4. Instant propagation to all edges

Zero-downtime deployments - Old version serves until new is ready.

Monitoring

Built-in observability:

MetricSource
Request latencyCloudflare Analytics
Error ratesPages Functions logs
Database queriesD1 Analytics
Geographic distributionCloudflare Dashboard

Backup and Recovery

  • D1 automatic backups - Point-in-time recovery
  • Git-based deployments - Full code history
  • Infrastructure as code - Reproducible deployments

Multi-Instance Management

Organizations can operate multiple instances:

Use Cases

ScenarioConfiguration
Production + StagingSeparate instances for testing
Multi-tenant SaaSInstance per client
Geographic separationInstance per region
Brand separationInstance per product line

Shared Codebase

All instances share the same codebase with instance-specific configuration:

stratos-vault/
├── src/                    # Shared application code
├── functions/              # Shared API logic
├── wrangler.prod.toml      # Production config
├── wrangler.staging.toml   # Staging config
└── wrangler.client-a.toml  # Client A config

Canton Network Connectivity

Instances connect to Canton participants:

Connection Models

ModelDescriptionUse Case
Shared ParticipantMultiple instances → One participantDevelopment, small scale
Dedicated ParticipantOne instance → One participantProduction, compliance
Multi-DomainInstance → Multiple domainsCross-network operations

Configuration

CANTON_URL = "https://participant.example.com"
CANTON_DOMAIN_ID = "domain::abc123..."
CANTON_LEDGER_ID = "participant1"

Getting Started

Deployment is handled by our team:

  1. Requirements gathering - Chains, Canton, branding
  2. Instance provisioning - Database, configuration
  3. Domain setup - Custom domain, SSL
  4. Admin onboarding - Initial admin accounts
  5. Go-live - Production deployment

Contact us to get started →


Next Steps

Enterprise-grade multi-chain wallet infrastructure.