How to syn 2 tyk open source gateway?

Hi,

I deployed 2 tyk open source gateways (at 2 servers), and they are fronted by a load balancer (HA Proxy; another server). And I have configured the load balancer to round-robin to these tyk gateways.

However, I noticed that every time when I create an API in Tyk, I have to call the POST method to create the api at both tyk servers.

Is there any method to sync these 2 tyk gateways? Like when I call the POST method at one tyk server, it will create the api at another tyk server also.

Regards,

Maan Tarng

Hi!

Thats the nature of OSS version. Thats why we sell Dashboard and Operator, which handle multi-gateway much easier :slight_smile:

For pure OSS, I can recommend you to either use files for API definition and Policies, and somehow sync them, or have some script which simulare this “orchestration”.

Hi @leon

Thanks for your help and information.

Regards,

Maan Tarng