Book Image

Apache Mesos Essentials

By : Dharmesh Kakadia
Book Image

Apache Mesos Essentials

By: Dharmesh Kakadia

Overview of this book

<p>Apache Mesos is a cluster manager that provides efficient resource isolation and sharing across distributed applications, or frameworks. It allows developers to concurrently run the likes of Hadoop, Spark, Storm, and other applications on a dynamically shared pool of nodes. With Mesos, you have the power to manage a wide range of resources in a multi-tenant environment.</p> <p>Starting with the basics, this book will give you an insight into all the features that Mesos has to offer. You will first learn how to set up Mesos in various environments from data centers to the cloud. You will then learn how to implement self-managed Platform as a Service environment with Mesos using various service schedulers, such as Chronos, Aurora, and Marathon. You will then delve into the depths of Mesos fundamentals and learn how to build distributed applications using Mesos primitives.</p> <p>Finally, you will round things off by covering the operational aspects of Mesos including logging, monitoring, high availability, and recovery.</p>
Table of Contents (15 chapters)
Apache Mesos Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Multitenancy


The ability to share infrastructure resources and frameworks among multiple users is extremely important for a data center kernel. In a large deployment, without proper support for multitenancy, separate static clusters have to be created for different users, organizations, or use cases, losing all the benefits Mesos provides as the common substrate for the data center. Mesos has first-class support for multitenancy, as we will see in this section.

Authorization and authentication

Authentication is an important feature for large Mesos deployments. Mesos added support for framework authorization starting from 0.20.0 release (http://mesos.apache.org/documentation/latest/authorization/). It uses Simple Authentication and Security Layer (SASL) library to implement the authentication that supports various authentication mechanisms. This allows:

  • Frameworks to register and reregister with authorized roles

  • Frameworks to launch tasks with authorized users

  • Authorized principals to shut down...