Microservices – Getting Started Wth Netflix Zuul, Eureka And Ribbon Using Spring Boot 2

In this article, we are going to implement basic microservice architecture using Spring boot Netflix OSS stack. Netflix OSS is a set of tools for building microservice architecture. Netflix has developed all the tools to handle their massive amount of video streaming requests.

We will implement the basic setup of Zuul, Eureka, and Ribbon with minimal configuration. Later on, in other articles, we will add more component with advanced configuration.

Zuul API Gateway

An API gateway is the front door of your application. It acts as a layer between  API client (Web, Mobile, Other microservice) and your application server. Zuul is the API gateway developed by Netflix. It is a JVM-based router and server-side load balancer. Netflix uses Zuul for the following purposes.

  • Authentication
  • Insights
  • Stress Testing
  • Canary Testing
  • Dynamic Routing
  • Service Migration
  • Load Shedding
  • Security
  • Static Response handling
  • Active/Active traffic management

Following diagrams shows the simple architecture with and without Zuul API gateway server.

Microservice with Zuul, Ribbon, Eureka

Microservice with Zuul, Ribbon, Eureka

Read more