Book Image

Microservices Deployment Cookbook

By : Vikram Murugesan
Book Image

Microservices Deployment Cookbook

By: Vikram Murugesan

Overview of this book

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.
Table of Contents (15 chapters)
Microservices Deployment Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Deploying infrastructure with DC/OS


DC/OS stands for Datacenter Operating System. DC/OS is built and maintained by Mesosphere. Mesosphere offers an open source version of DC/OS, as well as an enterprise version. You can think of DC/OS as an enterprise-ready version of Mesos with sophisticated features and a collection of installable tools and frameworks. One of the trickiest parts of managing your own Mesos cluster is orchestrating the frameworks. DC/OS has made this task much easier with its command-line interface. You could potentially install the DC/OS CLI on your local computer and manage any remote DC/OS cluster. Using the CLI, you can install Marathon, submit Docker containers, and so on. In this recipe, we will be going over the DC/OS interface to understand its features and capabilities.

Getting ready

In this recipe, we will be orchestrating a DC/OS cluster on AWS and then we will go over the basics of DC/OS. There are several ways you can orchestrate a DC/OS cluster: using Vagrant...