Chatwoot is an open-source customer support platform that you can run in your own AWS account, so your conversations, contacts and attachments sit in infrastructure you control. This guide covers what self-hosting changes, the licence split, the requirements Chatwoot states, its official install paths, and the AWS pieces around it: the server, storage, backups, a domain with HTTPS, and upgrades. It follows Chatwoot’s self-hosted documentation and repository, read on 5 December 2026.
Chatwoot ships a new version every month and its guides change, so the linked pages are the source of truth. Where this article goes beyond Chatwoot’s documentation, such as the choice of AWS services, we say so.
The short version
- The licence is split. Code outside the
enterprise/folder is under the MIT (Expat) licence. Theenterprise/folder is under a separate Chatwoot Enterprise licence. - Size it properly. Chatwoot’s requirements page gives 4 GB of RAM as the required minimum and 4 cores as the recommended minimum, for up to 10,000 conversations a day.
- Two official single-server paths: Docker Compose, or the Linux install script on Ubuntu. Both need PostgreSQL (with
pgvectorfor v4), Redis and a reverse proxy with HTTPS. - Back up four things: the PostgreSQL database, file storage, the
.envfile and any code changes. - Upgrade on purpose. Read the release notes, pin a version, and run the database preparation step after each upgrade.
1. What Chatwoot replaces
Chatwoot brings customer conversations from several channels into one shared inbox for your support team: live chat on your website, email, and messaging channels such as WhatsApp, Facebook, Instagram and others listed in its documentation. Its GitHub repository describes it as an “open-source live-chat, email support, omni-channel desk” and an alternative to Intercom, Zendesk and Salesforce Service Cloud. If you pay per agent for a hosted help desk today, Chatwoot is a tool in the same space.
It is a different product from the one you use now, so check that its channels, reports and integrations cover how your team works before you commit. Chatwoot’s repository had 41,015 stars on GitHub as of 5 Dec 2026.
2. What self-hosting changes
Chatwoot’s self-hosted guide lists Linux VM, Docker and Kubernetes deployments, plus guides for several cloud providers. Chatwoot also runs a hosted cloud service, where Chatwoot runs the servers for you.
Self-hosting gives you control over where customer conversations and contact details are stored and which network they run in. In exchange you own the operations: the server, patches, upgrades, backups, restores, email delivery and access control. Chatwoot’s guide lists what you need before you start: a server that meets the requirements, a domain name, an SSL certificate, an SMTP server for email notifications, and SSH access with root or sudo. If nobody on your team will own that work, the hosted service 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 folder
The LICENSE file in the Chatwoot repository sets out the split:
MIT (Expat). Content outside the
enterprise/directory, and outside third-party components, is available under the MIT Expat licence.Enterprise folder. Everything under
enterprise/is under the licence in enterprise/LICENSE. That licence says the software may only be used in production if you have agreed to the Chatwoot Subscription Terms of Service, or another agreement with Chatwoot, and have a valid Chatwoot 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.
Chatwoot’s Enterprise Edition page describes the Enterprise Edition as a proprietary version built from the same repository, with features such as white-labelling, SLA management, audit logs and agent capacity management. You buy licences per agent from the Settings tab of the Super Admin panel. On 5 December 2026 the page said plans start at $19 per agent per month, and that Chatwoot does not offer instance-level plans. Check the current self-hosted pricing before you plan around it.
The edition you run follows the Docker image tag. Chatwoot’s Docker guide says that to run the Community Edition you use the matching -ce tag: latest-ce instead of latest, or for example v2.3.2-ce for version 2.3.2. Decide which edition you want before you install. This is a plain-language summary, not legal advice. If you plan to offer Chatwoot to other businesses or build it into a product, read the licence and Chatwoot’s terms, and ask Chatwoot and a lawyer first.
4. Requirements and sizing
Chatwoot’s System Requirements page sizes the server by the number of conversations a day:
- Memory: 4 GB of RAM is the required minimum and supports up to 10,000 conversations a day. 8 GB supports up to 20,000.
- CPU: 4 cores is the recommended minimum and supports up to 10,000 conversations a day. 8 cores supports up to 20,000.
- Swap: add at least 1 GB of swap so the machine does not run out of resources during an upgrade.
- More load: scale horizontally by adding more application servers.
- Database: PostgreSQL is the only supported database, and its server should have at least 5 to 10 GB of storage available. Chatwoot recommends the latest stable PostgreSQL. Version 4 needs PostgreSQL with the
pgvectorextension. - Redis: version 7.0 or higher is recommended. Storage needs are small: start with 100 MB.
- Background jobs: on a very active server the Sidekiq worker can use more than 1 GB of memory. Chatwoot recommends running workers and web servers on separate servers for better scalability, but both can share one machine.
- Disk for attachments: depends on usage. Chatwoot suggests object storage such as Amazon S3 so storage can grow.
- Operating system: the requirements page lists Ubuntu 20.04 as the supported distribution, and the Linux VM guide installs on Ubuntu 24.04 LTS.
The overview page of the same guide lists a lower minimum (2 cores, 4 GB of RAM, 20 GB SSD) and recommends 4 or more cores, 8 GB or more of RAM and 50 GB or more of SSD for production. Where the two pages differ, we plan around the requirements page: 4 cores and 4 GB is the starting point, not a small test server.
Our AWS suggestions, not Chatwoot’s. For a first single-server install, pick an EC2 instance with at least 4 vCPUs and 4 GB of RAM (more memory if the web server, worker, PostgreSQL and Redis all share it), add swap, keep Docker data on an EBS volume with room to grow, and send attachments to S3. Compare options on the AWS instance types page and watch real usage in the first weeks.
5. The official install path
Chatwoot’s production deployment guide lists Docker as a recommended option, alongside Heroku, Linux, Kubernetes and the Chatwoot CTL tool. For one server on AWS, the Docker and Linux VM guides are the two to choose from. First launch an EC2 instance and open only the ports you need in its security group (see section 6). That step is ours. The rest follows Chatwoot’s guides.
Option 1: Docker Compose
The Docker guide asks for Docker 20.10.10 and Docker Compose v2.14.1 or later, then:
- Install Docker (the guide’s Ubuntu example uses Docker’s
get-docker.shscript and thedocker-compose-pluginpackage). - Download the templates.
wget -O .env https://raw.githubusercontent.com/chatwoot/chatwoot/develop/.env.example
wget -O docker-compose.yaml https://raw.githubusercontent.com/chatwoot/chatwoot/develop/docker-compose.production.yaml
- Configure. Set the Redis and PostgreSQL passwords in
.env, and the same PostgreSQL password indocker-compose.yaml. The environment variables page says to setFRONTEND_URLto your Chatwoot domain andSECRET_KEY_BASEto your own alphanumeric secret. You can remove the bundled PostgreSQL and Redis services and point Chatwoot at managed services instead. - Prepare the database.
docker compose run --rm rails bundle exec rails db:chatwoot_prepare - Start it.
docker compose up -d
On 5 December 2026 the production compose file ran four services from the chatwoot/chatwoot:latest image and companions: rails (the web server), sidekiq (background jobs), postgres using pgvector/pgvector:pg16, and redis. All ports bind to 127.0.0.1 only, so nothing is exposed to the internet until you put a proxy in front. To check it, the guide suggests curl -I localhost:3000/api, which should return 200.
Our suggestion: replace latest with a version tag so upgrades happen when you choose. The latest release on GitHub on 5 December 2026 was v4.20.3, published on 2 December 2026, and Docker Hub had both v4.20.3 and v4.20.3-ce tags.
Option 2: the Linux install script
The Linux VM guide installs Chatwoot on Ubuntu 24.04 LTS with a script. If you want a domain, add its DNS A record before you start:
wget https://get.chatwoot.app/linux/install.sh
chmod +x install.sh
./install.sh --install
If you answer yes to the domain question, the script configures Nginx and a Let’s Encrypt certificate. It also installs the Chatwoot CLI, cwctl, used later for upgrades and logs. Afterwards, edit .env as the chatwoot user to set FRONTEND_URL, email and storage, then restart with sudo systemctl restart chatwoot.target.
Chatwoot’s own AWS deployment guide is a larger reference: a high-availability layout with a VPC across two availability zones, an Application Load Balancer, Amazon RDS for PostgreSQL (Multi-AZ), Amazon ElastiCache for Redis, bastion hosts and an Auto Scaling group of app servers built from a custom image made with the Linux script. Its example uses a c5.xlarge instance with a 60 GB root volume. Start there if you need more than one server.
Two settings to decide early: the example .env ships ENABLE_ACCOUNT_SIGNUP=false, so visitors cannot create accounts from the login page unless you change it. And Chatwoot’s telemetry page explains the anonymised usage data a self-hosted install sends every day, and that DISABLE_TELEMETRY=true turns it off.
6. The AWS pieces: server, storage, domain and HTTPS
The Docker guide puts Nginx in front of the app on port 3000, with underscores_in_headers on because Chatwoot’s API relies on underscores in headers, and the WebSocket upgrade headers passed through, then adds a Let’s Encrypt certificate with Certbot. Chatwoot’s AWS guide uses an Application Load Balancer instead: listeners on 80 and 443, HTTP redirected to HTTPS, a target group on port 3000, a health check on /api, and a certificate from AWS Certificate Manager.
On AWS (our suggestions):
- Server. One EC2 instance running the Docker Compose stack, with its security group accepting port 3000 only from your load balancer (or ports 80 and 443 if Nginx runs on the instance), and SSH only from your own addresses.
- Domain and TLS. A DNS record such as
support.example.compointing at an Application Load Balancer with a certificate from AWS Certificate Manager, or Chatwoot’s Nginx and Let’s Encrypt steps on the instance. - Attachments. Chatwoot stores files under
storageby default (ACTIVE_STORAGE_SERVICE=local). Its S3 Bucket page shows how to switch toamazonwith a bucket name and region, a bucket policy for the listed S3 actions, and a CORS rule for your Chatwoot domain so direct uploads work. - Email. Chatwoot needs an SMTP service for notifications. Amazon SES SMTP is one option on AWS. Chatwoot’s documentation also covers SES for inbound email.
- Managed database and Redis. When one server is not enough, move PostgreSQL to Amazon RDS and Redis to Amazon ElastiCache. Chatwoot has a runbook for moving the database to RDS, and its v4 upgrade runbook says no
pgvectoraction is needed on the latest version of RDS.
7. Backups and restores
Chatwoot’s backup guide lists four things to back up:
- The PostgreSQL database. If you run PostgreSQL yourself, use
pg_dump. On a managed service, use the provider’s backups. - Storage. On S3, use the provider’s backup options. With local storage, back up the
storagefolder. - Configuration. Keep a copy of the
.envfile. - Code customisations. Chatwoot’s upgrade tools assume an unmodified install, so keep any changes in Git.
The guide’s database command is:
pg_dump -U postgres -W -F t chatwoot_production > backup.tar
It warns that backups should be stored in a different physical location and that access to them should be tightly controlled, because they contain sensitive data. To restore, it says to set up a new installation, match the configuration, replace its database with your backup, restore storage and customisations, and restart. The Enterprise Edition page adds that a database backup keeps the installation identifier, so a licence moves with it.
On AWS (our suggestions): for the Docker install, run the dump inside the postgres container and adjust the database name to the one your install uses. Copy dumps and a copy of .env to a private, encrypted S3 bucket with versioning, take regular EBS snapshots, and turn on automated backups if you move to RDS. Test a restore before you rely on any of it.
8. Upgrades
Chatwoot’s production guide says a new version is released around the first Monday of every month, with minor releases for hotfixes and security updates. Its upgrade guide asks you to review the release notes for every version between yours and the target, to step through intermediate versions if your install is very old, and to test on a staging instance first. Then:
- Docker: change the image tag if you pinned one, then run the commands below.
- Linux VM (including AWS Marketplace installs):
sudo cwctl --upgrade.
docker compose down
docker compose pull
docker compose up -d
docker compose run --rm rails bundle exec rails db:chatwoot_prepare
Take a database backup before every upgrade so you have a way back. The requirements page’s advice on swap matters here too: upgrades are when a small machine is most likely to run out of memory.
9. How IHA Cloud can help
IHA Cloud can set up and manage Chatwoot in your AWS account. You keep your conversations, data and AWS bill, and we handle the routine work. That can include:
- Setup. A server sized to Chatwoot’s requirements, S3 storage, email, domain and HTTPS, built from Chatwoot’s official setup. See application and web hosting.
- PostgreSQL and backups. Database dumps to S3, a safe copy of
.env, restore checks, and a move to RDS when you need it. See database management and migration. - Upgrades and operations. A backup before each monthly upgrade, version pinning and monitoring. See DevOps as a service.
- Security review. Network exposure, admin accounts, sign-up settings and secrets. See security audit.
Not sure whether the Community or Enterprise Edition fits, or how to size the server? Ask for a free consultation.
10. Checklist before you go live
- You have read the licence and chosen your edition and image tag, and any enterprise features you use are covered by a plan.
- The server meets the 4 GB RAM and 4 core starting point for your expected conversations a day, with at least 1 GB of swap.
- PostgreSQL supports
pgvector, andSECRET_KEY_BASE, the PostgreSQL password and the Redis password are your own values. - Chatwoot sits behind HTTPS, and
FRONTEND_URLis your real domain. - Email (SMTP) and S3 storage are configured and checked.
- Only the ports and addresses you intend can reach it, and account sign-up is set the way you want.
- A database backup runs, is copied off the server with
.env, and you have restored from it once. - The version is pinned and someone owns the monthly upgrade and reading the release notes.
11. Official sources
- Self-Hosted Installation Guide
- System Requirements and Production Deployment Guide
- Docker deployment guide and Linux VM deployment guide
- AWS deployment guide and S3 Bucket
- Environment Variables
- Upgrading your Chatwoot installation and How to upgrade to Chatwoot v4
- Backing Up Your Chatwoot Installation
- Managing Enterprise Edition Features and Telemetry
- LICENSE and enterprise/LICENSE in the Chatwoot repository, and its releases
Related reading: Self-Host Open-Source Business Apps on AWS, How to Self-Host Activepieces on AWS and How to Self-Host Twenty CRM on AWS.
IHA Cloud is a brand of Team IHA INC. This guide summarises Chatwoot’s official documentation, licence files and repository as read on 5 December 2026. It is not legal advice and not a substitute for Chatwoot’s documentation. Versions, requirements, prices and licence terms change, so check the linked pages before you run anything. Chatwoot is a trademark of its owner, and IHA Cloud is not affiliated with Chatwoot.