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)

Deploying applications to clusters

Before we start deploying the application to the cluster, we'll check what is the current status of the environment. As seen in the following diagram, we have three Mesos masters and two Marathon servers. So, Mesos master has three consoles because we are using three servers, and Marathon has two consoles because we are using two Marathon servers. We need to manage all three consoles every time we need to log in on each console to validate the application status, and the same goes with Marathon to check the information about your application and where it is deployed. Logging into each console every time is time consuming and it takes more effort, so to avoid this we will set up two load balancers in AWS: one for Mesos master, and another for Marathon console.

So, what is load balancing? Elastic Load Balancing automatically distributes incoming...