Open grahamc opened 9 years ago
@grahamc So for now aws environments you have to implement a DataCenterInfo which provides the instance information to Eureka. I think @aspyker has some experience in running Eureka in docker. Can you chime in please @aspyker ?
@grahamc Thank you for the contribution. More will be coming, but please see http://ispyker.blogspot.com/2015/10/towards-being-better-about-open-source.html for a bit of context on the status of this project.
I'm running into an issue where I am using Prana for RabbitMQ service discovery. In the middle, we have our own sidecar for performing the actual healthcheck, as well as metric reporting.
In AWS it looks like this:
This works in AWS, because it pulls the hostname from the AWS Metadata API:
However in a non-AWS Docker container:
eureka.validateInstanceId=false
it uses Prana's IP address, like so:
Due to this, it does not seem possible to use Prana + Eureka in a non-AWS development environment.