Skip to main content
EditionDeployment Type
EnterpriseSelf-Managed, Hybrid
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 Archtecture

Requirements

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

PostgreSQL

Tyk VersionPostgreSQL Version
From 4.XPSQL 14.x
From 5.XPSQL 15.x
From 5.XPSQL 16.x
From 5.9PSQL 17.x

MongoDB

Tyk VersionMongoDB Version
From 5.XMongoDB 5.0 (EOL)
From 5.XMongoDB 6.0
From 5.XMongoDB 7.0
From 5.9MongoDB 8.0
See Database Options for a list of versions and drop-in replacements we support.

Redis

Tyk Gateway requires Redis for its operations. Here is the list of supported versions:
Tyk VersionRedis Version
From 3.x.x2.8.x, 3.x.x, 4.x.x, 5.x.x, 6.x.x
From 4.x.x2.8.x, 3.x.x, 4.x.x, 5.x.x, 6.x.x
From 5.0.x to 5.8.x6.2.x, 7.x
From 5.9.x onwards6.2.x, 7.x, 7.4.x
Visit the Redis page for more info. 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.