Skip to main content
Documentation

Cloud Provider Deployment

Deploy Dits on major cloud providers with managed services for databases, storage, and Kubernetes.

Supported Cloud Providers

Amazon Web Services
Full integration with AWS services
  • EKS for Kubernetes
  • RDS for PostgreSQL
  • S3 for chunk storage
  • ElastiCache for Redis
  • CloudFront CDN
Google Cloud
Native GCP integration
  • GKE for Kubernetes
  • Cloud SQL for PostgreSQL
  • Cloud Storage for chunks
  • Memorystore for Redis
  • Cloud CDN
Microsoft Azure
Enterprise Azure integration
  • AKS for Kubernetes
  • Azure Database for PostgreSQL
  • Blob Storage for chunks
  • Azure Cache for Redis
  • Azure CDN

Deployment Guides

AWS Deployment
Deploy on Amazon EKS with managed services

1. Create EKS Cluster

# Using eksctl
eksctl create cluster \
  --name dits-cluster \
  --region us-east-1 \
  --nodegroup-name workers \
  --node-type m5.large \
  --nodes 3 \
  --nodes-min 2 \
  --nodes-max 10

2. Configure S3 Storage

# Create S3 bucket
aws s3 mb s3://dits-chunks-bucket --region us-east-1

# Create IAM policy for S3 access
aws iam create-policy --policy-name DitsS3Access \
  --policy-document file://s3-policy.json

3. Deploy Dits

# Add Helm repo and install
helm repo add dits https://charts.dits.io
helm install dits dits/dits-server \
  --set storage.type=s3 \
  --set storage.bucket=dits-chunks-bucket \
  --set storage.region=us-east-1

Cost Optimization

Compute Optimization
  • Use spot/preemptible instances for workers
  • Right-size your instances
  • Enable auto-scaling with appropriate limits
  • Use reserved instances for baseline capacity
Storage Optimization
  • Use storage tiers (hot/cold/archive)
  • Enable deduplication at storage level
  • Set lifecycle policies for old data
  • Use regional storage for better pricing

Multi-Region Deployment

For global teams, deploy Dits across multiple regions for low latency and high availability:

# Example multi-region Helm values
regions:
  - name: us-east
    primary: true
    storage:
      bucket: dits-chunks-us-east
    
  - name: eu-west
    primary: false
    storage:
      bucket: dits-chunks-eu-west
    replicate_from: us-east

  - name: ap-southeast
    primary: false
    storage:
      bucket: dits-chunks-ap-southeast
    replicate_from: us-east