Microservices with Spring Boot and Spring Cloud: Build resilient and scalable microservices using Spring Cloud, Istio, and Kubernetes - Brossura

Magnus Larsson

 
9781805801276: Microservices with Spring Boot and Spring Cloud: Build resilient and scalable microservices using Spring Cloud, Istio, and Kubernetes

Sinossi

AUGUST 2025 EDITION: Create and deploy production-grade microservices-based applications with this edition fully updated to the latest versions of Spring Boot, Java, and Spring Cloud

Key Features

  • Build cloud-native production-ready microservices and stay ahead of the curve
  • Understand the challenges of building large-scale microservice architectures
  • Learn how to get the best out of the latest updates, including Java, Spring Boot, Spring Cloud, Kubernetes, and Istio
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

Do you want to build and deploy microservices but are unsure where to begin? Check out the fully updated August 2025 edition of Microservices with Spring Boot and Spring Cloud.

Drawing from Magnus’ decades of experience, you’ll start with simple microservices and progress to complex distributed applications, learning essential functionality and deploying microservices using Kubernetes and Istio along the way.

This book covers Java 24, Spring Boot 3.5, and Spring Cloud 2025, featuring updated code examples and replacing deprecated APIs. You’ll get a clear understanding of Spring’s Ahead of Time (AOT) module, observability, distributed tracing, and Helm for Kubernetes packaging. The chapters show you how to use Docker Compose to run microservices with databases and messaging services and deploy microservices on Kubernetes with Istio. You’ll also explore persistence, resilience, reactive microservices, and API documentation with OpenAPI, as well as learn service discovery with Netflix Eureka, edge servers with Spring Cloud Gateway, and monitoring with Prometheus, Grafana, and the EFK stack.

By the end of this book, you’ll be able to confidently build scalable microservices using Spring Boot and Spring Cloud.

What you will learn

  • Build reactive microservices using Spring Boot
  • Develop resilient and scalable microservices using Spring Cloud
  • Use OAuth and Spring Security to protect public APIs
  • Implement Docker to bridge the gap between development, testing, and production
  • Deploy and manage microservices with Kubernetes
  • Apply Istio for improved security, observability, and traffic management
  • Write and run automated microservice tests with JUnit, test containers, Gradle, and bash
  • Use Spring AOT and GraalVM to compile your microservices into native executables
  • Utilize Micrometer for distributed tracing

Who this book is for

If you're a Java or Spring Boot developer learning how to build microservice landscapes from scratch, then this book is for you. Prior experience in building apps with Java or Spring Boot will help you get started with this book.

Table of Contents

  1. Introduction to Microservices
  2. Introduction to Spring Boot
  3. Creating a Set of Cooperating Microservices
  4. Deploying Our Microservices Using Docker
  5. Adding an API Description Using OpenAPI
  6. Adding Persistence
  7. Developing Reactive Microservices
  8. Introduction to Spring Cloud
  9. Adding Service Discovery Using Netflix Eureka
  10. Using Spring Cloud Gateway to Hide Microservices behind an Edge Server
  11. Securing Access to APIs
  12. Centralized Configuration
  13. Improving Resilience Using Resilience4j
  14. Understanding Distributed Tracing
  15. Introduction to Kubernetes
  16. Deploying Our Microservices to Kubernetes
  17. Implementing Kubernetes Features to Simplify the System Landscape
  18. Using a Service Mesh to Improve Observability and Management
  19. Centralized Logging with the EFK Stack
  20. Monitoring Microservices

(N.B. Please use the Read Sample option to see further chapters)

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.

Informazioni sull?autore

Magnus Larsson, an IT industry veteran since 1986, has consulted for major Swedish firms such as Volvo, Ericsson, and AstraZeneca. Despite past struggles with distributed systems, today's open source tools such as Spring Cloud, Kubernetes, and Istio offer effective solutions. For the past 10 years, Magnus has been helping customers use these tools and has shared his insights through presentations and blog posts.

Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.