Chapter 3. Deploying Microservices on Mesos

In this chapter, we will learn how to deploy microservices on Mesos, which is an open source cluster management framework from Apache. We will cover the following recipes:

  • Setting up a Mesos cluster using Docker
  • Understanding the Mesos and Marathon interface
  • Deploying your microservice to Mesos using Marathon
  • Configuring ports in Marathon
  • Configuring volumes in Marathon
  • Configuring environment variables in Marathon
  • Scaling your microservice in Marathon
  • Destroying your microservice in Marathon
  • Monitoring your microservice logs in Marathon
  • Monitoring your microservice logs in Mesos
  • Managing your microservice using Marathon's REST API

Introduction

Before we jump into the recipes and try creating a Mesos cluster, it ...

Get Microservices Deployment Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.