CHAWKLIT

A sales guy’s guide to self hosting Twenty CRM, with the full stack, the real costs, and a reference architecture you can copy.

Raspberry Pi in a fan case sitting on the router in a network cabinet
The whole CRM: a Raspberry Pi in a fan case, sitting on the router in my network cabinet.

Why I left traditional CRM

I’ve spent 18 years in enterprise tech sales, and I’ve lived inside Salesforce and HubSpot the whole time. They’re great tools. They’re also priced for companies, not for a one person consultancy.

When I started Chawklit LLC, I needed a real CRM: companies, contacts, pipeline, and my Gmail and calendar tied in. I didn’t want to pay enterprise prices for it, and I didn’t want my pipeline living on someone else’s servers.

So I built my own.

I run Twenty, an open source CRM, on a Raspberry Pi that sits in a cabinet in my house. It holds my contacts and clients, syncs my Gmail, backs itself up every night, and only my own devices can reach it.


The cost math

Here’s what a CRM costs per year, at list price, for just me and for a 10 person sales team.

Option1 user, per year10 users, per year
Salesforce Sales Cloud Enterprise ($175 per user per month)$2,100$21,000
HubSpot Sales Hub Professional ($90 per seat per month, plus $1,500 onboarding)$2,580 first year$12,300 first year
Twenty Cloud Pro, hosted by Twenty ($9 per user per month)$108$1,080
Twenty self hosted on a Raspberry PiAbout $7 in electricityAbout $7 in electricity

The hardware is a one time cost. I bought a CanaKit Raspberry Pi 4 8GB starter kit for about $150 on Amazon a while back (here’s the updated kit I would buy today, if you’re interested). Then I added a fan case to keep it cool (this is the one I bought, but I don’t think it’s available any longer) and a $36 USB solid state drive to boot from. Call it about $235 all in. Every piece of software in this build is free.

For a 10 person team, that’s roughly $12,000 to $21,000 a year back in the budget. Even solo, it pays for itself in under two months.

About this comparison: these are published list prices, not quotes, and big vendors often discount. This isn’t a knock on Salesforce or HubSpot. For a large sales org, their support, uptime guarantees and app ecosystems are worth paying for. For a one person consultancy, a self hosted CRM is the right size tool. I’m not affiliated with Twenty, Anthropic or anyone else named here, and nobody paid for this post.

Prices as of October 2026: Salesforce Enterprise, as cited by Twenty (checked July 30, 2026), HubSpot Sales Hub, Twenty. Electricity assumes about 5 watts around the clock at about 16 cents per kWh.


What I used

Every piece of software here is free, and almost all of it is open source. The only things I paid for are the hardware and the Google Workspace account I already had.

LayerToolWhat it doesCost
HardwareRaspberry Pi 4 Model B, 8GBThe server. Boots from a USB solid state drive instead of an SD card for speed and durabilityOne time
CoolingFan case plus cabinet fansKeeps it at 43 to 45°C. More on why belowOne time
Operating systemRaspberry Pi OS Lite, 64 bitLightweight Debian Linux, no desktopFree
ContainersDocker and Docker ComposeRuns the CRM as four containers that are easy to upgrade and rebuildFree
CRMTwentyThe CRM itself: server, background worker, PostgreSQL database, Redis cacheFree, open source
HTTPSCaddy with Let’s EncryptReal HTTPS certificate on my own subdomain, renewed automaticallyFree
Private accessNetBirdWireGuard based private network. Only my laptop and phone can reach the CRM, from anywhereFree plan
FirewallLinux iptablesBlocks every other device on my home network from the CRMFree
Backupsrestic and rcloneNightly encrypted backups, kept locally and in Google Drive, with a tested restoreFree
MonitoringHealthchecks.ioA heartbeat that emails me if the Pi runs hot, the CRM goes down, or the certificate is about to expireFree plan
Self healingHardware watchdogReboots the Pi automatically if it ever freezesFree
PatchingUnattended upgrades plus a pinned Twenty versionSecurity updates install themselves. CRM upgrades happen only when I run one scriptFree
Rebuild planPrivate GitHub repoEvery config file needed to rebuild the server, with secrets stripped outFree
Email and calendarGoogle Workspace and a Google Cloud OAuth appSyncs my Gmail and calendar into the CRM so every email lands on the right contactAlready had it
Build partnerClaudeWalked me through every command, wrote the scripts, and debugged with meMy existing subscription

Built with Claude: my 100x multiplier

I’m a sales guy, not a sysadmin. Without Claude, this project would have taken me 100 times longer, if I’d finished it at all. Here’s what that actually looked like.

It felt like having a senior engineer sitting next to me, one who never got tired of my questions. I still made every decision and typed every command. But I never got stuck for more than a few minutes.


Integrations and speed

The first thing I noticed was speed. Pages load instantly, search is instant, and moving between records never makes me wait. In Salesforce, clicking into a record or saving a change can lag at times, and that friction is part of why reps stop updating the CRM.

To be fair, it’s not an even comparison. My CRM is built for one person, on a server in my house. Salesforce is built for organizations with tens, hundreds or tens of thousands of users, with the customization, integrations and security that scale demands. Still, for my day to day, the speed is hard to give up.

Twenty also plugs into the tools a sales team already uses.

IntegrationWhat it doesMe today
Gmail and Google CalendarSyncs emails and meetings onto the right contacts and companies automaticallyLive
Outlook and Microsoft 365Same sync for Microsoft shopsAvailable
Other email and calendar providersConnects any SMTP or CalDAV accountAvailable
REST and GraphQL APIsConnect anything else, or build your own integrationsAvailable
WorkflowsAutomations triggered by record changes or webhooks, with HTTP and code stepsNext on my list
ZapierNo code automations with thousands of other appsAvailable

Source: Twenty integrations guide.


What went wrong, and the honest tradeoffs

This wasn’t plug and play. Here’s what bit me, so it doesn’t bite you.

The real cost is your time. This took me about 30 hours, including learning, testing, troubleshooting and waiting on things to finish. If that time is worth more to you than the savings, Twenty’s own hosted plan at $9 a user is still a fraction of the big names.


Reference architecture: build your own

The same design runs on a Raspberry Pi, a cloud VM, or a server in your own rack. Only the box changes.

Self hosted Twenty CRM reference architecture
Click the diagram to see it full size.

Your devices join a private WireGuard network. The server accepts CRM traffic only from that network, terminates HTTPS with Caddy, and runs Twenty in Docker. Host level jobs handle backups, monitoring and patching, and talk out to a few outside services.

Where to run it

OptionBest forSizingRough costWatch out for
Home lab: Raspberry Pi or mini PCA solo consultant or a team of a fewPi 4 or 5 with 8GB, USB solid state driveAbout $235 once, plus a few dollars of power a yearHeat, power and internet outages at home
Cloud VMA team that needs it up around the clock2 vCPU, 4GB RAM, 40GB diskRoughly $10 to $40 a month, varies by providerClose every inbound port in the provider’s firewall; never expose the database
Company servers, on premIT run shops with existing VMware, Proxmox or bare metalSame as the cloud VM, as a Linux VMExisting hardwareChange control, and who owns patching and backups

Twenty’s docs ask for at least 2GB of RAM (source). I’d give it 4GB or more. Docker Compose is the supported path. Kubernetes works, but you’re on your own.

Build order

  1. Host and OS. 64 bit Linux, SSH keys only, password login off.
  2. Docker. Install Docker and Docker Compose.
  3. Twenty. Run the official Docker Compose setup, pinned to a specific version, not “latest”.
  4. Private access. Install NetBird on the server and your devices. Turn off key expiry for the server only.
  5. Firewall. Block the CRM ports from everything except the private network.
  6. HTTPS. Point a subdomain at the server’s private network address, and let Caddy get a Let’s Encrypt certificate through a DNS challenge.
  7. Backups. Nightly database and file backups with restic, kept locally and encrypted offsite. Then actually restore one to prove it works.
  8. Monitoring. A heartbeat to Healthchecks.io that checks temperature, app health, HTTPS and certificate expiry, plus the hardware watchdog.
  9. Patching. Unattended security updates for the OS, and a one command upgrade script for Twenty that backs up first.
  10. Config repo. Commit every config file to a private Git repo, with a check that refuses to commit secrets.
  11. Gmail and calendar. Create a Google Cloud project, turn on the Gmail, Calendar and People APIs, make an OAuth client, and connect your account in Twenty.

Security checklist

A CRM holds your whole pipeline and every contact’s details. Treat it like it matters. Here’s what I locked down, in plain terms.

One more for anyone writing about their build: never publish your real IP addresses, hostnames, usernames or internal URLs. Every example in this post is kept generic for that reason.

Part two is live: My $7 CRM Grew Up: Phones, Automation, Backups and a Path to Kubernetes. A 2011 Mac mini joins the Pi, calls and texts log themselves into Twenty with n8n, and Kubernetes is next.

Leave a Reply

Your email address will not be published. Required fields are marked *