Skip to content
Self hosting novu

Self-Hosting Novu Overview

Self-host Novu for full control over your notification infrastructure. Covers system requirements, VMs, Redis, MongoDB, and storage.

When self-hosting Novu, you take full control over your communication infrastructure by deploying it on your own servers. While this setup allows for customization and greater flexibility, it is important to note that some features exclusive to Novu's cloud-managed solution will not be available in a self-hosted environment.

Self-hosting Novu does not support social login (GitHub, Google, etc.). To access your account, please use the email and password associated with your Novu account.

System requirements overview

For optimal performance, host Novu's core services across multiple virtual machines.

ComponentInstancesSpecs
Novu services (API, Worker, WS)3 VMs per service2 vCPUs, 4 GB RAM each
Dashboard1 VM2 vCPUs, 4 GB RAM
Redis2 clusters (one for queues with AOF enabled)8 GB RAM per cluster
MongoDB1 clusterM20 or higher (MongoDB Atlas)
S3 storage10 GB minimum

Single-VM deployment

If resources are limited or simplicity is a priority, all services can run on a single VM.

ComponentSpecs
All Novu services (API, Worker, WS, Dashboard)4 vCPUs, 8 GB RAM
MongoDB2 GB RAM, 20 GB disk
Redis2 GB RAM, AOF enabled
S3 storage10 GB minimum

Infrastructure details

Redis

SettingValue
Clusters2 (one dedicated to queues)
Memory8 GB RAM per cluster
PersistenceAppend Only File (AOF) enabled on the queue cluster to prevent job loss during outages

MongoDB

SettingValue
Cluster tierM20 or higher on MongoDB Atlas

Storage

SettingValue
S3 storage10 GB minimum

The above specifications are general recommendations. Adjust them based on your system load, usage patterns, and scale of operations.

On this page

Edit this page on GitHub