To enable service discovery in our infrastructure, we need to create an instance of a service which will act as a service discovery. The Spring Cloud Eureka server enables us to achieve this task. Let's create our project. Go to Spring Initializr and fill in the information, as shown in the following screenshot:
Take a look at the required dependencies. The Eureka server is the dependency which allows us to spin up a service discovery server.
Let's open the project on IDE and start to configure it. We will do this in the following section.