Microservices with Spring Boot 3 and Spring Cloud - Third Edition: Build resilient and scalable microservices using Spring Cloud, Istio, and Kubernete

Larsson, Magnus



Create and deploy production-grade microservices-based applications with this latest edition updated to Spring Boot 3, Java 17, and Spring Cloud 2022

Purchase of the print or Kindle book includes a free PDF eBook

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 Spring Boot 3, Spring Cloud, Kubernetes, and Istio

Book Description:

Looking to build and deploy microservices but not sure where to start? Check out Microservices with Spring Boot 3 and Spring Cloud, Third Edition.

With a practical approach, you'll begin with simple microservices and progress to complex distributed applications. Learn essential functionality and deploy microservices using Kubernetes and Istio.

This book covers Java 17, Spring Boot 3, and Spring Cloud 2022. Java EE packages are replaced with the latest Jakarta EE packages. Code examples are updated and deprecated APIs have been replaced, providing the most up to date information. Gain knowledge of Spring's AOT module, observability, distributed tracing, and Helm 3 for Kubernetes packaging.

Start with Docker Compose to run microservices with databases and messaging services. Progress to deploying microservices on Kubernetes with Istio. Explore persistence, resilience, reactive microservices, and API documentation with OpenAPI. Learn service discovery with Netflix Eureka, edge servers with Spring Cloud Gateway, and monitoring with Prometheus, Grafana, and the EFK stack.

By the end, you'll 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 2.1/OIDC 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 native compile the microservices
  • Use Micrometer Tracing 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. To get started, you need some prior experience in building apps with Java or Spring Boot.


使用最新的Spring Boot 3、Java 17和Spring Cloud 2022,創建並部署生產級基於微服務的應用程序。


- 構建雲原生的生產就緒的微服務,保持領先優勢
- 了解構建大規模微服務架構的挑戰
- 學習如何充分利用最新的更新,包括Spring Boot 3、Spring Cloud、Kubernetes和Istio

想要構建和部署微服務,但不確定從何處開始?請查看《使用Spring Boot 3和Spring Cloud的微服務,第三版》。


本書涵蓋Java 17、Spring Boot 3和Spring Cloud 2022。 Java EE包已被最新的Jakarta EE包替換。代碼示例已更新,並替換了已棄用的API,提供最新的信息。瞭解Spring的AOT模塊、可觀察性、分佈式跟踪和Helm 3用於Kubernetes打包。

從使用Docker Compose運行帶有數據庫和消息服務的微服務開始。然後使用Istio在Kubernetes上部署微服務。探索持久性、彈性、反應式微服務和使用OpenAPI進行API文檔編寫。使用Netflix Eureka進行服務發現,使用Spring Cloud Gateway進行邊緣服務器,使用Prometheus、Grafana和EFK堆棧進行監控。

最終,您將使用Spring Boot和Spring Cloud構建可擴展的微服務。

- 使用Spring Boot構建反應式微服務
- 使用Spring Cloud開發具有彈性和可擴展性的微服務
- 使用OAuth 2.1/OIDC和Spring Security保護公共API
- 實施Docker以彌合開發、測試和生產之間的差距
- 使用Kubernetes部署和管理微服務
- 應用Istio以提高安全性、可觀察性和流量管理
- 使用JUnit、測試容器、Gradle和bash編寫和運行自動化的微服務測試
- 使用Spring AOT和GraalVM對微服務進行本地編譯
- 使用Micrometer Tracing進行分佈式跟踪

本書適合Java或Spring Boot開發人員,他們想要從頭開始構建微服務架構。要開始,您需要一些使用Java或Spring Boot構建應用程序的經驗。