Self-hosted app·Developer tools, backends and AI
Tyk hosting on a VPS
in Panama City.
Tyk hosting in PTY1, Panama City: Tyk Gateway 5.13 LTS and Redis in Docker on a 4 vCPU / 4 GB VPS. Sizing, compose file, limits.
- Go
- Redis
- PostgreSQL
- Docker
PTY1·Panama City
In stockRecommended for this use case
- 1 Gbps port15 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $116.99 a year, about 25% less
- No KYC
- Crypto only
- Panama jurisdiction
- 4 vCPU, 4 GB RAM
- 160 GB NVMe local storage
- 15 TB transfer on a 1 Gbps port
- DDoS protection included
- Panamanian law
01/07
Short answer.
Yes, you can self-host Tyk with us. For a single-node Tyk Gateway with its Redis beside it, take the Cloud VPS Standard plan: 4 vCPU, 4 GB RAM, 160 GB NVMe and 15 TB of monthly transfer on a 1 Gbps port, for $12.99 a month, running Debian 13 in our PTY1 facility in Panama City. You can deploy it with Debian 13 preselected and have the gateway answering in about the time Docker needs to pull two images.
The thing that matters most is Redis. In a Tyk deployment Redis is the database: it holds API keys, OAuth clients, rate-limit and quota counters, and the analytics buffer. Persist it to disk, back it up, and never publish its port. A gateway whose Redis is wiped has forgotten every key you issued.
02/07
What Tyk is,
and who makes it.
Tyk is an API gateway. It sits in front of your services and handles client authentication (API keys, JWT, OIDC, mutual TLS, OAuth 2.0), rate limits and quotas, request and response transformation, and traffic logging, for REST, GraphQL, gRPC and TCP upstreams. It is written in Go and maintained by Tyk Technologies, a London company Martin Buhr started in 2014 as a side project and co-founded with James Hirst.
The licensing has two layers, and they decide what you can run on your own server without talking to Tyk's sales team. The gateway source is under the Mozilla Public License 2.0, apart from an ee directory under a commercial licence. The open-source Gateway and Tyk Pump (the analytics shipper) need no licence; the Dashboard, the Developer Portal and the Multi Data Center Bridge do, and the Dashboard also needs MongoDB or PostgreSQL. Most people searching for "tyk docker" want the first layer: a gateway configured through files and its REST API, with no GUI. That is what this page deploys.
Pin a version rather than :latest. As of 5 November 2026 the newest feature release is 5.16.0 (27 October 2026), and the long-term-support branch is 5.13, in full support from July 2026 to June 2027 with a patch every eight weeks; its current patch is 5.13.5 (30 October 2026). A non-LTS minor reaches end of life the day the next minor ships, so a 5.16 deployment has to follow every release to stay supported. For a gateway you do not plan to touch monthly, run 5.13.x. Take 5.16 only if you need something it adds, such as support for the 2026-07-28 MCP protocol revision or access conditions on path-based permissions.
Our servers are in Panama City and answer to Panamanian law. A US DMCA notice has no legal effect here, and we act only on valid orders from competent Panamanian authorities.
03/07
Requirements and sizing.
Tyk's production guidance is blunt on CPU: the gateway is CPU-bound and spreads itself across every core it is given. Memory is mostly a Redis question. Tyk puts an average analytics record at about 1 KB, so 100 requests per second needs roughly 6 MB of Redis to buffer 60 seconds of analytics, and about ten times that with detailed recording switched on. Keys, sessions and rate-limit counters come on top, and keys created without an expiry stay in Redis until something deletes them. Two settings cost more CPU than people expect: the health-check API, which records data for every request in a rolling window, and debug-level logging.
Tyk recommends running Redis on a separate machine, because the gateway and Redis compete for the same cores. On one VPS you accept that contention in exchange for one host and one bill, and for most teams below a few hundred requests per second it is the right trade. When it stops being right, move Redis to its own VPS before you buy a bigger single machine.
| Deployment | Plan | Resources | Price / month |
|---|---|---|---|
| Lab or staging: gateway + Redis | VPS Starter | 2 vCPU, 2 GB, 80 GB NVMe, 10 TB transfer, 1 Gbps | $6.99 |
| Production, one node: gateway + Redis | VPS Standard | 4 vCPU, 4 GB, 160 GB NVMe, 15 TB transfer, 1 Gbps | $12.99 |
| Gateway, Redis, Pump and PostgreSQL for a licensed Dashboard | VPS Pro | 6 vCPU, 8 GB, 320 GB NVMe, 20 TB transfer, 1 Gbps | $22.99 |
| Tyk's recommended split: two gateways behind a load balancer, Redis on its own host | 3 × VPS Standard | 12 vCPU, 12 GB in total | $38.97 |
| Sustained high request rates, traffic you cannot predict | Iron dedicated server | EPYC 4244P, 6 cores / 12 threads, 32 GB DDR5 ECC, 1 TB NVMe, 10 Gbps unmetered under fair use | $64.99 |
We have not published our own load test of Tyk on these plans. Tyk's published benchmarks were run on other hardware and say little about a 4 vCPU virtual machine.
The port layout is short. The gateway listens on 8080 by default; publish that, or put a TLS-terminating reverse proxy on 443 in front of it. Move the Gateway API (the /tyk/ management endpoints) to its own port with control_api_port and bind it to localhost. Redis on 6379 stays on the Docker network and is never published.
04/07
Deploying Tyk Gateway
with Docker on VPS Standard.
Order the server from the VPS Standard deploy page, log in as root, and install Docker Engine and the Compose plugin from Docker's own apt repository, which supports Debian 13 (trixie). Tyk's quick start asks for Docker Engine 24.0 and Compose 2.20 or later; Docker's repository is the straightforward way to get current versions, and Debian's docker.io package conflicts with it.
Read this before writing any ports: line. Docker's documentation warns that ports published by containers bypass ufw and firewalld rules. A 6379:6379 mapping, which Tyk's own quick-start compose file contains, therefore puts an unauthenticated Redis on the public address of your VPS no matter what your firewall says. The file below publishes nothing for Redis and binds the management port to 127.0.0.1.
Create a working directory. The .env file holds the Gateway API secret; TYK_GW_* environment variables take precedence over tyk.conf, which keeps the secret out of the config file.
mkdir -p /opt/tyk && cd /opt/tyk
mkdir apps redis-data
chown 65532:65532 apps # the gateway container runs as UID 65532
echo "TYK_GW_SECRET=$(openssl rand -hex 32)" > .env
chmod 600 .envtyk.conf:
{
"listen_port": 8080,
"control_api_port": 8081,
"template_path": "/opt/tyk-gateway/templates",
"app_path": "/opt/tyk-gateway/apps",
"storage": {
"type": "redis",
"host": "tyk-redis",
"port": 6379
},
"enable_analytics": false,
"http_server_options": {
"enable_strict_routes": true
}
}docker-compose.yml:
services:
tyk-gateway:
image: tykio/tyk-gateway:v5.13.5
restart: unless-stopped
env_file: .env
ports:
- "8080:8080"
- "127.0.0.1:8081:8081"
volumes:
- ./tyk.conf:/opt/tyk-gateway/tyk.conf:ro
- ./apps:/opt/tyk-gateway/apps
ulimits:
nofile:
soft: 80000
hard: 80000
depends_on:
- tyk-redis
tyk-redis:
image: redis:8.2
restart: unless-stopped
command: ["redis-server", "--appendonly", "yes"]
volumes:
- ./redis-data:/dataStart it with docker compose up -d and check it from the server itself:
curl -s http://127.0.0.1:8081/hello
source .env
curl -s -H "x-tyk-authorization: $TYK_GW_SECRET" http://127.0.0.1:8081/tyk/apisOnce the control API has its own port, the health endpoints follow it, so /hello answers on 8081 with the gateway version and the state of its Redis connection. The second call lists API definitions, empty on a fresh install. You create APIs through that endpoint or by dropping definitions into apps/ and calling /tyk/reload; from your workstation, reach port 8081 through an SSH tunnel.
A few choices in that file are deliberate. Analytics stay off because nothing is shipping them out of Redis yet; turn enable_analytics on when you add Tyk Pump. Strict routes are Tyk's own recommendation, so that a request to /customer/42/account/health cannot land on an unsecured /health endpoint. The file-descriptor limit of 80,000 is the figure Tyk uses in its production notes. For TLS, either change the 8080 mapping to 127.0.0.1:8080:8080 and run Caddy or nginx on 443, which also handles certificate renewal, or let Tyk terminate TLS itself with http_server_options.use_ssl and certificates you supply.
Back up three things: redis-data/, apps/ and tyk.conf. Restic or rclone to an object storage bucket does this well; the 250 GB tier is $1.99 a month, and it is an S3 endpoint with access keys, used through restic's S3 backend, not a disk you mount under Redis. Upgrades within the LTS branch are a tag change followed by docker compose pull && docker compose up -d. If you build Go plugins, rebuild them for each patch, because LTS patches can move the Go toolchain.
05/07
Cost.
VPS Standard is $12.99 a month. Paying yearly takes roughly 25 % off, which works out at $116.99 for the year. Daily backups add 20 %, bringing the plan to $15.59 a month; an extra IPv4 is $2 a month and priority support $10. The price includes the 4 vCPU, 4 GB of RAM, 160 GB of NVMe, 15 TB of transfer on a 1 Gbps port, and root access. Tyk's open-source gateway costs nothing; a Dashboard licence is a contract between you and Tyk, and we neither sell nor bundle one. Every plan is on the pricing page.
VPS transfer is metered, and a gateway is a traffic multiplier, so do the arithmetic early. Spread evenly over a 30-day month, 15 TB is about 5.8 MB/s, or 46 Mbit/s sustained around the clock; at an average response of 10 KB that is roughly 580 requests per second, every second, all month (theoretical). A saturated 1 Gbps port would use the whole 15 TB in about 33 hours. If your traffic looks more like that, the dedicated servers come with a 10 Gbps port and unmetered traffic under fair use.
Payment is in crypto only, in twelve currencies from BTC and XMR to USDC, with balances kept in US dollars. A top-up of $50 or more earns a bonus of 5 % to 20 % depending on its size, and the unused paid part is refundable within 14 days.
06/07
What hosting the gateway
in Panama changes.
A gateway is where your API's personal data concentrates: client IP addresses, tokens, and, with detailed recording enabled, full request and response bodies in Redis. Since 5.13.4, detailed logs redact the API's authentication header by default, but credentials sent in query strings, cookies or bodies are still recorded. Where that server sits is therefore a real question.
Panama's personal data protection law is Law 81 of 26 March 2019, implemented by Executive Decree 285 of 28 May 2021. Article 29 of the Constitution allows private communications to be intercepted only on the order of a judicial authority, and private documents to be examined only on the order of a competent authority and for specific purposes. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Panama. That is not a shield against the United States: the two countries have had a mutual legal assistance treaty in criminal matters in force since 6 September 1995, so a US request arrives through that treaty and Panamanian authorities. Law 51 of 2009 requires telecommunications companies and other communication networks that sell the service to keep certain user data for six months; whether it reaches a hosting provider is a question for Panamanian counsel. If your API serves people in the EU, note that Panama has no EU adequacy decision, so routing their requests through a gateway here is a transfer that needs safeguards such as the 2021 standard contractual clauses. The wider picture is on our offshore hosting page.
07/07
Limits and acceptable
use.
Opening an account is no-KYC: an email address is enough. That does not move responsibility for what leaves the server, and with a gateway the classic mistake is an open relay: a keyless API definition whose upstream can be steered by the request. Scanners find those within days, and the scraping, credential stuffing or attack traffic that follows comes from your IP address. Require authentication on every API you publish, keep strict routing on, and keep the management port off the public interface. Abuse reports about traffic from your gateway are handled as reports about your server; the full rules are in our acceptable use policy.
A DMCA notice has no legal effect on servers in Panama. We forward copyright complaints to the customer and act on a decision of a competent Panamanian authority, or where the content is manifestly unlawful.
Tyk inside the VM is yours to run. That covers rotating the Gateway API secret, applying LTS patches as they ship, keeping Redis private and backed up, and meeting your own obligations as controller of the personal data that passes through. If something below the operating system misbehaves, open a support ticket from the client panel.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardRecommendedSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| TitanDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Titan |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions
people ask first.
Short answers about running this in PTY1. If yours is not here, open a ticket from your panel.
Can I run the Tyk Dashboard and Developer Portal on your servers?
Yes, with a licence from Tyk. The Dashboard stores its data in MongoDB (Tyk lists 7.0.x for the 5.x series) or PostgreSQL, and the Developer Portal requires PostgreSQL. VPS Pro at $22.99 fits the whole stack on one host for evaluation and small deployments; Tyk's own production topology puts the Dashboard, Pump and database on separate machines, which here means several VPS or a dedicated server.
Redis or Valkey?
Either works. Tyk 5.13.5 is compatible with Redis 6.2.x through 8.4 and with Valkey 7.2, 8.0 and 8.1. The 5.16.0 feature release drops Redis 6.2 and adds Valkey 9.1, so check the compatibility table again when you change branches.
Can Redis keep its data on object storage?
No. Our object storage is S3-compatible buckets reached with an endpoint and access keys, not a block volume, and Redis needs a local filesystem for its append-only file. Keep redis-data/ on the VPS NVMe and use buckets for restic or rclone backups of it.
Is the traffic unmetered?
Not on VPS plans. VPS Standard includes 15 TB of transfer a month, and the theoretical figures in the cost section show how far that goes. Dedicated servers have a 10 Gbps port with unmetered traffic under fair use, which suits a gateway with high or unpredictable volume.
Sources
Every fact on this page, with its source
Checked 5 Nov 2026 unless noted.
Panamanian law and authorities
- Law 81 of 26 March 2019 on personal data protection, implemented by Executive Decree 285 of 28 May 2021Gaceta Oficial 28743-A
- Law 51 of 2009, art. 6, six-month retentionGaceta Oficial 26374, 23 September 2009
- Constitution of Panama, art. 29G.O. 25176, 2004 (Legispan)
EU and other countries
- CLOUD Act executive agreements (United Kingdom and Australia only)US Department of Justice · checked 31 Oct 2026
- GDPR art. 46 and the 2021 standard contractual clausesRegulation (EU) 2016/679
Industry, providers and software
Other references
- Tyk Gateway release notes: 5.16.0 (27 October 2026), 5.13.5 (30 October 2026), 5.13.4 log redaction, Redis and Valkey compatibility tablestyk.io
- Tyk long-term support policy: 5.13 LTS windows, eight-week patch cadence, non-LTS end of lifetyk.io
- Tyk, Planning for Production: CPU-bound gateway, recommended topology, control port, strict routes, health-check cost, LimitNOFILE=80000tyk.io
- Tyk, Database Management: Redis persistence, ~1 KB analytics record, ~6 MB per 60 s at 100 req/styk.io
- Tyk OSS Gateway quick start: Docker Engine 24.0 / Compose 2.20, container UID 65532, Redis port mappingtyk.io
- Tyk Self-Managed requirements: Dashboard on MongoDB or PostgreSQL, licensed components, Developer Portal on PostgreSQLtyk.io install
- Tyk founding (London, 2014, Martin Buhr; co-founders)Business Wire, 9 December 2025
- Health endpoints moving with control_api_portTyk community forum
- Panama–United States mutual legal assistance treaty, signed 1991, in force 6 September 1995US Department of State
Your server in Panama,
ready when you are.
Cloud VPS start at $6.99 a month and are ready 60 to 120 seconds after you order.