Integrate with aws auto scaling group


Is it possible to register/unregister EC2 instances with the kong load balancer, as they are created/destroyed in an AWS auto scaling group? Or is there some better approach?

Thank you,


The documentation for Kong’s load balancer will give you a better idea of its possibilities. You basically have two choices:

  • serve multiple DNS records (A or SRV) for the hosts you wish to load-balance between, in which case the balancer maintains its pool of upstreams automatically.
  • register/unregister upstreams via the Admin API, in which case you would have to write scripts that do this for you (adding and removing said targets) as per your needs.

Hope this help