Book Image

Learn Apache Mesos

By : Manuj Aggarwal
Book Image

Learn Apache Mesos

By: Manuj Aggarwal

Overview of this book

Apache Mesos is an open source cluster manager that provides efficient resource isolation and sharing across distributed applications or frameworks. This book will help you build a strong foundation of Mesos' capabilities along with practical examples to support the concepts explained throughout the book. Learn Apache Mesos dives straight into how Mesos works. You will be introduced to the distributed system and its challenges and then learn how you can use Mesos and its framework to solve data problems. You will also gain a full understanding of Mesos' internal mechanisms and get equipped to use Mesos and develop applications. Furthermore, this book lets you explore all the steps required to create highly available clusters and build your own Mesos frameworks. You will also cover application deployment and monitoring. By the end of this book, you will have learned how to use Mesos to make full use of machines and how to simplify data center maintenance.
Table of Contents (10 chapters)

Volume persistent using Docker

In this section we will see how we can make the volume persistent in our Mesos environment that is using Docker by using REX-Ray.

Rex-Ray is a storage-orchestration tool that provides a set of common commands for managing multiple storage platforms. It's built on top of the lib storage 6 framework. REX-Ray enables persistent storage for container runtimes such as Docker and Mesos. The following image shows, that we have a REX-Ray installed on each of the Docker hosts and we have a storage platform:

In our case, the storage platform we will have is our Elastic Block Storage (EBS), which can be found in AWS. We will use the already-created persistent volume to mount it in the application container, and we will perform the same step we performed in the previous example to understand whether our data remains persistent.

  1. Let's get started...