Skip to main content
This page is for installing Tyk Self-Managed. If you are looking to use Tyk as part of Tyk Cloud, please refer to the Tyk Cloud documentation.

Architecture

Tyk Self-Managed Architecture

Requirements

Tyk Dashboard requires a persistent datastore for its operations. By default MongoDB is used. From Tyk v4.0, we also support PostgreSQL.

PostgreSQL

The following managed services are expected to work as a drop-in replacement for PostgreSQL. Tyk does not test them directly:
Sqlite support was previously offered for development and testing only. It reached End of Life and is no longer supported from Tyk 5.7.0 onward. Use PostgreSQL, MongoDB, or another listed compatible alternative instead.
Please check here for production configuration.

MongoDB

You can also use the following as a drop-in replacement for MongoDB: Please check here for MongoDB driver and production configuration.

Redis

Redis is a required dependency. Tyk Gateway, Tyk Dashboard, Tyk Pump and Tyk MDCB do not work without a connection to Redis. Install and configure Redis before you deploy Tyk. In production, make Redis highly available. To see how the Gateway reports a Redis outage, refer to Liveness Health Checks.
Visit the Configure Redis page for more info. Please check here for production configuration. For development, testing, and proof of concept purposes, we recommend using our Docker installation, which allows you to quickly spin up a full Tyk stack on your local machine.
docker
Install with Docker

Alternative Installation Methods

k8s
Install on K8s
ansible
Install with Ansible
redhat-logo2
Install on Red Hat
debian-nd-753
Install on Ubuntu
aws
Install on Amazon AWS
heroku-logo
Install Tyk on Heroku
azure-2
Install on Microsoft Azure

Air Gapped Installation

For environments with restricted network access, we provide guidance on how to deploy Tyk using private container registries and local package mirrors. Refer to our Air-Gapped Deployment guide for detailed instructions on how to set up Tyk in air-gapped or network-restricted environments.