Mastering Spring Cloud

Learn how to build, test, secure, deploy, and efficiently consume services across distributed systems.
Preview in Mapt

Mastering Spring Cloud

Piotr Miล„kowski
New Release!

Learn how to build, test, secure, deploy, and efficiently consume services across distributed systems.
Mapt Subscription
FREE
โ‚ฌ29.73/m after trial
eBook
โ‚ฌ9.73
RRP โ‚ฌ39.25
Save 75%
Print + eBook
โ‚ฌ40.99
RRP โ‚ฌ40.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packtโ€™s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
โ‚ฌ0.00
โ‚ฌ9.73
โ‚ฌ40.99
โ‚ฌ29.74 p/m after trial
RRP โ‚ฌ39.25
RRP โ‚ฌ40.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Mastering Spring Cloud Book Cover
Mastering Spring Cloud
โ‚ฌ 39.25
โ‚ฌ 9.73
Machine Learning: End-to-End guide for Java developers Book Cover
Machine Learning: End-to-End guide for Java developers
โ‚ฌ 85.66
โ‚ฌ 9.73
Buy 2 for โ‚ฌ19.46
Save โ‚ฌ88.62
Add to Cart

Book Details

ISBN 139781788475433
Paperback432 pages

Book Description

Developing, deploying, and operating cloud applications should be as easy as local applications. This should be the governing principle behind any cloud platform, library, or tool. Spring Cloudโ€“an open-source libraryโ€“makes it easy to develop JVM applications for the cloud. In this book, you will be introduced to Spring Cloud and will master its features from the application developer's point of view.

This book begins by introducing you to microservices for Spring and the available feature set in Spring Cloud. You will learn to configure the Spring Cloud server and run the Eureka server to enable service registration and discovery. Then you will learn about techniques related to load balancing and circuit breaking and utilize all features of the Feign client. The book now delves into advanced topics where you will learn to implement distributed tracing solutions for Spring Cloud and build message-driven microservice architectures. Before running an application on Docker container s, you will master testing and securing techniques with Spring Cloud.

Table of Contents

Chapter 1: Introduction to Microservices
The blessings of microservices
Building microservices with Spring Framework
Cloud-native development
Learning the microservices architecture
Summary
Chapter 2: Spring for Microservices
Introducing Spring Boot
Developing applications with Spring Boot
API Documentation
Spring Boot Actuator features
Developer tools
Integrating application with database
Running the application
Summary
Chapter 3: Spring Cloud Overview
Beginning with the basics
Discovery and distributed configuration
Distributed tracing with Sleuth
Messaging and integration
Cloud platform support
Other useful libraries
Projects overview 
Release trains
Summary
Chapter 4: Service Discovery
Running Eureka on the server side
Enabling Eureka on the client side
Advanced configuration settings
Enabling secure communication between client and server
Eureka API
Replication and high availability
Zones
Summary
Chapter 5: Distributed Configuration with Spring Cloud Config
Introduction to HTTP API resources
Building a server-side application
Building a client-side application
Client-side bootstrap approaches
Repository backend types
Additional features
Reload configuration automatically
Summary
Chapter 6: Communication Between Microservices
Different styles of communication 
Synchronous communication with Spring Cloud
Load balancing with Ribbon
Using RestTemplate together with service discovery
Using Feign client
Summary
Chapter 7: Advanced Load Balancing and Circuit Breakers
Load balancing rules
Customizing the Ribbon client
The circuit breaker pattern with Hystrix
Monitoring latency and fault tolerance
Failures and the circuit breaker pattern with Feign
Summary
Chapter 8: Routing and Filtering with API Gateway
Using Spring Cloud Netflix Zuul
Using Spring Cloud Gateway
Summary
Chapter 9: Distributed Logging and Tracing
Best logging practices for microservices
Logging with Spring Boot
Centralizing logs with ELK Stack
Spring Cloud Sleuth
Summary
Chapter 10: Additional Configuration and Discovery Features
Using Spring Cloud Consul
Using Spring Cloud Zookeeper
Summary
Chapter 11: Message-Driven Microservices
Learning about Spring Cloud Stream
Building a messaging system
The publish/subscribe model
Configuration options
The advanced programming model
Using Apache Kafka
Multiple binders
Summary
Chapter 12: Securing an API
Enabling HTTPS for Spring Boot
Secure discovery
Secure configuration server
Authorization with OAuth2
Summary
Chapter 13: Testing Java Microservices
Testing strategies
Testing Spring Boot applications
Unit tests
Component tests
Integration tests
Contract tests
Performance testing
Summary
Chapter 14: Docker Support
Introducing Docker
Installing Docker
Commonly used Docker commands
Creating a Docker image with microservices
Continuous Delivery
Working with Kubernetes
Summary
Chapter 15: Spring Microservices on Cloud Platforms
Pivotal Cloud Foundry
The Heroku platform
Summary

What You Will Learn

  • Abstract Spring Cloud's feature set
  • Create microservices utilizing Spring Cloud's Netflix OSS
  • Create synchronous API microservices based on a message-driven architecture.
  • Explore advanced topics such as distributed tracing, security, and contract testing.
  • Manage and deploy applications on the production environment

Authors

Table of Contents

Chapter 1: Introduction to Microservices
The blessings of microservices
Building microservices with Spring Framework
Cloud-native development
Learning the microservices architecture
Summary
Chapter 2: Spring for Microservices
Introducing Spring Boot
Developing applications with Spring Boot
API Documentation
Spring Boot Actuator features
Developer tools
Integrating application with database
Running the application
Summary
Chapter 3: Spring Cloud Overview
Beginning with the basics
Discovery and distributed configuration
Distributed tracing with Sleuth
Messaging and integration
Cloud platform support
Other useful libraries
Projects overview 
Release trains
Summary
Chapter 4: Service Discovery
Running Eureka on the server side
Enabling Eureka on the client side
Advanced configuration settings
Enabling secure communication between client and server
Eureka API
Replication and high availability
Zones
Summary
Chapter 5: Distributed Configuration with Spring Cloud Config
Introduction to HTTP API resources
Building a server-side application
Building a client-side application
Client-side bootstrap approaches
Repository backend types
Additional features
Reload configuration automatically
Summary
Chapter 6: Communication Between Microservices
Different styles of communication 
Synchronous communication with Spring Cloud
Load balancing with Ribbon
Using RestTemplate together with service discovery
Using Feign client
Summary
Chapter 7: Advanced Load Balancing and Circuit Breakers
Load balancing rules
Customizing the Ribbon client
The circuit breaker pattern with Hystrix
Monitoring latency and fault tolerance
Failures and the circuit breaker pattern with Feign
Summary
Chapter 8: Routing and Filtering with API Gateway
Using Spring Cloud Netflix Zuul
Using Spring Cloud Gateway
Summary
Chapter 9: Distributed Logging and Tracing
Best logging practices for microservices
Logging with Spring Boot
Centralizing logs with ELK Stack
Spring Cloud Sleuth
Summary
Chapter 10: Additional Configuration and Discovery Features
Using Spring Cloud Consul
Using Spring Cloud Zookeeper
Summary
Chapter 11: Message-Driven Microservices
Learning about Spring Cloud Stream
Building a messaging system
The publish/subscribe model
Configuration options
The advanced programming model
Using Apache Kafka
Multiple binders
Summary
Chapter 12: Securing an API
Enabling HTTPS for Spring Boot
Secure discovery
Secure configuration server
Authorization with OAuth2
Summary
Chapter 13: Testing Java Microservices
Testing strategies
Testing Spring Boot applications
Unit tests
Component tests
Integration tests
Contract tests
Performance testing
Summary
Chapter 14: Docker Support
Introducing Docker
Installing Docker
Commonly used Docker commands
Creating a Docker image with microservices
Continuous Delivery
Working with Kubernetes
Summary
Chapter 15: Spring Microservices on Cloud Platforms
Pivotal Cloud Foundry
The Heroku platform
Summary

Book Details

ISBN 139781788475433
Paperback432 pages
Read More

Read More Reviews

Recommended for You

Machine Learning: End-to-End guide for Java developers Book Cover
Machine Learning: End-to-End guide for Java developers
โ‚ฌ 85.66
โ‚ฌ 9.73
Full Stack Development with JHipster Book Cover
Full Stack Development with JHipster
โ‚ฌ 35.68
โ‚ฌ 9.73
Java: Data Science Made Easy Book Cover
Java: Data Science Made Easy
โ‚ฌ 77.33
โ‚ฌ 9.73
Switching to Angular - Third Edition Book Cover
Switching to Angular - Third Edition
โ‚ฌ 27.35
โ‚ฌ 9.73
ROS Robotics By Example - Second Edition Book Cover
ROS Robotics By Example - Second Edition
โ‚ฌ 45.20
โ‚ฌ 9.73
Master Microservices with Spring Boot and Spring Cloud [Video] Book Cover
Master Microservices with Spring Boot and Spring Cloud [Video]
โ‚ฌ 196.33
โ‚ฌ 9.74