Microservices with Spring Boot 3 and Spring Cloud 2nd ed. Edition
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.
About the Author
Magnus Larsson, an IT industry veteran since 1986, has consulted for major Swedish firms like Volvo, Ericsson, and AstraZeneca. Despite past struggles with distributed systems, today's open-source tools like Spring Cloud, Kubernetes, and Istio offer effective solutions. For the past eight years, Magnus has been helping customers use these tools and shared insights through presentations and blog posts.
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
- Installation Instructions for Microsoft Windows with WSL 2 and Ubuntu
- Native Compiled Java Microservices
Інформація про книгу | |
Автор | Magnus Larsson |
Обкладинка | М'який |
Рік видання | 2023 |
Сторінок | 706 |