Self-hosted RudderStack
2 minute read
With self-hosted RudderStack, you run the data plane in your own infrastructure and use the RudderStack-hosted control plane to manage it. The setup has two major components:
- The data plane is RudderStack’s core engine for processing and routing events. It is written in Go and uses PostgreSQL.
- The control plane offers a UI to help you instrument and manage your connections.
rudder-server and rudder-transformer are source available under the Elastic License 2.0, so you can read the code and run the data plane in your own infrastructure. The SDKs are MIT licensed. A self-hosted data plane takes its configuration from the RudderStack-hosted control plane: sign up for RudderStack Open Source to get your workspace token. See Is RudderStack open source? for component licenses and self-hosting details.

For more information, see RudderStack architecture.
Setup overview
Setting up self-hosted RudderStack involves the following steps:
- Control plane setup: Sign up for the RudderStack-hosted control plane and get your workspace token.
- Data plane setup: Use the token to set up the RudderStack data plane to track, process, and route your events.
- Verify installation: Verify your RudderStack installation by sending test events.
RudderStack recommends using the latest
rudder-serverandrudder-transformerversions to avoid any breaking changes to your pipelines.See the Server-Transformer Compatibility guide for more information.
Troubleshooting
See FAQ for quick solutions to some common problems you might encounter while setting up and using RudderStack.