> ## Documentation Index
> Fetch the complete documentation index at: https://tyk-docs-goja-inline-mintlify.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation Options for Tyk Self-Managed

> Explore the various installation options for Tyk Self-Managed, including Docker, Kubernetes, Linux packages, Ansible, and more.

export const ResponsiveGrid = ({children}) => {
  return <div className="responsive-grid">
      {children}
    </div>;
};

| Edition    | Deployment Type      |
| :--------- | :------------------- |
| Enterprise | Self-Managed, Hybrid |

<Note>
  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](/getting-started/create-account).
</Note>

## Architecture

<img src="https://mintcdn.com/tyk-docs-goja-inline-mintlify/d1Z-uZGLG6rgovGr/img/diagrams/diagram_docs_pump-data-flow@2x.png?fit=max&auto=format&n=d1Z-uZGLG6rgovGr&q=85&s=b1e4317977a3b319f9fb3ff696d8a0dd" alt="Tyk Self-Managed Archtecture" width="2000" height="1250" data-path="img/diagrams/diagram_docs_pump-data-flow@2x.png" />

## 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 Version | PostgreSQL Version |
| ----------- | ------------------ |
| From 4.X    | PSQL 14.x          |
| From 5.X    | PSQL 15.x          |
| From 5.X    | PSQL 16.x          |
| From 5.9    | PSQL 17.x          |

### MongoDB

| Tyk Version | MongoDB Version   |
| ----------- | ----------------- |
| From 5.X    | MongoDB 5.0 (EOL) |
| From 5.X    | MongoDB 6.0       |
| From 5.X    | MongoDB 7.0       |
| From 5.9    | MongoDB 8.0       |

See [Database Options](/api-management/dashboard-configuration#supported-database) 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 Version         | Redis Version                     |
| ------------------- | --------------------------------- |
| From 3.x.x          | 2.8.x, 3.x.x, 4.x.x, 5.x.x, 6.x.x |
| From 4.x.x          | 2.8.x, 3.x.x, 4.x.x, 5.x.x, 6.x.x |
| From 5.0.x to 5.8.x | 6.2.x, 7.x                        |
| From 5.9.x onwards  | 6.2.x, 7.x, 7.4.x                 |

Visit the [Redis page](/planning-for-production/database-settings#redis) for more info.

## Recommended Installation: Docker

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.

<ResponsiveGrid>
  <Card href="/tyk-self-managed/install/docker" img="https://mintcdn.com/tyk-docs-goja-inline-mintlify/d1Z-uZGLG6rgovGr/img/docker.png?fit=max&auto=format&n=d1Z-uZGLG6rgovGr&q=85&s=effdaffb3841d3ae6bfe6a46407d60fe" width="71" height="61" data-path="img/docker.png">
    Install with Docker
  </Card>
</ResponsiveGrid>

## Alternative Installation Methods

<ResponsiveGrid>
  <Card href="/tyk-self-managed/install/kubernetes" img="https://mintcdn.com/tyk-docs-goja-inline-mintlify/fq7EUzY4cEnZjvZJ/img/k8s.png?fit=max&auto=format&n=fq7EUzY4cEnZjvZJ&q=85&s=7b84feed9f540d09bba42148a093ee22" width="70" height="69" data-path="img/k8s.png">
    Install on K8s
  </Card>

  <Card href="/tyk-self-managed/install/methods#install-with-ansible" img="https://mintcdn.com/tyk-docs-goja-inline-mintlify/YZxAqEZBQPigX546/img/ansible.png?fit=max&auto=format&n=YZxAqEZBQPigX546&q=85&s=0e284c02c569867441379eed5e53393b" width="80" height="80" data-path="img/ansible.png">
    Install with Ansible
  </Card>

  <Card href="/tyk-self-managed/install/linux#install-tyk-on-redhat-rhel-centos" img="https://mintcdn.com/tyk-docs-goja-inline-mintlify/_Izpoh3k_bqKCn_l/img/redhat-logo2.png?fit=max&auto=format&n=_Izpoh3k_bqKCn_l&q=85&s=a60ba2e4aa247b88322b9ae8192fc165" width="70" height="55" data-path="img/redhat-logo2.png">
    Install on Red Hat
  </Card>

  <Card href="/tyk-self-managed/install/linux#install-tyk-on-debian-or-ubuntu" img="https://mintcdn.com/tyk-docs-goja-inline-mintlify/FCAnWJ36xKFZHGuE/img/debian-nd-753.png?fit=max&auto=format&n=FCAnWJ36xKFZHGuE&q=85&s=7aa319d843f6f0d073d77a4d3a54db79" width="57" height="69" data-path="img/debian-nd-753.png">
    Install on Ubuntu
  </Card>

  <Card href="/tyk-self-managed/install/methods#install-on-aws-marketplace" img="https://mintcdn.com/tyk-docs-goja-inline-mintlify/YZxAqEZBQPigX546/img/aws.png?fit=max&auto=format&n=YZxAqEZBQPigX546&q=85&s=1a8cf7c8a0ad06808aa83654700d7886" width="71" height="43" data-path="img/aws.png">
    Install on Amazon AWS
  </Card>

  <Card href="/tyk-self-managed/install/methods#install-on-heroku" img="https://mintcdn.com/tyk-docs-goja-inline-mintlify/fq7EUzY4cEnZjvZJ/img/heroku-logo.png?fit=max&auto=format&n=fq7EUzY4cEnZjvZJ&q=85&s=0d7f776bf50e0025bcbc962fa9174f55" width="70" height="73" data-path="img/heroku-logo.png">
    Install Tyk on Heroku
  </Card>

  <Card href="/tyk-self-managed/install/methods#install-on-microsoft-azure" img="https://mintcdn.com/tyk-docs-goja-inline-mintlify/YZxAqEZBQPigX546/img/azure-2.png?fit=max&auto=format&n=YZxAqEZBQPigX546&q=85&s=517aad1b20ff0579c4abdae343321997" width="70" height="55" data-path="img/azure-2.png">
    Install on Microsoft Azure
  </Card>
</ResponsiveGrid>

## 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](/api-management/air-gapped-deployment) for detailed instructions on how to set up Tyk in air-gapped or network-restricted environments.
