Have a personal or library account? Click to login
Microservices Deployment Cookbook Cover

Microservices Deployment Cookbook

Deploy and manage scalable microservices

Paid access
|Sep 2025
Product purchase options

Master over 60 recipes to help you deliver complete, scalable, microservice-based solutions and see the improved business results immediately

Key Features

  • Adopt microservices-based architecture and deploy it at scale
  • Build your complete microservice architecture using different recipes for different solutions
  • Identify specific tools for specific scenarios and deliver immediate business results, correlate use cases, and adopt them in your team and organization

Book Description

This book will help any team or organization understand, deploy, and manage microservices at scale. It is driven by a sample application, helping you gradually build a complete microservice-based ecosystem. Rather than just focusing on writing a microservice, this book addresses various other microservice-related solutions: deployments, clustering, load balancing, logging, streaming, and monitoring.

The initial chapters offer insights into how web and enterprise apps can be migrated to scalable microservices. Moving on, you’ll see how to Dockerize your application so that it is ready to be shipped and deployed. We will look at how to deploy microservices on Mesos and Marathon and will also deploy microservices on Kubernetes. Next, you will implement service discovery and load balancing for your microservices. We’ll also show you how to build asynchronous streaming systems using Kafka Streams and Apache Spark.

Finally, we wind up by aggregating your logs in Kafka, creating your own metrics, and monitoring the metrics for the microservice.

What you will learn

  • Build microservices using Spring Boot, Wildfly Swarm, Dropwizard, and SparkJava
  • Containerize your microservice using Docker
  • Deploy microservices using Mesos/Marathon and Kubernetes
  • Implement service discovery and load balancing using Zookeeper, Consul, and Nginx
  • Monitor microservices using Graphite and Grafana
  • Write stream programs with Kafka Streams and Spark
  • Aggregate and manage logs using Kafka
  • Get introduced to DC/OS, Docker Swarm, and YARN

Who this book is for

This book is for developers, ops, and DevOps professionals who would like to put microservices to work and improve products, services, and operations. Those looking to build and deploy microservices will find this book useful, as well as managers and people at CXO level looking to adopt microservices in their organization. Prior knowledge of Java is expected. No prior knowledge of microservices is assumed.

Table of Contents

  1. Building Microservices with Java
  2. Containerizing Microservices with Docker
  3. Deploying Microservices on Mesos
  4. Deploying Microservices on Kubernetes
  5. Service Discovery and Load Balancing Microservices
  6. Monitoring Microservices
  7. Building Asynchronous Streaming System with Kafka and Spark
  8. More Clustering Frameworks - DC/OS, Docker Swarm, and YARN
https://github.com/packtpublishing/microservices-deployment-cookbook
PDF ISBN: 978-1-78646-131-5
Publisher: Packt Publishing Limited
Copyright owner: © 2017 Packt Publishing Limited
Publication date: 2025
Language: English
Pages: 378
Related subjects: