airavata-courses / spring17-laravel-portal

Web Portal to experiment with Load Balancing
Apache License 2.0
4 stars 2 forks source link

Service Discovery for Laravel Portals #4

Closed Ameya05 closed 7 years ago

Ameya05 commented 7 years ago

Implementation of Service Discovery so that each instance of the portal, which spawns up, registers itself to the loadbalancer.

Options -

consul-template keepalived

Ameya05 commented 7 years ago

Setup base consul server for service discovery Consul dashboard accessible from - http://ec2-52-14-80-85.us-east-2.compute.amazonaws.com:8500/ui/

I came across Registrator while reading about dynamic service discovery. It basically keeps looking for docker containers on the machine it is present, and once it finds a new container spawned, it registers this in the consul registry.