Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Master Microservices with Spring Boot and Spring Cloud
Master Microservices with Spring Boot and Spring Cloud

Master Microservices with Spring Boot and Spring Cloud: Java Spring Boot Microservices 5-in-1: Spring Boot, Spring Cloud, Docker, Kubernetes and REST API

Arrow left icon
Profile Icon In28Minutes Official
Arrow right icon
$19.99 per month
Video Apr 2024 24hrs 26mins 1st Edition
Video
$84.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon In28Minutes Official
Arrow right icon
$19.99 per month
Video Apr 2024 24hrs 26mins 1st Edition
Video
$84.99
Subscription
Free Trial
Renews at $19.99p/m
Video
$84.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Key benefits

  • Detailed exploration of Spring Boot and Spring Cloud for robust microservice development.
  • Practical application of containerization with Docker and orchestration with Kubernetes.
  • Advanced microservices patterns including service discovery, load balancing, and circuit breakers.

Description

Beginning with the basics, this course covers the core principles of microservices architecture, contrasting it with traditional monolithic structures to highlight its modern software development benefits. You'll learn the process of breaking down complex applications into manageable, modular services that can be developed, deployed, and scaled independently. As the course unfolds, you'll delve into the creation of microservices using Spring Boot, exploring its convention over configuration philosophy that speeds up development time without sacrificing power or flexibility. With Spring Cloud, master the management of your microservices ecosystem, covering service discovery with Netflix Eureka, client-side load balancing with Ribbon, and implementing API gateways for efficient service-to-service communication. Advanced topics include ensuring microservices resilience with Resilience4J, where you'll tackle patterns like circuit breakers and bulkheads to design fault-tolerant systems. Gain hands-on experience with deploying microservices in containerized environments using Docker and orchestrating them with Kubernetes, preparing you for the cloud-native landscape. By the end of this course, you will have a solid foundation in microservices, along with the skills to design, develop, and deploy microservices applications confidently.

Who is this book for?

This course is for individuals at both beginner and experienced levels who want to learn how to design and develop RESTful web services with Spring Boot, and design and develop microservices with Spring Cloud. Apart from this, enthusiasts who want to learn to build containers for microservices with Docker and orchestrate microservices with Kubernetes. The basic requirement for this course is the attitude to learn while having fun. This course is designed for students with zero experience with either of the technologies – Java, Spring Boot, Spring Cloud, Docker, and Kubernetes.

What you will learn

  • Create and manage microservices using Spring Boot and Spring Cloud
  • Utilize Docker and Kubernetes for microservices deployment
  • Apply Spring Security for authentication and authorization
  • Understand and implement Eureka, Ribbon, Feign, and Hystrix
  • Configure and manage microservices with Spring Cloud Config
  • Enhance microservices with centralized logging and monitoring

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Last updated date : Apr 17, 2024
Publication date : Mar 27, 2018
Length: 24hrs 26mins
Edition : 1st
Language : English
ISBN-13 : 9781789132779
Languages :
Concepts :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Last updated date : Apr 17, 2024
Publication date : Mar 27, 2018
Length: 24hrs 26mins
Edition : 1st
Language : English
ISBN-13 : 9781789132779
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 259.97
Microservices with Spring Cloud
$130.99
Master Microservices with Spring Boot and Spring Cloud
$84.99
Spring: Microservices with Spring Boot
$43.99
Total $ 259.97 Stars icon
Banner background image

Table of Contents

15 Chapters
Introduction Chevron down icon Chevron up icon
Introduction to Web Services Chevron down icon Chevron up icon
RESTful Web Services with Spring Boot Chevron down icon Chevron up icon
Section Introduction - RESTful Web Services with Spring Boot
Step 01 - Initializing a RESTful Services Project with Spring Boot
Step 02 - Understanding the RESTful Services We will Create in this Course
Step 03 - Creating a Hello World Service
Step 04 - Enhancing the Hello World Service to Return a Bean
Step 05 - Quick Review of Spring Boot Auto Configuration and Dispatcher Servlet
Step 06 - Enhancing the Hello World Service with a Path Variable
Step 07 - Creating User Bean and User Service
Step 08 - Implementing GET Methods for User Resource
Step 09 - Implementing POST Method to Create User Resource
Step 10 - Enhancing POST Method to Return Correct HTTP Status Code and Location
Step 11 - Implementing Exception Handling - 404 Resource Not Found
Step 12 - Implementing Generic Exception Handling for All Resources
Step 13 - Exercise: User Post Resource and Exception Handling
Step 14 - Implementing DELETE Method to Delete a User Resource
Step 15 - Implementing Validations for RESTful Services
Step 16 - Implementing HATEOAS for RESTful Services
Step 17 - Overview of Advanced RESTful Service Features
Step 18 - Internationalization for RESTful Service
Step 18 Part 2 - Internationalization for RESTful Services
Step 19 - Content Negotiation - Implementing Support for XML
Step 20 - Configuring Auto Generation of Swagger Documentation
Step 21 - Introduction to Swagger Documentation Format
Step 22 - Enhancing Swagger Documentation with Custom Annotations
Step 23 - Monitoring APIs with Spring Boot Actuator
Step 24 - Implementing Static Filtering for RESTful Service
Step 25 - Implementing Dynamic Filtering for RESTful Service
Step 26 - Versioning RESTful Services - Basic Approach with URIs
Step 27 - Versioning RESTful Services - Header and Content Negotiation Approach
Step 28 - Implementing Basic Authentication with Spring Security
Step 29 - Overview of Connecting RESTful Service to JPA
Step 30 - Creating User Entity and Some Test Data
Step 31 - Updating GET Methods on User Resource to Use JPA
Step 32 - Updating POST and DELETE Methods on User Resource to Use JPA
Step 33 - Creating Post Entity and Many to One Relationship with User Entity
Step 34 - Implementing a GET Service to Retrieve All Posts of a User
Step 35 - Implementing a POST Service to Create a Post for a User
Step 36 - Richardson Maturity Model
Step 37 - RESTful Web Services - Best Practices
Quick Introduction to Microservices Chevron down icon Chevron up icon
Microservices with Spring Cloud - V1 Chevron down icon Chevron up icon
Next Section Uses Latest Version of Spring Boot
Step 01 - Part 1 - Introduction to Limits Microservice and Spring Cloud Config Server
Step 01 - Part 2 - Setting Up Limits Microservice
Step 02 - Creating a Hard Coded Limits Service
Step 03 - Enhance Limits Service to Get Configuration from Application Properties
Step 04 - Setting Up Spring Cloud Config Server
Step 05 - Installing Git
Step 06 - Creating Local Git Repository
Step 07 - Connect Spring Cloud Config Server to Local Git Repository
Step 08 - Configuration for Multiple Environments in Git Repository
Step 09 - Connect Limits Service to Spring Cloud Config Server
Step 10 - Configuring Profiles for Limits Service
Step 11 - A Review of Spring Cloud Config Server
Step 12 - Introduction to Currency Conversion and Currency Exchange Microservice
Step 13 - Setting Up Currency Exchange Microservice
Step 14 - Create a Simple Hard Coded Currency Exchange Service
Step 15 - Setting Up Dynamic Port in the Response
Step 16 - Configure JPA and Initialized Data
Step 17 - Create a JPA Repository
Step 18 - Setting Up Currency Conversion Microservice
Step 19 - Creating a Service for Currency Conversion
Step 20 - Invoking Currency Exchange Microservice from Currency Conversion Micro
Step 21 - Using Feign REST Client for Service Invocation
Step 22 - Setting Up Client-Side Load Balancing with Ribbon
Step 23 - Running Client-Side Load Balancing with Ribbon
Step 24 - Understand the Need for a Naming Server
Step 25 - Setting Up Eureka Naming Server
Step 26 - Connecting Currency Conversion Microservice to Eureka
Step 27 - Connecting Currency Exchange Microservice to Eureka
Step 28 - Distributing Calls Using Eureka and Ribbon
Step 29 - A Review of Implementing Eureka, Ribbon, and Feign
Step 30 - Introduction to API Gateways
Step 31 - Setting Up Zuul API Gateway
Step 32 - Implementing Zuul Logging Filter
Step 33 - Executing a Request through Zuul API Gateway
Step 34 - Setting Up Zuul API Gateway Between Microservice Invocations
Step 35 - Introduction to Distributed Tracing
Step 36 - Implementing Spring Cloud Sleuth
Step 37 - Introduction to Distributed Tracing with Zipkin
Step 38 - Installing Rabbit MQ
Step 39 - Setting Up Distributed Tracing with Zipkin
Step 40 - Connecting Microservices to Zipkin
Step 41 - Using Zipkin UI Dashboard to Trace Requests
Step 42 - Understanding the Need for Spring Cloud Bus
Step 43 - Implementing Spring Cloud Bus
Step 44 - Fault Tolerance with Hystrix
Microservices with Spring Cloud - V2 Chevron down icon Chevron up icon
What's NEW in V2?
Have You Already Completed V1?
Step 01 - Setting Up Limits Microservice – V2
Step 02 - Creating a Hard Coded Limits Service – V2
Step 03 - Enhance Limits Service - Get Configuration from Application Props - V2
Step 04 - Setting Up Spring Cloud Config Server - V2
Step 05 - Installing Git and Creating Local Git Repository - V2
Step 06 - Connect Spring Cloud Config Server to Local Git Repository - V2
Step 07 - Connect Limits Service to Spring Cloud Config Server - V2
Step 08 - Configuring Profiles for Limits Service - V2
Debugging Guide for Microservices V2 + Docker + Docker Compose
Step 09 - Introduction to Currency Conversion and Exchange Microservices - V2
Step 10 - Setting Up Currency Exchange Microservice - V2
Step 11 - Create a Simple Hard Coded Currency Exchange Service - V2
Step 12 - Setting Up Dynamic Port in the Response - V2
Step 13 - Configure JPA and Initialized Data - V2
Step 14 – Create a JPA Repository – V2
Step 15 - Setting Up Currency Conversion Microservice - V2
Step 16 - Creating a Service for Currency Conversion - V2
Step 17 - Invoking Currency Exchange from Currency Conversion Microservice - V2
Step 18 - Using Feign REST Client for Service Invocation - V2
Step 19 - Understand Naming Server and Setting Up Eureka Naming Server - V2
Step 20 - Connect Currency Conversion and Currency Exchange Microservices - V2
Step 21 - QuickStart by Importing Microservices
Step 22 - Load Balancing with Eureka, Feign, and Spring Cloud LoadBalancer - V2
Step 22 - Setting Up Spring Cloud API Gateway
Step 23 - Enabling Discovery Locator with Eureka for Spring Cloud Gateway
Step 24 - Exploring Routes with Spring Cloud Gateway
Step 25 - Implementing spring Cloud Gateway Logging Filter
Step 26 - Getting Started with Circuit Breaker - Resilience4j
Step 27 - Playing with Resilience4j - Retry and Fallback Methods
Step 28 - Playing with Circuit Breaker Features of Resilience4j
Step 29 - Exploring Rate Limiting and BulkHead Features of Resilience4j - V2
Debugging Guide for Microservices V2 + Docker + Docker Compose
Docker with Microservices Using Spring Boot and Spring Cloud - V2 Chevron down icon Chevron up icon
Kubernetes with Microservices using Docker, Spring Boot, and Spring Cloud - V2 Chevron down icon Chevron up icon
Step 00 - Docker, Kubernetes, and Microservices - Made for Each Other
Step 01 - Getting Started with Docker, Kubernetes, and Google Kubernetes Engine
Step 02 - Creating Google Cloud Account
Step 03 - Creating Kubernetes Cluster with Google Kubernete Engine (GKE)
Step 04 - Review Kubernetes Cluster and Learn Few Fun Facts about Kubernetes
Step 05 - Deploy Your First Spring Boot Application to Kubernetes Cluster
Step 06 - Quick Look at Kubernetes Concepts - Pods, Replica Sets, and Deployment
Step 07 - Understanding Pods in Kubernetes
Step 08 - Understanding Replica Sets in Kubernetes
Step 09 - Understanding Deployment in Kubernetes
Step 10 - Quick Review of Kubernetes Concepts - Pods, Replica Sets, and Deployments
Step 11 - Understanding Services in Kubernetes
Step 12 - Quick Review of GKE on Google Cloud Console
Installing Gcloud
Installing Kubectl
Step 13 - Understanding Kubernetes Architecture - Master Node and Nodes
Step 14 - Set Up Currency Exchange and Conversion Microservices - Kubernetes
Step 15 - Container Images for Exchange and Currency Conversion Microservices
Step 16 - Deploy Microservices to Kubernetes and Understand Service Discovery
Step 17 - Creating Declarative Configuration Kubernetes YAML for Microservices
Step 18 - Clean Up Kubernetes YAML for Microservices
Step 19 - Enable Logging and Tracing APIs in Google Cloud Platform
Step 20 - Deploying Microservices Using Kubernetes YAML Configuration
Step 21 - Playing with Kubernetes Declarative YAML Configuration
Step 22 - Creating Environment Variables to Enable Microservice Communication
Step 23 - Understanding Centralized Configuration in Kubernetes - Config Maps
Step 24 - Exploring Centralized Logging and Monitoring in GKE
Step 25 - Exploring Microservices Deployments with Kubernetes
Step 26 - Configuring Liveness and Readiness Probes for Microservices with K8S
Step 27 - Autoscaling Microservices with Kubernetes
Step 28 - Delete Kubernetes Cluster and Thank You!
Appendix - Introduction to Spring Boot in 12 Steps Chevron down icon Chevron up icon
Appendix - Introduction to JUnit Chevron down icon Chevron up icon
Appendix - Introduction To Mockito Chevron down icon Chevron up icon
Appendix - Introduction to Maven Chevron down icon Chevron up icon
Appendix - Introduction to Gradle Chevron down icon Chevron up icon
Appendix - Introduction to JPA in 10 Steps - V2 Chevron down icon Chevron up icon
APPENDIX - Introduction to Functional Programming in 30 Minutes Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.