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)


To start ZooKeeper, type sudo service zookeeper start. Check the status:

You can see status -l has more information:

Run sudo service mesos-master start, and see the status:

You can also add -l to get more information:

In order to access the console, here is the Mesos-master server and the public IP is port is 5050. But we won't be able to access this as we need to enable the traffic and security group.

To do so, check the Security groups, which is mesos. We need to add a rule and input 5050 as Port Range, in Inbound | Edit. Where, we will consider the source as Anywhere but you should define your IP or your custom IP range and save it.

Now let's go and refresh our page( We can see that we are able to access Mesos:

In this way, you can enable the inbound rule for your Mesos master server.