I'm looking for a good discovery service to use in a growing, privately-hosted microservice architecture.
Netflix's Eureka looks promising. It says it is "primarily used in the AWS cloud for locating services", but I can't figure out whether it can be used outside AWS or not. A cursory glance at the POMs revealed that there are AWS dependencies included in the project.
Can Eureka (or a useful subset of it) be used outside AWS as a discovery service?
According to the Eureka wiki (https://github.com/Netflix/eureka/wiki), the Eureka 2.0 has been discontinued. The open source work on eureka 2.0 has been discontinued. The code base and artifacts that were released as part of the existing repository of work on the 2. x branch is considered use at your own risk.
With Netflix Eureka, each client can simultaneously act as a server to replicate its status to a connected peer. In other words, a client retrieves a list of all connected peers in a service registry, and makes all further requests to other services through a load-balancing algorithm.
Netflix Eureka is a REST based middleware designed for discovery and load balancing of web applications.
Eureka is a REST (Representational State Transfer) based service that is primarily used in the AWS cloud for locating services for the purpose of load balancing and failover of middle-tier servers. Eureka is a tool in the Open Source Service Discovery category of a tech stack.
Yes, It can be used outside AWS. One just needs to change a few configuration options. Specifically, the dataCenterInfo option to let the server know that its in a non-AWS environment.
Have a look at https://github.com/Netflix/eureka/wiki/Configuring-Eureka to see how this can be done.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With