Sample project using Eureka and Spring Boot 2
This source code includes two projects with proper configuration to execute:
If you want to read the complete guide, it's available for free at The Practical Developer site:
Spring Boot Service Discovery with Eureka Peer Awareness