Tyk intergate with Consul

Hi all,

I’m new with Microservices and Tyk. I have a task that setup a development environment on AWS which use Tyk as API Gateway, Consul as Service Dicovery, Registrator as register and Docker.

I’ve build a test environment on my VM as follow:

  • Tyk:
  • Consul cluster with 3 node:
  • Consul client (a docker host with Registrator running):

I’ve success setup Consul and Regitrator to provide service discovery, but don’t know how to integrate with Tyk. I’ve read Tyk document to use with Service Discovery but it’s really confuse, i don’t know how to fill in the fields.

So anyone has suggestion, a keyword for googling or an example please help.


Hi Vu,

Apologies for the delayed response. Just to confirm, did you have a look at these docs regarding Service Discovery? If so, was there a particular field that you were unsure of? I’m not sure if this will help but Consul do have some documentation regarding their HTTP API which might help you to decide which endpoint to use in your case.

Kind regards,
Jess @ Tyk