Learn Spring Cloud

Build distributed systems with Spring Cloud

Learn Spring Cloud with Practical Examples

Modern applications increasingly rely on distributed architectures, but building and operating microservices introduces a whole new set of challenges.

In this course, we’ll learn how to use Spring Cloud to build distributed systems on top of Spring Boot, using practical patterns and tools from the Spring ecosystem.

We’ll start with centralized configuration and service discovery, then move into resilient service-to-service communication, API gateways, distributed tracing, and event-driven architecture. Finally, we’ll look at how to test interactions between services using consumer-driven contracts.

Stylized landscape with green hills and interconnected network nodes above shrubs, illustrating a data network in nature.

The essential guide to understanding the most common patterns in distributed systems and how to tackle them using Spring Cloud. The 9 modules cover distributed-system concerns like discovery, configuration, resilience, gateways, tracing, messaging, and contracts.

Everything you need to understand how to use Spring Cloud modules.

1. Introduction to Cloud-Native Architectures

3 LESSONS (Text)

  1. The Shift to Microservices
  2. Overview of the Spring Cloud Ecosystem
  3. The Project We’ll Work With

2. Centralized Configuration Management

2 LESSONS (Text)

  1. Setting Up Spring Cloud Config Server
  2. Connecting Clients to the Config Server (Preview Lesson)

3. Service Discovery and Registration

4 LESSONS (Text)

  1. Implementing a Discovery Server with Eureka
  2. Registering Microservices Clients
  3. Client-side Load balancing
  4. Health Monitoring and Clustering with Eureka

4. Resilient Inter-Service Communication

4 LESSONS (Text)

  1. Protecting Clients with Circuit Breakers (Preview Lesson)
  2. Declarative REST Clients with Spring Cloud OpenFeign
  3. OpenFeign and Circuit Breakers
  4. Handling Failures with Fallbacks

5. API Gateways

2 LESSONS (Text)

  1. Routing with Spring Cloud Gateway
  2. Gateway Filters and Cross-Cutting Concerns (Preview Lesson)

6. Distributed Observability and Tracing

3 LESSONS (Text)

  1. Implementing Micrometer Tracing
  2. Log Correlation
  3. Exporting Traces to OpenTelemetry and Zipkin

7. Event-Driven Architecture

2 LESSONS (Text)

  1. Introduction to Spring Cloud Stream
  2. Publishing and Consuming Events

8. Testing Microservices Integration

3 LESSONS (Text)

  1. Defining Contracts with Spring Cloud Contract
  2. Verifying Contracts (Producer Side)
  3. Consuming Stubs (Consumer Side)

9. Spring Cloud on Kubernetes

3 LESSONS (Text)

  1. Kubernetes Native Service Discovery
  2. Configuration with ConfigMaps
  3. Spring Cloud vs. K8s Natives: When to Use Which?

The lessons in this course are text-based, with a full project backing each one.

Access this course through Baeldung All Access

Our Full Course Library 

IntelliJ Idea Ultimate (6 months free)

JProfiler (6 months free)

All Upcoming Courses (Roadmap)

Certificates of Completion

Multiple-Choice questions in Each Lesson 

Pro Access

Yearly or the Lifetime access

Do you have a team who would benefit from taking the course?

20-Day Money Back Guarantee

I believe strongly in the quality of the course material to teach you the fundamentals of the library. I’ve put a lot of work and care into the material and hope you’re going to use it and to develop and maintain your applications.

I confidently back all courses with a 20-Day Money Back Guarantee. I want you to dive in deep and experience the full wealth of this resource without hesitation.

If the material isn’t a good fit, just contact me within 20 days of purchase, and ask for a full refund for any single course package.