Deployment Options
Activepieces offers flexible deployment options to suit different use cases:Docker
Quick single-container deployment for development and small-scale production
Docker Compose
Multi-container setup with PostgreSQL and Redis for production use
Kubernetes
Scalable production deployment using Helm charts
Cloud Platforms
Deploy on AWS, GCP, Azure, or DigitalOcean
Self-Hosted vs Cloud
- Self-Hosted
- Cloud (Managed)
Benefits
- Full Control: Complete ownership of your data and infrastructure
- Customization: Modify and extend the platform as needed
- Privacy: Keep sensitive workflows and data within your network
- Cost: No subscription fees for the Community Edition
Requirements
- Server infrastructure to host the application
- Technical expertise to manage deployments
- Responsibility for updates and maintenance
System Requirements
Minimum Requirements
For small deployments (< 100 workflows):- CPU: 2 cores
- RAM: 4 GB
- Storage: 10 GB SSD
- OS: Linux (Ubuntu 20.04+, Debian 11+, etc.)
Recommended Requirements
For production deployments (> 100 workflows):- CPU: 4+ cores
- RAM: 8+ GB
- Storage: 50+ GB SSD
- OS: Linux (Ubuntu 22.04 LTS recommended)
Dependencies
Activepieces requires the following services:PostgreSQL 14+
Primary database for storing workflows, executions, and user data
- Minimum: PostgreSQL 14
- Recommended: PostgreSQL 15 or 16
- SQLite can be used for development only
Redis 7+
Job queue management using BullMQ
- Minimum: Redis 7.0
- Recommended: Redis 7.2+
- Required for production deployments
Architecture Components
Activepieces consists of several key components:Component Breakdown
API Server
API Server
The main application server that handles:
- User authentication and authorization
- Flow management (CRUD operations)
- Webhook endpoints
- REST API for integrations
- Background job scheduling
Frontend (Nginx)
Frontend (Nginx)
Static web application served by Nginx:
- Angular-based UI
- Flow builder interface
- Execution logs viewer
- Configuration management
Execution Engine
Execution Engine
Workflow execution runtime:
- Processes flow steps sequentially
- Handles code execution with isolated-vm
- Manages piece (integration) execution
- Error handling and retries
dist/packages/engine/main.jsWorkers
Workers
Background job processors using BullMQ:
- Flow execution jobs
- Scheduled triggers (polling)
- Webhook renewals
- User interaction jobs
Execution Modes
Activepieces supports different execution modes for running workflows:Sandboxed execution uses isolated-vm to run code in a secure V8 isolate with memory limits (128MB per execution). This is recommended for production to prevent malicious code from affecting the host system.
Next Steps
Choose your deployment method:Quick Start
Get started with Docker in 5 minutes
Production Setup
Deploy with Docker Compose
Enterprise Scale
Kubernetes deployment guide