Activepieces is an open-source workflow automation tool that you can run in your own AWS account, so your flows, run history and stored connections sit in infrastructure you control. This guide covers what self-hosting changes, the licence split, the requirements Activepieces states, its official Docker Compose install, and the AWS pieces around it: the server, storage, backups, a domain with HTTPS, and upgrades. It follows Activepieces’ documentation and repository, read on 4 December 2026.
Activepieces ships releases often and its guides change, so the linked pages are the source of truth. Where this article goes beyond Activepieces’ documentation, such as the choice of AWS services, we say so.
The short version
- The licence is split. Most of the code is under the MIT (Expat) licence. The
packages/ee/folder and the server’seefolder are under a separate Activepieces Enterprise licence. - The recommended self-host method is Docker Compose with PostgreSQL and Redis, installed with one command or by hand.
- The stated requirements are Docker Compose v2 and at least 2 vCPU and 4 GB of RAM.
- Back up the database and the
.envfile. WithoutAP_ENCRYPTION_KEY, stored connections cannot be decrypted, even from a full database backup. - Upgrade after a database dump, and read the breaking changes list first.
1. What Activepieces replaces
Activepieces connects the apps your business uses and runs flows between them: a trigger, such as a webhook or a schedule, followed by steps that call other services. Integrations are called pieces. If you pay for a hosted automation service today, or you are looking at n8n, Activepieces is a tool in the same space. Our guide to self-hosting n8n on AWS mentions it as an alternative for teams whose plans do not fit n8n’s Sustainable Use License.
It is a different product from the one you use now, so check that its pieces cover the integrations and workflows you need before you commit. Activepieces’ repository had 25,861 stars on GitHub as of 4 Dec 2026.
2. What self-hosting changes
Activepieces’ install options page lists three ways to run it: self-host with Docker Compose (marked recommended), Kubernetes with a Helm chart (only if you already run a cluster), and Activepieces Cloud, where Activepieces hosts and manages it for you.
Self-hosting gives you control over where flow data and connection secrets are stored and which network they run in. In exchange you own the operations: the server, patches, upgrades, backups, restores and access control. For flows that receive webhooks, the instance also needs a public HTTPS address that third parties can reach. If nobody on your team will own that work, the hosted option is the simpler choice. For the wider picture, see our guide to self-hosting open-source business apps on AWS.
3. The licence: MIT core, separate enterprise folders
The LICENSE file in the Activepieces repository sets out the split:
MIT (Expat). Content outside the enterprise directories is available under the MIT Expat licence.
Enterprise folders. Everything under
packages/ee/andpackages/server/api/src/app/eeis under the licence in packages/ee/LICENSE. That licence says the software may only be used in production if you have agreed to the Activepieces Subscription Terms of Service, or another agreement with Activepieces, and have a valid Activepieces Enterprise licence for the correct number of user seats. It allows copying and modifying the software for development and testing without a subscription.Third-party components keep their own original licences.
Activepieces’ documentation says a self-hosted install runs on the free plan by default, and that every plan on its pricing page is available self-hosted. Paid features are unlocked by subscribing from inside the app (Plus or Team) or by activating a licence key (custom and enterprise plans). The licence key page lists features on paid plans, including projects and multi-tenancy, SSO, custom roles, SCIM, audit logs, secret managers, Git Sync, worker groups, an embeddable builder and custom branding.
One detail from the install guide: the manual steps set AP_EDITION=ee. Without it you get the Community edition and cannot activate a licence key later. Decide which edition you want before you install. This is a plain-language summary, not legal advice. If you plan to embed Activepieces in a product or offer it to other businesses, read the licence and Activepieces’ terms, and ask Activepieces and a lawyer first.
4. Requirements and sizing
The self-host guide states these requirements:
- Docker Compose v2. The old
docker-composecommand will not work. - CPU and memory: at least 2 vCPU and 4 GB of RAM.
- Windows: WSL2, with the command run inside it.
- Disk: not stated.
- PostgreSQL version: not stated on the pages we read. The compose file on 4 December 2026 used the
pgvector/pgvector:0.8.0-pg14image (PostgreSQL 14) andredis:7.0.7.
For larger setups, Activepieces’ Production Setup page describes one recommended shape, sized from your peak number of concurrent flows: workers of 0.5 vCPU and 1 GB each running one flow at a time, one app container (1 vCPU, 1 GB) per ten workers, managed PostgreSQL (2 vCPU, 4 GB as a starting point) and managed Redis (1 vCPU, 1 GB), all in the same region. In that shape, S3 storage is a hard requirement. The page also says to watch database CPU and scale PostgreSQL as the worker fleet grows.
Our AWS suggestions, not Activepieces’. For a first install, pick an EC2 instance that meets the 2 vCPU and 4 GB floor, keep Docker data on an EBS volume with room to grow, and watch real usage in the first weeks. Compare options on the AWS instance types page. Move towards the production shape when one server no longer keeps up.
5. The official install path
First launch a Linux EC2 instance, open only the ports you need in its security group (see section 6), and install Docker Engine with the Compose plugin. Those steps are ours. The rest follows Activepieces’ guide.
Option 1: one command (recommended by Activepieces)
Run this in the folder where you want Activepieces to live. It writes the configuration, generates your secrets and starts everything:
curl -fsSL https://get.activepieces.com | sh
Use --port if port 8080 is taken and --dir to install somewhere other than ./activepieces. To read the script before running it, run curl -fsSL https://get.activepieces.com, which prints it.
Option 2: Docker Compose by hand
The guide offers this for teams that would rather not pipe a remote script into a shell. It sets up the same four containers:
- Get the compose file.
git clone --depth 1 https://github.com/activepieces/activepieces.git, then change into theactivepiecesfolder. - Generate your secrets.
sh tools/deploy.shcopies.env.exampleto.envand fills in passwords and keys. It needsopenssl. The guide warns that withoutopensslthe script still reports success but leaves the values blank, so check thatAP_ENCRYPTION_KEY,AP_JWT_SECRETandAP_POSTGRES_PASSWORDall have values. - Set the edition. Add
AP_EDITION=eeandAP_EXECUTION_MODE=SANDBOX_CODE_ONLYto.env. The example file shipsAP_EXECUTION_MODE=UNSANDBOXED, which the server rejects at startup on theeeedition. - Point the worker at the app. In
docker-compose.yml, give theworkerservice its ownAP_FRONTEND_URL=http://app. Without it, the guide says, the worker cannot open its socket and the Workers page stays empty. - Start it.
docker compose -p activepieces up -d
The guide flags two more changes before production: the image tag in docker-compose.yml is pinned to a specific release, so you bump it yourself when you upgrade, and the worker service is set to replicas: 5, which it says is more than a single small machine wants.
Check it
docker compose -p activepieces ps
curl http://localhost:8080/api/v1/health
All four containers (app, worker, postgres and redis) should be up and the health endpoint should respond. The first account you create becomes the platform administrator, and there is no default username or password, so create it straight away, before the address is reachable by anyone else.
6. The AWS pieces: server, storage, domain and HTTPS
Activepieces’ guide says webhooks and app triggers need an address that third parties can reach, and that in production AP_FRONTEND_URL in .env should point at your real domain. It mentions ngrok for testing only. Its HTTPS page shows TLS terminated by an Nginx reverse proxy in front of port 8080, with HTTP redirected to HTTPS and the WebSocket upgrade headers passed through. It says you can skip that page if a cloud load balancer already handles TLS.
On AWS (our suggestions):
- Server. One EC2 instance running the Docker Compose stack, with its security group accepting port 8080 only from your load balancer or proxy, and SSH only from your own addresses.
- Domain and TLS. A DNS record such as
automation.example.compointing at an Application Load Balancer with a certificate from AWS Certificate Manager, forwarding to port 8080. Alternatively, follow Activepieces’ Nginx page on the instance. - Storage. Keep the Docker volumes on EBS. Activepieces stores run logs and files in the database by default and its S3 Storage page recommends starting there. When you need it, switch to a private Amazon S3 bucket with signed URLs. On AWS, leave the access keys unset and Activepieces uses the instance’s IAM role.
- Managed database and Redis. For the production shape, Activepieces recommends managed PostgreSQL and Redis. On AWS those would be Amazon RDS for PostgreSQL and Amazon ElastiCache, in the same region as the app.
Activepieces also lists an AWS template provisioned with Pulumi, which can add an RDS PostgreSQL instance, a Redis cluster and a domain with SSL through Route 53. Its install options page groups it with provider templates that are maintained outside the core team, says versions can lag behind, and says they install the free Community edition. Weigh that before you build on it.
A note on telemetry: the example .env ships AP_TELEMETRY_ENABLED=true. Activepieces’ telemetry page explains what is collected and how to switch product analytics and the separate deployment snapshot off under Platform Admin.
7. Backups and restores
The install guide makes two points that are easy to miss:
- Your data is not in the
activepiecesfolder. It lives in thepostgres_dataDocker volume, so backing up the folder does not back up your flows. - Back up the generated
.envfile. WithoutAP_ENCRYPTION_KEY, stored connections cannot be decrypted, even from a full database backup.
The guide’s backup command for the Docker Compose install is:
docker compose -p activepieces exec postgres pg_dump -U postgres activepieces > backup.sql
Activepieces’ Disaster Recovery page says PostgreSQL is the system of record for flows, runs, schedules and connections, and that point-in-time recovery is the backup that matters. If you use S3 for run logs, it recommends bucket versioning. For Redis it recommends persistence rather than backups, because the rest of Redis can be rebuilt from PostgreSQL. It also notes that queued async webhooks not yet picked up by a worker can be lost if Redis loses its data, so your Redis persistence setting decides how many.
On AWS (our suggestions): copy the database dumps and a copy of .env to a private, encrypted S3 bucket with versioning, take regular EBS snapshots, and keep the encryption key in a separate secure place as well. If you move to Amazon RDS, turn on its automated backups. Test a restore before you rely on any of it.
8. Upgrades
The install guide’s upgrade routine is short:
- Back up first with the
pg_dumpcommand above. - Read the breaking changes list for every version between yours and the target.
- Upgrade with
curl -fsSL https://get.activepieces.com | sh -s -- --upgrade. The guide says your.env, your data and any edits todocker-compose.ymlare left alone.
The version is pinned in AP_VERSION in .env. Set it yourself and re-run the upgrade to move to a specific release. If you installed by hand, change the image tag in docker-compose.yml instead. On 4 December 2026 the compose file pinned 0.94.0 and the latest release on GitHub was 0.94.0-hotfix.1.
Activepieces also documents a rollback command that reverses database migrations when you need to return to an earlier version. It says most releases are rollback-safe and that release notes flag the ones that are not. Restoring from the backup you took before the upgrade is the other way back.
9. How IHA Cloud can help
IHA Cloud can set up and manage Activepieces in your AWS account. You keep your flows, data and AWS bill, and we handle the routine work. That can include:
- Setup. A server, storage, domain and HTTPS built from Activepieces’ official Docker Compose setup. See application and web hosting.
- PostgreSQL and backups. Database dumps to S3, a safe copy of the encryption key, and restore checks. See database management and migration.
- Upgrades and operations. A backup before each upgrade, version pinning and monitoring. See DevOps as a service.
- Security review. Network exposure, admin accounts, secrets and webhook paths. See security audit.
Not sure whether Activepieces or n8n fits your plans, or which edition you need? Ask for a free consultation.
10. Checklist before you go live
- You have read the licence and chosen your edition, and any enterprise features you use are covered by a plan.
- The server meets the stated 2 vCPU and 4 GB floor, and the worker replica count suits it.
AP_ENCRYPTION_KEY,AP_JWT_SECRETandAP_POSTGRES_PASSWORDhave values, and.envis backed up somewhere other than the server.- You created the platform administrator account yourself, before the address was public.
- Activepieces sits behind HTTPS, and
AP_FRONTEND_URLis your real domain. - Only the ports and addresses you intend can reach it.
- A database backup runs, is copied off the server, and you have restored from it once.
- The version is pinned and someone owns upgrades and reading the breaking changes.
11. Official sources
- Self host Activepieces (Docker Compose)
- Install options
- Production Setup
- HTTPS and S3 Storage
- Disaster Recovery and Rollback
- Breaking changes
- Activate an Enterprise License Key
- LICENSE and packages/ee/LICENSE in the Activepieces repository
Related reading: How to Self-Host n8n on AWS, Self-Host Open-Source Business Apps on AWS and How to Self-Host Twenty CRM on AWS.
IHA Cloud is a brand of Team IHA INC. This guide summarises Activepieces’ official documentation, licence files and repository as read on 4 December 2026. It is not legal advice and not a substitute for Activepieces’ documentation. Versions, requirements and licence terms change, so check the linked pages before you run anything. Activepieces is a trademark of its owner, and IHA Cloud is not affiliated with Activepieces.