How it helps your business
Key Benefits
- Rapid Development: Build custom integrations in minutes using a familiar TypeScript environment.
- Cost Efficiency: Eliminate per-task pricing by self-hosting on your own infrastructure.
- AI Readiness: Native support for vector databases and LLM orchestration within your workflows.
- Enterprise Grade: SOC 2 compliance readiness and detailed audit logs when self-hosted.
- Open Ecosystem: If a piece is missing, you can build it and share it with the community.
Production Architecture Overview
- Activepieces Core Service: The main runtime for orchestrating workflows.
- PostgreSQL Database: Reliable persistence for workflows, pieces, and metadata.
- Redis Cache/Queue: Essential for managing asynchronous tasks and auto-retries.
- Sandboxed Worker Nodes: Secure execution environments for piece-based logic.
- Reverse Proxy: Traefik or Nginx with Let's Encrypt for secure HTTPS access.
How we deploy this for you
Security Hardened
Firewalls, SSL, and hardened kernels out of the box.
Performance Tuned
Optimized for speed with cache and DB fine-tuning.
Automated Backups
Daily off-site backups so you never lose your data.
Private Cloud
You own the server and the data. No middleman.
Implementation Blueprint
Prerequisites
# Verify Docker and Compose presence
docker --version
docker-compose --version
# Allocate minimal resources (1 CPU, 2GB RAM minimum for production)Docker Compose Configuration
version: '3'
services:
activepieces:
image: activepieces/activepieces:latest
container_name: activepieces
restart: always
environment:
- AP_ENGINE_EXECUTOR_ID=sandboxed
- AP_POSTGRES_DATABASE=activepieces
- AP_POSTGRES_HOST=postgres
- AP_POSTGRES_PORT=5432
- AP_POSTGRES_USERNAME=ap_user
- AP_POSTGRES_PASSWORD=StrongPassword123
- AP_REDIS_HOST=redis
- AP_REDIS_PORT=6379
- AP_FRONTEND_URL=https://automation.yourcompany.com
ports:
- "80:80"
depends_on:
- postgres
- redis
postgres:
image: postgres:15
volumes:
- ./postgres-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=activepieces
- POSTGRES_USER=ap_user
- POSTGRES_PASSWORD=StrongPassword123
redis:
image: redis:7
volumes:
- ./redis-data:/dataStep-by-Step Deployment
- Clone the Config Template:
git clone https://github.com/activepieces/activepieces.git active-prod cd active-prodshell - Environment Setup: Create a
.envfile and populate it with your specific database credentials and domain settings. - Launch the Stack:
docker-compose up -dshell - SSL Setup: We recommend using the Traefik reverse proxy to handle Let's Encrypt certificates automatically for the
activepiecesservice.
Scaling Strategy
- Horizontal Scaling: Deploy multiple
activepiecescontainers and point them to a RDS-managed PostgreSQL and ElastiCache Redis for extreme throughput. - Queue Tuning: Adjust the
AP_REDIS_CONCURRENCYenvironment variable to control how many simultaneous tasks a single worker can handle. - Storage Offloading: Use an external S3-compatible service for storing large binary objects generated within your workflows.
Includes Security & performance standards
Best place to host Activepieces
We recommend Hostinger for its reliability and low cost. It's the perfect home for your new apps, featuring easy setup and 24/7 support.
Get Started on HostingerCompare Similar Tools
n8n
n8n is an open-source workflow automation tool that enables developers to automate tasks, integrate services, and build complex workflows. It is production-ready, scalable, and extensible.