Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring Cloud Services - Eureka

I am trying to learn microservices using Spring and Spring Boot, and learning to deploy into cloud platform. I am planning to create an Angular 2 frontend application which communicates with my deployed microservice. Now I just going through Spring cloud services Eureka, Zuul, circuit breakers, etc.

  1. When I reading I found that Eureka is using for service registry for finding services each other. Here my doubt is that when I am communicating from my Angular 2 http request, I need to use these service registering?
  2. What cloud configuration I need to follow to make a REST API to microservice? I am getting confused how I need to push my sample microservice to cloud, since I am a beginner.
like image 522
Mr.DevEng Avatar asked Dec 06 '25 00:12

Mr.DevEng


1 Answers

No...your frontend app should talk to Zuul which is already registered to Eureka and can query it to find the right backend server you need.

I wrote about it, hope it helps

like image 183
Luiz E. Avatar answered Dec 07 '25 16:12

Luiz E.