Tyk on Docker vs Kubernetes vs VMs

Tyk Gateway can run on Docker, a Kubernetes cluster or virtual machines, and each model changes who upgrades, backs up and monitors Redis and the gateway. This page shows which deployment model fits which team and what to confirm before you commit.

On this page

Tyk on Docker vs Kubernetes vs VMs: which deployment model fits your team

Pick the deployment model your team already operates well. For the open-source Tyk Gateway, that means Docker for a smaller or container-first footprint, the tyk-oss Helm chart for teams that already run Kubernetes well, and package or Ansible installs on virtual machines for teams that manage Linux hosts with configuration management. In each model the gateway runs with Redis, so the choice mostly changes who patches the hosts, who restarts containers or pods, and where configuration is managed. Check the current supported install paths in the Tyk Gateway README before you standardize on one.

This section covers only the open-source gateway, with Redis as its datastore. The licensed components change the footprint. The full Tyk Self-Managed platform adds the Tyk Dashboard, the Developer Portal, Tyk Pump and PostgreSQL, and the Tyk Operator for Kubernetes-native API management also requires a license. Each of these is another component to deploy, patch, back up and monitor, so a Docker or VM plan sized for the gateway alone may not hold once they are added. Treat the open-source gateway as the starting point for sizing, and list which licensed components you need in production before you pick a host model. Confirm with Tyk which of them can run alongside the gateway in your chosen model.

Test the decision against three questions. Who runs Redis upgrades, backups and failover, and does one Redis instance meet your availability target or do you need a clustered or managed option? Who can roll back a gateway version on a host, container or pod within your change window? Which configuration tooling already exists? An Ansible role for Linux hosts or a GitOps pipeline for Kubernetes often settles the question faster than a feature list. A team with no existing Kubernetes practice should not adopt the Helm chart just for the gateway. Confirm the supported Redis topologies with Tyk, and check the Tyk releases page for the version you plan to pin before you write the runbook.

How Docker, Kubernetes and VMs compare for Tyk Gateway

This table compares how the open-source Tyk Gateway runs on Docker, on Kubernetes with the tyk-oss Helm chart, and on virtual machines. Read each row as a question to answer with your platform team and with Tyk before you commit. The main takeaway is that the choice mostly moves work between container orchestration skills and host administration.

FactorDockerKubernetes with tyk-oss Helm chartVirtual machines
Installation methodRun the Tyk Gateway container image with your own configuration files and deployment scripts. Confirm supported image tags with Tyk.Deploy with the tyk-oss Helm chart and your own values files. Confirm chart version compatibility with the gateway release you plan to run.Install from Red Hat, CentOS or Ubuntu packages, or automate with Ansible. Confirm which package repositories Tyk supports for your distribution.
Redis placementRun Redis as a separate container or managed instance on the same network. Confirm persistence and network placement with your Redis owner.Run Redis as a separate workload in the cluster or as an external service. Confirm the chart's Redis options with Tyk before you choose.Run Redis on a dedicated host or alongside the gateway, depending on your risk model. Confirm supported Redis versions with Tyk.
Sizing approachSize container limits and host capacity from load tests on your own APIs. Keep headroom for restarts and rolling replacements.Set resource requests and limits per gateway pod after load testing. Scale replicas with the autoscaling your cluster already runs.Size the host from load tests. Growth usually means larger hosts first, then more hosts behind a load balancer.
High availability designSeveral containers behind a load balancer across hosts. Failover depends on restart and failover tooling you build yourself.Replicas spread across nodes behind a Kubernetes service. Test pod and node failure behavior together with your Redis design.Two or more hosts behind a load balancer with health checks. Failover for each host follows your own runbook and monitoring.
Upgrade pathPull the new image tag, test it in staging, then replace containers. Keep the previous tag available for rollback.Change the chart version and values, then roll out gradually. Review chart and gateway release notes before each step.Upgrade packages or Ansible roles host by host. Plan maintenance windows and confirm the package path for each release with Tyk.
Backup scopeBack up mounted configuration files, environment definitions and Redis data if your policy requires it. Container images do not hold your configuration.Back up Helm values, secrets and any Redis volumes. Keep the manifests needed to recreate the release in a second cluster.Back up configuration files, service definitions and Redis data as your policy requires. Test restores on a second host.
Operating skillsContainer runtime, image handling and Linux networking. Fewer cluster-wide skills are needed than on Kubernetes.Kubernetes, Helm, cluster networking and secrets management. These need to be in place before the gateway goes live.Linux administration, package management, service management and Ansible if you use it. Familiar to most infrastructure teams.
Typical team fitTeams with container experience and a small number of gateway instances, without a cluster platform to join.Platform teams already running clusters with Helm or GitOps delivery in place.Infrastructure teams with fixed hosts, change-controlled environments or air-gapped networks where a cluster is unavailable.

What each deployment model runs and what sits around it

Each model runs the same open-source Tyk Gateway on the same Redis datastore, so the differences lie in who builds, patches and recovers each layer. The cards list the components the gateway needs, what your team owns, and what the licensed Self-Managed stack would add around it.

Tyk Gateway on Docker containers

The open-source Tyk Gateway runs as a container alongside Redis, the datastore the gateway requires. You own the image tag you pull, the host or container runtime that runs it, and the Redis instance and its persistence settings. Licensed Self-Managed would add the Dashboard, Developer Portal, Tyk Pump and PostgreSQL as more containers to pull, patch and back up. Check that image sources and tags are pinned and recorded in your change process before go-live.

Tyk Gateway README

Tyk Gateway on Kubernetes with tyk-oss

The tyk-oss Helm chart deploys the open-source gateway into a Kubernetes cluster, so the chart values become the main configuration surface. You own the chart version, the values file for gateway settings, the cluster itself and the Redis deployment the gateway depends on. Licensed Self-Managed would add the Dashboard, Developer Portal, Tyk Pump and PostgreSQL as extra workloads in the same cluster. The Tyk Operator requires a license, so plan for your own declarative tooling unless that license is in scope. Confirm which chart version matches your gateway release before each upgrade.

Tyk Gateway on virtual machines

On virtual machines, the gateway is installed from Red Hat, CentOS or Ubuntu packages, or from an Ansible playbook, and then managed on each host. You own operating system patching, the Ansible playbook version, host firewall rules and the Redis service the gateway connects to. Licensed Self-Managed would place the Dashboard, Developer Portal, Tyk Pump and PostgreSQL on hosts you also build and patch. Check how your playbooks handle upgrades on a running host and whether your package sources are mirrored inside your network.

Redis as the shared datastore

Redis is the datastore all three models share, because the open-source gateway runs with Redis in each. You own Redis availability, version, persistence, access controls and backup whichever model hosts the gateway. Licensed Self-Managed also uses PostgreSQL alongside Redis, so its backup and restore plan is an additional datastore to own. Ask whether Redis will be a managed service, a container or a host install, because that choice shapes failover and recovery in all three models.

How a team narrows the deployment model

The path starts with whether the team already runs Kubernetes in production. If it does, the next question is whether it needs the licensed Dashboard, Developer Portal or Operator. If not, the open source path leads to Kubernetes with the tyk-oss Helm chart. If licensed parts are needed, the step is to confirm Kubernetes support with Tyk. If the team does not run Kubernetes, it asks whether it has config management and standard Linux images. A yes leads to virtual machines installed from packages, and a no leads to Docker containers on hosts. Both of those branches end in a step to confirm which Self-Managed components Tyk supports on that target.

Decision path from Kubernetes experience to one of three deployment models.

How Redis and the licensed components change the footprint

Every model in this comparison starts with the open-source Tyk Gateway, and that gateway runs with Redis availability, persistence and backup as part of every deployment. Whether you choose Docker, Kubernetes or virtual machines, Redis must be designed in from the start. On Docker, decide where the Redis container runs, whether its data survives a container replacement and who restores it after a failure. On Kubernetes, check the values of the tyk-oss Helm chart to see whether Redis is deployed in the cluster or expected from an existing service, then confirm the storage class and snapshot method you will use. On virtual machines, you own replication, failover and snapshots directly. In all three models, rehearse a Redis failover and a restore before production traffic depends on them.

The full Tyk Self-Managed platform adds the Tyk Dashboard, the Developer Portal, Tyk Pump, Redis and PostgreSQL, and it needs a license. That means more components to upgrade and back up in each model: more containers, pods or hosts to patch, and a PostgreSQL database to protect alongside Redis. Ask Tyk which license covers which components, and confirm which Dashboard and portal versions are supported with a given gateway release. The Tyk Operator for Kubernetes also requires a license, so decide early whether it is in scope for your Kubernetes design. Build the upgrade order and a restore test for the whole set before you pick a model, because a gateway that restores cleanly is not enough if the Dashboard database cannot be restored to match it.

If your team does not want to run Redis, PostgreSQL, the Dashboard and Pump in its own environment, Tyk Cloud is the hosted option. Tyk Cloud manages the full stack, and it is available with a free trial. The trial is a practical way to test Dashboard and portal workflows against your own APIs before you commit to operating the Self-Managed stack. Confirm in writing what Tyk Cloud operates, what stays under your control, where your data is held and who handles upgrades and support, because those answers decide how much of the footprint in the previous paragraphs the hosted option actually removes. For the open-source baseline you would compare against, read the Tyk Gateway README.

Upgrades, backups, monitoring and skills for each model

This table compares how each deployment model handles upgrades, rollbacks, backups, monitoring, failure handling and operating skills for Tyk Gateway. Use Tyk Gateway v5.15.1, published October 2, 2026 according to the Tyk releases page on GitHub, as the example version, and check the current release there before you plan. Before you commit to a model, confirm the upgrade procedure, supported Redis topology and backup method with Tyk documentation for your target model.

AreaTyk on DockerTyk on KubernetesTyk on VMs
Upgrade processPin an image tag such as v5.15.1, then pull the new tag and recreate the containers in a planned window.Upgrade the tyk-oss Helm release to a chart version that maps to the target gateway version. Confirm the mapping first.Upgrade Tyk packages on Red Hat, CentOS or Ubuntu, then restart services in the order Tyk documentation specifies.
Rollback approachRedeploy the previous pinned image tag. Keep the old tag in your registry until the new version is verified.Roll back the Helm release to the previous revision. Confirm that configuration and Redis data remain compatible with the older version.Reinstall the previous package version. Keep copies of configuration files and package versions so the rollback is repeatable.
Backup scope (Redis, and PostgreSQL for Self-Managed)Back up Redis data volumes. For Self-Managed, also back up the PostgreSQL volume and the Dashboard configuration.Use persistent volume snapshots or managed backups for Redis. For Self-Managed, back up PostgreSQL and the Helm values files.Back up Redis data directories and config files. For Self-Managed, add PostgreSQL dumps or physical backups taken on a schedule.
Monitoring and log collectionShip container logs through your Docker logging driver to a central store. Confirm metrics and Pump analytics options for Self-Managed.Collect pod logs with your cluster logging agent. Confirm which metrics endpoints and Pump analytics options the chart exposes.Forward systemd journal entries and Tyk log files with an agent you run. Confirm metrics and Pump options for Self-Managed.
Failure handlingUse restart policies and at least two hosts behind a load balancer. A single host is a single point of failure.Run multiple gateway replicas so the scheduler can reschedule failed pods. Confirm the Redis failover topology you need.Failover depends on a second VM and a load balancer you configure. Systemd restarts failed services but does not move workloads.
Skills the operating team needsLinux, Docker, Redis administration, TLS and secrets handling. For Self-Managed, add PostgreSQL administration.Kubernetes, Helm, storage classes, network policy, Redis administration. For Self-Managed, add PostgreSQL administration.Linux administration, package and service management, load balancer configuration, Redis administration. For Self-Managed, add PostgreSQL.

Which team fits which deployment model

A platform team that already runs Kubernetes has most of the skills this deployment needs. Helm releases, namespace policy, ingress, certificate management and cluster upgrades carry over directly. The open source gateway can be installed with the tyk-oss Helm chart, and the team's main new work is operating Redis, which the gateway runs with, as a stateful workload. The licensed pieces need a separate decision, because the Dashboard, Developer Portal, Tyk Pump and PostgreSQL are part of the Self-Managed platform, and the Tyk Operator for declarative management also requires a license.

  • Existing skills: GitOps pipelines, network policy, autoscaling and secrets handling apply to the gateway without a new toolchain.
  • What it would take on: Redis persistence, failover and eviction settings, plus a rollout strategy for gateway pods across namespaces.
  • What to avoid without help: Designing the licensed management layer on top of the cluster before the scope and license terms are written down.
  • Questions to answer: Will API configuration live in Git through the licensed Operator, or in a workflow the team owns? Who runs Redis backup and failover tests? Which cluster upgrades must be proven against the gateway first?

Confirm your cluster standards cover stateful Redis and admin access before adding a gateway to the platform.

How to validate a Tyk deployment model before building it

Six steps test whether Docker, Kubernetes or virtual machines fit your team, licenses and traffic before any build starts. Each step names who does the work and the output that closes it, so the decision rests on evidence from your own environment.

  1. Inventory platform skills and on-call coverage

    The platform or operations lead inventories who already runs Docker hosts, Kubernetes clusters, virtual machine fleets, Redis and the load balancer in front of the gateway. Map each skill to a named person, then check that on-call rotations cover gateway incidents during the hours your API traffic needs. If a candidate model needs skills nobody on the team holds, it will cost more to operate regardless of its license terms, so record that gap now and decide whether to train, hire or outsource before choosing. The output is a skills matrix with gaps marked, plus an on-call roster for each option.

  2. Decide which licensed components are in scope

    The architect and procurement lead lists every Tyk component the design needs and marks each as open source or licensed. Tyk Gateway code is licensed under the Mozilla Public License 2.0, except the ee folder, which sits under a separate commercial Enterprise Edition license. The full Tyk Self-Managed platform, which runs the Dashboard, Developer Portal, Tyk Pump, Redis and PostgreSQL, needs a license, and so does the Tyk Operator for Kubernetes-native management. Confirm these terms with Tyk in writing before you commit. The output is a component list with license status, which becomes the licensing input for the cost comparison.

  3. Confirm Redis topology and high availability design

    The platform engineer maps the Redis layout the open source gateway depends on for each candidate model, including how it behaves when a node or an availability zone fails. Check each claim against Tyk's documentation for the chosen install path, whether Docker, the tyk-oss Helm chart, operating system packages or source. The Tyk Gateway README lists the supported install methods and is the starting point. Record the failover steps, who triggers them, and which points the documentation does not settle. The output is a topology diagram with open questions, sent to Tyk for written answers before sizing begins.

  4. Load test against a representative workload

    The performance engineer builds a test from your own traffic: the API mix, payload sizes, authentication methods, the rate limits and quotas you will enforce, and any plugins in the request chain. Run it against each candidate model on instances matching the planned build, and record throughput, latency percentiles, and CPU and memory per gateway instance. Use the measured results to size the deployment, and treat any vendor guidance as a starting hypothesis to test. The output is a sizing report stating the node count and resources the measured workload required, with the test conditions recorded beside every number so the run can be repeated.

  5. Rehearse an upgrade and a restore

    The operations lead rehearses in a non-production copy of the chosen model, using the Tyk release that is current when the rehearsal runs, checked against the Tyk releases page. Upgrade the gateway and each licensed component in scope, then restore Redis and any PostgreSQL data from backup into a clean environment and confirm the gateway serves the same APIs and API keys. Time each step and note every manual action, since those become the operating burden the team carries. The output is a tested runbook with rollback points and a restore record showing whether the people from step one can recover the platform unaided.

  6. Agree scope and deliverables in writing

    The project sponsor and DeployOpen agree the scope, deliverables, handover and any ongoing retainer in a written statement of work before implementation starts. Most engagements are fixed-scope, so the document should name the deployment model chosen in steps one to five, the licensed components in scope, the test evidence to be delivered, the runbooks and the acceptance criteria. The quote follows from that written scope, so ask for it only after the earlier steps are complete. Confirm who holds the Tyk license agreement. The output is a signed scope that procurement and the team that will run the gateway can both work from.

Tyk deployment options: cost, effort and what the work needs from you

What drives the cost of running Tyk on Docker, Kubernetes or VMs?

Five cost components drive the total: licenses, infrastructure, Redis, staff time and outside services. The open-source Tyk Gateway is licensed under MPL-2.0, but the full Self-Managed platform (Gateway, Dashboard, Developer Portal, Tyk Pump, Redis and PostgreSQL) needs a commercial license, as does the Tyk Operator for Kubernetes. Infrastructure and Redis recur on every model, and the Docker, Kubernetes and VM choice mainly changes how many hosts, nodes and services you run. Staff time for installation, hardening and monitoring is largely one-time, while upgrades and patching recur. Outside services often cover design and handover, which are one-time, and may add a recurring retainer. Ask any quote to list each component separately, mark what is one-time and what recurs, and state the assumptions it makes about your environment.

How long does a Tyk deployment take, and why is there no fixed figure?

No reliable duration exists until the scope is written, because the work changes with the deployment model, the number of environments, the licensed components, the identity integration and the testing you need. A Docker host, a Kubernetes cluster using the tyk-oss Helm chart and a VM build using Ansible or Red Hat, CentOS or Ubuntu packages each involve different preparation. Kubernetes and VM builds also depend on whether your platform team already runs the cluster or hosts. Redis and PostgreSQL high availability, certificate handling and any Dashboard or portal setup add their own steps. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and the quote follows from that scope. Ask for the timeline with its assumptions listed, the environments it covers and the points where your team must act, so you can compare bids on the same basis.

What does a Tyk deployment need from our own team?

Your team provides access, decisions and ownership, and the amount varies with the deployment model. Expect to supply the target environment (cloud account, data center or air-gapped network), network and DNS rules, certificate authority details, identity provider settings for any SSO, a secrets store and change approvals. You also need named people for architecture decisions, change windows and sign-off on security controls. For Kubernetes, your platform team usually owns the cluster, ingress and storage classes. For VMs, your operations team usually owns the host images, patch baseline and monitoring. For Docker, someone must own the host and the container runtime. Ask the proposal to list each access request and each decision owner in writing, so gaps are visible before work starts.

Can our engineers run a Tyk deployment themselves after go-live?

Often yes, if your team has the skills for the chosen model and the time to build and operate it. The decision depends on skills and staffing as much as on the install steps. Tyk Gateway is open source and installs with Docker, the tyk-oss Helm chart, Ansible, or Red Hat, CentOS and Ubuntu packages, so a capable team can build a gateway-only setup without outside help. The full Self-Managed stack with Dashboard, Developer Portal, Pump and PostgreSQL requires a license, and so does the Operator, so check licensing terms before you plan that build. Redis operations, upgrades, backups and security hardening remain ongoing work for whoever runs the platform. A split model, where an outside team handles build and documentation and your team runs the platform, is one option to put into the written scope.

Which licensed Tyk components change the Kubernetes or VM plan?

The components that change the plan are the ones under the commercial license: the Dashboard, the Developer Portal, the Tyk Operator, and the Pump and PostgreSQL that the full Self-Managed platform runs. The Gateway code is MPL-2.0 licensed, but the ee folder carries a separate commercial Enterprise Edition license, so confirm which features sit there before you design around them. On Kubernetes, the Operator changes how APIs are managed declaratively, which affects your GitOps pipeline and who holds cluster permissions. On VMs, each licensed service is another package to install, patch and back up. Ask your licensing contact to confirm which components your plan uses, because that choice sets the license line in the quote more than the hosting model does.

How should we handle Tyk upgrades and backups after go-live?

Upgrades and backups are recurring work, and the owner must be named in the scope before go-live. Tyk publishes gateway releases on GitHub, with v5.15.1 published on October 2, 2026, so your process needs to decide how often you test and promote new versions. Backups should cover the configuration, Redis data where it matters for your rate limits and quotas, and PostgreSQL if you run the full Self-Managed stack. Test each change in a non-production copy first. Docker and VM builds usually need image or package pipelines, while Kubernetes adds Helm values and Operator resources to version control. Ask the quote to state who runs upgrades, the rollback steps, the backup schedule and retention, and whether a retainer covers ongoing support after handover.

How DeployOpen scopes and delivers Tyk deployments

DeployOpen starts with the runtime your team already operates, then fixes scope, deliverables and timelines in writing before any work begins. The same method covers Tyk in Docker containers, on the tyk-oss Helm chart in Kubernetes, or on virtual machines in your own cloud accounts, data centers or air-gapped networks. Sizing, high availability, upgrades and backup are agreed for the platform you pick, so the handover covers what your team will run.

How we scope

  • The written scope names which deployment model applies, plus the Tyk components in and out of the engagement.
  • Scope records the Redis layout, node count and failure expectations for Docker, Kubernetes or VM hosts.
  • Engagements are fixed-scope, and the scope, deliverables and timelines are agreed in writing before work starts.

How we build

  • Docker builds pin image versions, configuration files and Redis settings so the same stack rebuilds predictably.
  • On Kubernetes, we deploy the tyk-oss Helm chart and document every value we override in the cluster.
  • On virtual machines, we install from packages or Ansible, then harden the hosts and the gateway configuration.

How we hand over

  • Handover covers the runbooks for upgrades, Redis backup and restore, and gateway configuration reloads.
  • Documentation records the license status of each Tyk component, including the Dashboard, Portal and Operator where licensed.
  • Compliance evidence is prepared from documented controls and configuration, while independent auditors issue any assessment outcome.

How we support

  • Retainers cover ongoing support, upgrades and continuous testing, agreed separately from the build scope.
  • Upgrade work follows the Tyk release line you run, with the target version confirmed in the written scope.
  • Security testing of the gateway and its APIs can follow the build as a separate fixed-scope engagement.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.