Skip to Content
Microservices with Spring Boot and Spring Cloud - Second Edition
book

Microservices with Spring Boot and Spring Cloud - Second Edition

by Magnus Larsson
July 2021
Beginner to intermediate content levelBeginner to intermediate
774 pages
16h 47m
English
Packt Publishing
Content preview from Microservices with Spring Boot and Spring Cloud - Second Edition

10

Using Spring Cloud Gateway to Hide Microservices behind an Edge Server

In this chapter, we will learn how to use Spring Cloud Gateway as an edge server, to control what APIs are exposed from our microservices-based system landscape. We will see how microservices that have public APIs are made accessible from the outside through the edge server, while microservices that have private APIs are only accessible from the inside of the microservice landscape. In our system landscape, this means that the product composite service and the discovery server, Netflix Eureka, will be exposed through the edge server. The three core services, product, recommendation, and review, will be hidden from the outside.

The following topics will be covered in this ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Microservices with Spring Boot and Spring Cloud

Hands-On Microservices with Spring Boot and Spring Cloud

Magnus Larsson

Publisher Resources

ISBN: 9781801072977Supplemental Content