Spring Boot Microservices: Small Services, Big Results [Tutorials and Articles]
Tutorials from expert developers and architects demonstrating how to build microservices with Spring Boot and dockerize these Spring Boot microservices.
Join the DZone community and get the full member experience.Join For Free
In this post, we go through the best Spring Boot microservices tutorials on DZone. Whether you're new to microservices and/or Spring Boot or an expert in both, there's an article here for you. These tutorials will take you through getting started with Spring Boot and microservices, how to build your own microservice using Spring Boot, and how to dockerize and deploy your Spring Boot microservices.
Spring Boot Microservices Tutorials
Event-Driven Microservices With Spring Boot and ActiveMQ by Swathi Prasad. A guide to using Spring Boot and ActiveMQ for event-driven microservices; including coding snippets and an overview to what Spring Boot is.
Spring Boot Microservices: Building a Microservices Application Using Spring Boot by Samarpit Tuli. In this tutorial, we'll see how to build a microservices application using Spring Boot, following up on Part 1 of this series.
Extending Spring Boot's Zuul Proxy to Record Requests and Responses by Dan Erez. A code snippet that allows the user to extend Spring Boot's Zuul proxy to record requests and responses.
Redirecting HTTP Requests With Zuul in Spring Boot by Jesus J. Puente. A developer provides a tutorial on how to use the Zuul and Spring Boot frameworks to redirect HTTP requests to and from our microservices applications.
Quick Guide to Microservices With Spring Boot 2.0, Eureka, and Spring Cloud by Piotr Minkowski. This article provides a brief summary of the Spring Boot and Spring Cloud frameworks' most important components for developing microservices applications.
Microservices Using Spring Boot and Spring Cloud — Part 1: Overview by Siva Prasad Reddy Katamreddy. This series on starting your microservices journey by leveraging Spring Boot and Spring Cloud begins with an introduction to the concepts of the application.
Microservices Architecture With Spring Boot and Spring Cloud by Matt Raible. In this tutorial, we take a closer look at building a secure microservices architecture with Spring Boot and Spring Cloud in Java.
- Spring Boot Autoscaler by Piotr Minkowski. In this microservice tutorial, we'll learn how to achieve auto-scaling for microservices architecture in a Spring Boot application with a Jenkins pipeline
Kotlin Microservice With Spring Boot Tutorial by Piotr Minkowski. A developer and architect gives a tutorial on how to develop a simple microservice-based application using the Kotlin language and the Spring Boot framework.
Chaos Monkey for Spring Boot Microservices by Piotr Minkowski. Learn how to use the Chaos Monkey library to test the resiliency and performance of your Spring Boot microservices.
Microservices Tutorial: Using Spring Boot and Feign for Communication [Video] by Shamik Mitra. In the video-based tutorial/coding session, a dev discusses the concepts of microservices communication and how to implement synchronous communication.
Microservices With Spring Boot, Part 1 — Getting Started by Ranga Karanam. To begin this microservice architecture series, we'll learn about the concept of microservices and look at how to create them with Spring Boot and Spring Cloud.
Microservices With Spring Boot, Part 2 — Creating a Forex Microsevice by Ranga Karanam. This microservices architecture series continues with a tutorial on a microservice with Spring Boot and get it to work with Spring MVC, JPA, Hibernate, and H2.
Microservices With Spring Boot, Part 3 — Creating a Currency Conversion Microservice by Ranga Karanam. Today, we'll learn how to build a currency conversion microservice as part of this tutorial on setting up a microservices architecture with Spring Boot.
Microservices With Spring Boot, Part 4 — Using Ribbon for Load Balancing by Ranga Karanam. This tutorial series on microservice architecture continues by teaching you how to use Ribbon as a load balancer in your Spring Boot microservices project.
Microservices With Spring Boot, Part 5 — Using Eureka Naming Server by Ranga Karanam. In this microservices architecture tutorial, we will learn to enable a Eureka Naming Server and allow our Spring Boot microservices to communicate with it.
Building a Microservice Chassis With Spring Boot and Spring Cloud by Darryl Anderson. Learn how to build a reusable microservice chassis - which helps save time and enforce consistency across teams and services - in this microservices tutorial.
Microservices Using Spring Boot Applications by Mandar Dharukar. In this tutorial, you'll learn how to use Spring Boot to build microservices, which reduces the configuration and boilerplate code you need to write.
Event Messaging for Microservices With Spring Boot and RabbitMQ by Tom Hombergs. This article will show you how to implement a messaging solution to exchange events between services in a distributed system using RabbitMQ and Spring Boot.
Dockerize and Deploy Spring Boot Microservices
Building Miroservices Using Spring Boot and Docker — Part 1 by Shamik Mitra. In this tutorial, learn how to build microservices using Spring Boot and its different components, and how to deploy your microservices using Docker containers.
Building Microservices Using Spring Boot and Docker — Part 2 by Shamik Mitra. This Spring Boot microservices tutorial continues by guiding you through creation of the individual services, then deploying your microservices with Docker.
Using Netflix Eureka With Spring Cloud/Spring Boot Microservices (Part 1) by Kevin Hooke. This example shows how to use Eureka as a service registry for Spring Boot microservices, and what this would look like deployed in Docker containers.
Using Netflix Eureka With Spring Cloud/Spring Boot Microservices (Part 2) by Kevin Hooke. This follow-up to the above Spring Boot microservices tutorial addresses load balancing and decoupling to complete this microservices application project.
Spring Boot 2.0 Microservice Deployment to Google Cloud Kuberenets Engine With Docker by Amareswaran Suriyamurthy. This microservices tutorial will show you the steps, with code, to deploy a Spring Boot microservice application to the Google Cloud Platform Kubernetes Engine.
Build and Push Spring Boot Docker Images With boost-maven-plugin by Anjum Fatima. We take a look at a few open source tools that can help devs create great Spring Boot/Java-based microservice applications and corresponding Docker images.
Deploy a Spring Boot Microservice Artchitecture to Google Cloud and Google Kubernetes Engine by Andrew Hughes. A developer gives a tutorial on how to create a microservices-based application, back it up with MongoDB, and then Dockerize this application.
Deploying a Spring Boot Microservice to Docker: A Quick Guide by Manoj Kumar Bardhan. A developer gives a quick, but step by step, tutorial on how to create a Docker image and deploy Spring Boot-based microservice to that image.
Deploy Spring Boot App to AWS Fargate by Raman Sharma. Learn how to quickly create a working application with Spring Boot, then deploy it using Docker and Travis CI for continuous integration and delivery.
Spring Boot Microservice Deployment in Pivotal Web Services With ClearDB MySQL Database by Amarewaran Suriyamurthy. This tutorial will help developers install the Cloud Foundry CLI, then create and deploy a Spring Boot microservices application with Flyway database migration.
Deploying Spring Boot Microservices on Docker by Sovan Misra. In this tutorial, you'll learn the benefits of Docker containers for deploying Spring Boot microservices and how to use Docker with a simple Spring Boot app.
Opinions expressed by DZone contributors are their own.