Microservices with Spring Boot and Spring Cloud - Fourth Edition: Build resilient and scalable microservices using Spring Cloud, Istio, and Kubernetes
暫譯: 使用 Spring Boot 和 Spring Cloud 的微服務 - 第四版:利用 Spring Cloud、Istio 和 Kubernetes 建立具韌性和可擴展的微服務

Larsson, Magnus

  • 出版商: Packt Publishing
  • 出版日期: 2025-08-11
  • 售價: $1,840
  • 貴賓價: 9.5$1,748
  • 語言: 英文
  • 頁數: 810
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1805801279
  • ISBN-13: 9781805801276
  • 相關分類: Microservices 微服務
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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 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

- Introduction to Microservices

- Introduction to Spring Boot

- Creating a Set of Cooperating Microservices

- Deploying Our Microservices Using Docker

- Adding an API Description Using OpenAPI

- Adding Persistence

- Developing Reactive Microservices

- Introduction to Spring Cloud

- Adding Service Discovery Using Netflix Eureka

- Using Spring Cloud Gateway to Hide Microservices behind an Edge Server

- Securing Access to APIs

- Centralized Configuration

- Improving Resilience Using Resilience4j

- Understanding Distributed Tracing

- Introduction to Kubernetes

- Deploying Our Microservices to Kubernetes

- Implementing Kubernetes Features to Simplify the System Landscape

- Using a Service Mesh to Improve Observability and Management

- Centralized Logging with the EFK Stack

- Monitoring Microservices

- Installation Instructions for macOS

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

商品描述(中文翻譯)

**2025 版:使用本版完全更新至最新版本的 Spring Boot、Java 和 Spring Cloud,創建和部署生產級微服務應用程式**

**主要特點:**
- 建立雲原生的生產就緒微服務,保持領先地位
- 理解構建大規模微服務架構的挑戰
- 學習如何充分利用最新更新,包括 Java、Spring Boot、Spring Cloud、Kubernetes 和 Istio
- 購買印刷版或 Kindle 書籍可獲得免費 PDF 電子書

**書籍描述:**
您想要構建和部署微服務,但不確定從何開始?請查看完全更新的 2025 版《使用 Spring Boot 和 Spring Cloud 的微服務》。

根據 Magnus 數十年的經驗,您將從簡單的微服務開始,逐步進入複雜的分散式應用程式,學習基本功能並在此過程中使用 Kubernetes 和 Istio 部署微服務。

本書涵蓋 Java 24、Spring Boot 3.5 和 Spring Cloud 2025,特別提供更新的程式碼範例並替換已棄用的 API。您將清楚理解 Spring 的 Ahead of Time (AOT) 模組、可觀察性、分散式追蹤以及 Kubernetes 打包的 Helm。各章節將展示如何使用 Docker Compose 運行帶有資料庫和消息服務的微服務,並使用 Istio 在 Kubernetes 上部署微服務。您還將探索持久性、彈性、反應式微服務和使用 OpenAPI 的 API 文檔,並學習使用 Netflix Eureka 進行服務發現、使用 Spring Cloud Gateway 隱藏微服務於邊緣伺服器,以及使用 Prometheus、Grafana 和 EFK 堆疊進行監控。

在本書結束時,您將能夠自信地使用 Spring Boot 和 Spring Cloud 構建可擴展的微服務。

**您將學到的內容:**
- 使用 Spring Boot 構建反應式微服務
- 使用 Spring Cloud 開發彈性和可擴展的微服務
- 使用 OAuth 和 Spring Security 保護公共 API
- 實施 Docker 以縮短開發、測試和生產之間的差距
- 使用 Kubernetes 部署和管理微服務
- 應用 Istio 以改善安全性、可觀察性和流量管理
- 使用 JUnit、自動化測試容器、Gradle 和 bash 編寫和運行自動化微服務測試
- 使用 Spring AOT 和 GraalVM 將微服務編譯為原生可執行檔
- 利用 Micrometer 進行分散式追蹤

**本書適合誰:**
如果您是 Java 或 Spring Boot 開發人員,正在學習如何從零開始構建微服務架構,那麼本書適合您。先前使用 Java 或 Spring Boot 構建應用程式的經驗將幫助您更快地開始閱讀本書。

**目錄**
- 微服務簡介
- Spring Boot 簡介
- 創建一組協作的微服務
- 使用 Docker 部署我們的微服務
- 使用 OpenAPI 添加 API 描述
- 添加持久性
- 開發反應式微服務
- Spring Cloud 簡介
- 使用 Netflix Eureka 添加服務發現
- 使用 Spring Cloud Gateway 隱藏微服務於邊緣伺服器
- 確保 API 的訪問安全
- 集中配置
- 使用 Resilience4j 改善彈性
- 理解分散式追蹤
- Kubernetes 簡介
- 將我們的微服務部署到 Kubernetes
- 實施 Kubernetes 功能以簡化系統架構
- 使用服務網格改善可觀察性和管理
- 使用 EFK 堆疊進行集中日誌記錄
- 監控微服務
- macOS 安裝說明

(注意:請使用「閱讀範本」選項查看後續章節)