Book Image

Microservices with Spring Boot and Spring Cloud - Second Edition

By : Magnus Larsson
3.5 (2)
Book Image

Microservices with Spring Boot and Spring Cloud - Second Edition

3.5 (2)
By: Magnus Larsson

Overview of this book

Want to build and deploy microservices, but don’t know where to start? Welcome to Microservices with Spring Boot and Spring Cloud. This edition features the most recent versions of Spring, Java, Kubernetes, and Istio, demonstrating faster and simpler handling of Spring Boot, local Kubernetes clusters, and Istio installation. The expanded scope includes native compilation of Spring-based microservices, support for Mac and Windows with WSL2, and an introduction to Helm 3 for packaging and deployment. A revamped security chapter now follows the OAuth 2.1 specification and makes use of the newly launched Spring Authorization Server from the Spring team. You’ll start with a set of simple cooperating microservices, then add persistence and resilience, make your microservices reactive, and document their APIs using OpenAPI. Next, you’ll learn how fundamental design patterns are applied to add important functionality, such as service discovery with Netflix Eureka and edge servers with Spring Cloud Gateway. You’ll deploy your microservices using Kubernetes and adopt Istio, then explore centralized log management using the Elasticsearch, Fluentd, and Kibana (EFK) stack, and then monitor microservices using Prometheus and Grafana. By the end of this book, you'll be building scalable and robust microservices using Spring Boot and Spring Cloud.
Table of Contents (6 chapters)

PART II

Developing Lightweight Microservices Using Kubernetes

This part will help you to understand the importance of Kubernetes as a runtime platform for containerized workloads. You will learn how to set up Kubernetes in a local development environment and deploy microservices on Kubernetes. Finally, you will learn how to use some of the most important features in Kubernetes instead of the corresponding Spring Cloud features to provide a more lightweight microservice system landscape (in other words, one that is easier to maintain and manage).

This part includes the following chapters:

  • Chapter 15, Introduction to Kubernetes
  • Chapter 16, Deploying Our Microservices in Kubernetes
  • Chapter 17, Implementing Kubernetes Features to Simplify the System Landscape
  • Chapter 18, Using a Service Mesh to Improve Observability and Management
  • Chapter 19, Centralized Logging with the EFK Stack
  • Chapter 20, Monitoring Microservices