Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Netflix's Eureka be used outside AWS?

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?

like image 218
Graham Lea Avatar asked Apr 11 '14 02:04

Graham Lea


People also ask

Does Netflix still use Eureka?

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.

What are the some key advantages of Netflix Eureka?

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.

What is the purpose of Netflix Eureka?

Netflix Eureka is a REST based middleware designed for discovery and load balancing of web applications.

Is Eureka Server Open Source?

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.


1 Answers

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.

like image 71
Trace Avatar answered Sep 18 '22 15:09

Trace