Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Microservices with Spring Boot and Spring Cloud
  • Table Of Contents Toc
Microservices with Spring Boot and Spring Cloud

Microservices with Spring Boot and Spring Cloud - Fourth Edition

By : Magnus Larsson
4.5 (2)
close
close
Microservices with Spring Boot and Spring Cloud

Microservices with Spring Boot and Spring Cloud

4.5 (2)
By: Magnus Larsson

Overview of this book

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.
Table of Contents (30 chapters)
close
close
Lock Free Chapter
1
Getting Started with Microservice Development Using Spring Boot
9
Leveraging Spring Cloud to Manage Microservices
17
Developing Lightweight Microservices Using Kubernetes
28
Other Books You May Enjoy
29
Index

Centralized Configuration

In this chapter, we will learn how to use Spring Cloud Config Server to centralize managing the configuration of our microservices. As already described in Chapter 1, Introduction to Microservices, an increased number of microservices typically comes with an increased number of configuration files that need to be managed and updated.

With Spring Cloud Config Server, we can place the configuration files for all our microservices in a central configuration repository, which will make it much easier to handle them. Our microservices will be updated to retrieve their configuration from the configuration server at startup.

The following topics will be covered in this chapter:

  • Introduction to Spring Cloud Config Server
  • Setting up a config server
  • Configuring clients of a config server
  • Structuring the configuration repository
  • Trying out Spring Cloud Config Server
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Microservices with Spring Boot and Spring Cloud
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon