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)

Enabling secured socket layer security

So far, we have seen how to secure the masters, agents, and our Mesos framework; we will now learn about securing Marathon. This will give you insight into enabling SSL, a protocol that is widely used in the security domain on our Mesos Marathon, and securing it by providing basic authentication mechanisms.

We will see how to make communication secure and limit the possibility of unauthorized interception of communication by enabling SSL.

Marathon enables you to secure its API endpoints via SSL and limit access to them with HTTP basic access authentication. It is advisable to use SSL if we are just enabling basic authentication to eliminate the possibility of data being accessed by third parties.

These are some simple steps to follow to enable SSL:

  1. Generate the keystore using keytool
  2. Use a self-signed certificate or if you can use an organization...