3
votes

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.
1

1 Answers

4
votes

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