Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer – no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Microservices with Spring Boot and Spring Cloud: Build resilient and scalable microservices using Spring Cloud, Istio, and Kubernetes, 2nd Edition Paperback – 29 July 2021
Purchase options and add-ons
THIS BOOK IS OUTDATED: A new and updated version of this book is available. You can find the link further down on this page.
Key Features
- Build cloud-native production-ready microservices with this comprehensively updated guide
- Understand the challenges of building large-scale microservice architectures
- Learn how to get the best out of Spring Cloud, Kubernetes, and Istio in combination
Book Description
THIS BOOK IS OUTDATED: A new and updated version of this book is available. You can find the link further down on this page.
The expanded scope includes native compilation of Spring-based microservices, support for Windows & Mac, 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.
Starting with a set of simple cooperating microservices, you'll add persistence and resilience, make your microservices reactive, and document their APIs using Swagger/OpenAPI.
You'll understand 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 learn how to deploy your microservices using Kubernetes and adopt Istio. You'll explore centralized log management using the Elasticsearch, Fluentd, and Kibana (EFK) stack and monitor microservices using Prometheus and Grafana.
By the end of this book, you'll be confident in building microservices that are scalable and robust 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 manual and automated microservice tests with JUnit, testcontainers, Gradle, and bash
Who this book is for
This book is intended for Java and Spring developers and architects who want to learn how to build microservice landscapes from the ground up and deploy them either on-premises or in the cloud, using Kubernetes as a container orchestrator and Istio as a service mesh.
No familiarity with microservices architecture is required to get started with this book.
- Print length774 pages
- LanguageEnglish
- PublisherPackt Publishing
- Publication date29 July 2021
- Dimensions19.05 x 4.45 x 23.5 cm
- ISBN-101801072973
- ISBN-13978-1801072977
There is a newer edition of this item:
USD 48.58
(14)
Available to ship in 1-2 days
Product description
About the Author
Magnus Larsson has been in the IT industry for more than 30 years, working as a consultant for large companies in Sweden such as Volvo, Ericsson, and AstraZeneca. He has seen a lot of different communication technologies come and go over the years, such as RPC, CORBA, SOAP, and REST. In the past, he struggled with the challenges associated with distributed systems as there was no substantial help from the software available at that time. This has, however, changed dramatically over the last few years with the introduction of open source projects such as Spring Cloud, Netflix OSS, Docker, and Kubernetes. Over the last five years, Magnus has been helping customers use these new software technologies and has also done several presentations and blog posts on the subject.
Product details
- Publisher : Packt Publishing
- Publication date : 29 July 2021
- Edition : 2nd
- Language : English
- Print length : 774 pages
- ISBN-10 : 1801072973
- ISBN-13 : 978-1801072977
- Item weight : 1.31 kg
- Dimensions : 19.05 x 4.45 x 23.5 cm
- Best Sellers Rank: 4,042,211 in Books (See Top 100 in Books)
- 5,898 in Web Scripting & Programming
- 8,359 in Software Design & Development
- 8,425 in Computing & Internet for Professionals
- Customer reviews:
About the author

Magnus Larsson, an IT industry veteran since 1986, has consulted for major Swedish firms like Volvo, Ericsson, and AstraZeneca. In the past, he struggled with the challenges associated with distributed systems. Today, these challenges can be handled with open-source tools such as Spring Cloud, Kubernetes, and Istio. For the past eight years, Magnus has been helping customers use these tools and shared insights through presentations and blog posts.
Customer reviews
Customer Reviews, including Product Star Ratings, help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyses reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from United Kingdom
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United Kingdom on 28 January 2023Format: PaperbackThe author doesn't mention the fantastic Spring REST data project, that automatically generates all the controllers and routes to expose a data repository over REST. Maybe that's because if he'd mentioned it the book would only be half as long.
- Reviewed in the United Kingdom on 3 December 2023Format: PaperbackVerified PurchaseJust loads of code to build a sample app, few diagrams or more abstract explanations. Total waste of money
Top reviews from other countries
Sandeep TiwariReviewed in India on 29 November 20215.0 out of 5 stars Excellent book
Format: PaperbackVerified PurchaseBest book for microservice, also great team to clear your doubts and queries
Amazon CustomerReviewed in Germany on 11 November 20215.0 out of 5 stars Invaluable!
Format: Kindle EditionVerified PurchaseThis is one of my favorite books on Spring Boot microservices altogether and the second edition covers even more topics than the first, updated to Fall 2021. It is one thing to learn about the concepts and technologies and do some tutorials, but it's quite another thing to apply this to a real world application. This book puts it all together in a hands-on fashion and has proven virtually invaluable for our team venturing into that area. Expect a steep learning curve, though, as the matter is complicated. In part I you'll develop a simple set of core services plus one composite, from simple to reactive and message-based. In the following parts, you learn how to deploy them utilizing Spring Cloud, Docker, Kubernetes, Istio and such, the amount of technologies involved is huge and comprehensive. I would recommend to write your own microservice set for a slightly different domain (I did so in Kotlin) and use the book's code examples as a reference, as you learn best from doing mistakes, but it's worth it. Besides, the code contains many practical recipes, hints and solutions, including testing. A book like this cannot be a one-stop of course, but it gives you a good overview of things while being as concise as possible. We are grateful to the author he spent the effort writing it.
-
Miguel Angel Salinas GancedoReviewed in Spain on 23 November 20215.0 out of 5 stars Muy completo
Format: PaperbackVerified PurchasePosiblemente el mejor libro práctico de springboot y microservicios que exista. Explica muy bien todo el ciclo de desarrolo a la hora de desarrollar un proyecto con microservicios, poniendo todos los casos lo que no se debe hacer y lo que si se debe hacer. La parte de testing así como las herramientas asociadas a un proyecto real: Istio y monotirización también está explicado. sin duda se nota la experiencia del autor con esta temática.
bluelightReviewed in the United States on 1 November 20225.0 out of 5 stars Best book on micro services, period!
Format: PaperbackVerified PurchaseHave to admit - this book exceeded my expectations by a big margin. I do not think there is any better practical introduction to the micro services out there. Shows typical micro service evolution and how-to make it state of the art. "Micro" is very deceiving, the real production grade micro service is not a cup cake!
Ermiyas KidaneReviewed in Canada on 7 July 20235.0 out of 5 stars Simple explanation
Format: PaperbackVerified PurchaseEasier to understand

