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)

Setting up Marathon-lb

First, we should understand why we need Marathon-lb set up. We already deployed a WordPress container in the previous section. So, you have one instance, you know the server name and the port, and, when you click on the link, it will bring up the output page—the WordPress landing page. If you are working on only one instance, then you don't have to use Marathon-lb; you can just have your public IP map to another DNS name and you can access that. In our case, our server is mesos-master2, so what we can do is we can just access the mesos-master2 server on a specific port and then it will get access. You can just configure a load balancer and point to this server on this port and your work is done. In that scenario, you don't need a Marathon-lb setup; you can directly point your AWS Load Balancer to this instance on this specific port and your...