Marketing automation shipped as a native feature of the client’s SaaS.
Multi-Tenant Mautic: White-Label Marketing Automation on Kubernetes
SaaS Platform — User Management Industry
- 7 min
- Automated provisioning
- 500x
- Storage performance gain
- 50-65%
- Cost savings
About the Project
The client is a SaaS company providing a platform for organizations to manage their end-user databases. They wanted marketing automation as a native feature of their product — fully branded, seamlessly integrated, and independently scalable.
- Client
- User-management SaaS
- Product
- White-label marketing automation
- Scale
- Hundreds of isolated tenants
The Challenge
Each tenant needed complete data isolation, independent configuration, and a seamless fit with the existing user management system.
- 01
Run as a white-labeled product
- 02
Support hundreds of tenants
- 03
Scale automatically
- 04
Integrate with each tenant’s user database via APIs
- 05
Support custom email templates with dynamic content
- 06
Stay maintainable and upgradeable
The Solution
We designed and built a multi-tenant Mautic platform running on Kubernetes (AWS EKS). Each tenant gets a fully independent Mautic installation with its own database, file storage, and configuration — all managed through automated provisioning and centralized GitOps deployments.
Tenant provisioning
1 h → 7 min
Zero human intervention — one installer microservice does it all.
- 1
Database
create & seed
- 2
DNS
Route 53 record
- 3
Kubernetes
namespace & pods
- 4
Mautic
deploy via Argo CD
- 5
Monitoring
Grafana & Loki
- Platform
- Kubernetes on AWS EKS
- Isolation
- Independent Mautic per tenant
- Delivery
- Automated provisioning + GitOps
What We Built
Independent tenants, automated from provision to upgrade — the platform behind the numbers.
01 Automated Tenant Provisioning
A dedicated installer microservice orchestrates the entire provisioning process: creating the database, configuring DNS, setting up Kubernetes resources, deploying Mautic, and connecting monitoring. What previously took approximately one hour of manual work now completes in 7-8 minutes with zero human intervention.
02 Kubernetes Architecture with Intelligent Scaling
The platform runs on AWS EKS with three distinct node groups: Management (stable, always-on for critical services), Application (balanced for Mautic web instances), and Worker (spot instances for background processing). Using spot instances for worker nodes delivers 50-65% cost savings compared to on-demand pricing.
03 Wave-Based Deployment with Argo CD
Deployments use Argo CD sync waves to ensure correct ordering: infrastructure first, then databases, then application pods. A canary group of tenants receives updates first. Health checks validate each wave before proceeding. Automatic rollback triggers if health checks fail, ensuring zero-downtime updates across all tenants.
04 Custom Self-Healing Infrastructure
A custom Kubernetes operator runs health checks every 5 minutes across all tenant instances. It detects stuck pods, failed cron jobs, and resource exhaustion. Automated remediation includes pod restarts, stuck job cleanup, and alerting when intervention is needed.
05 Storage Performance: 500x Improvement
The default EFS storage delivered approximately 30 KB/s for Mautic workloads — completely unusable for production. After evaluating multiple options, we migrated to Amazon FSx for Lustre, achieving approximately 15 MB/s — a 500x improvement that made the platform viable for hundreds of concurrent tenants.
06 White-Label Mautic Customization
We built a fully rebranded Mautic interface: custom color scheme, logo placement, reorganized navigation, and a completely rebuilt dashboard. The custom email builder plugin supports 4 dynamic content block types that pull personalized data from the tenant's user database. We also managed the migration from Mautic 5 to Mautic 6.
07 Python Integration Services
Five AWS Lambda microservices handle the integration layer: Monthly Sync (bulk contact updates), Welcome Flows (new user onboarding sequences), Register & Verify (account activation), Auto Renew (subscription lifecycle), and Recommends (personalized content suggestions). We consolidated 15 separate repositories into a single monorepo for maintainability.
08 Comprehensive Monitoring
Grafana dashboards backed by Prometheus and Loki provide full observability. The monitoring stack covers ten categories — from pod health and resource usage to email delivery rates and queue depth per tenant. Custom alerts notify the team of anomalies before they impact users.
- 7 min
- Tenant provisioning
- 500x
- Storage performance gain
- 65%
- Cost savings
- 10
- Monitoring categories
Business Impact
4–5 tenants live; architecture tested for 300–500.
Mautic 5 → 6 across every tenant instance.
15 integration repos consolidated into 1 monorepo.
Tech Stack
Marketing Automation
Orchestration
Infrastructure
Email Builder
Backend
CI/CD
Monitoring
Autoscaling
Have a similar challenge?
Let's discuss your project. Free 30-minute consultation with a Mautic expert.