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)

Summary

We learned how to configure AWS Load Balancer for the Marathon and Mesos master console. AWS Load Balancer helped us to route requests for both the Marathon and all three Mesos master servers. This helped us to ease the management for Mesos and Marathon services. Then, we enabled the containerizer in all of the Mesos slave servers, and we added a Marathon user on all of the slave servers. Both settings are necessary for the deployment of our application on all slaves servers.

Then, we deployed a sample nginx server using the Marathon framework and we saw how you can scale multiple instances very quickly and easily. Then, we took a real-world example where we created an RDS MySQL database for WordPress in AWS, then we deployed a WordPress container in a Mesos cluster and connected a WordPress container to the database.

Then we deployed Marathon-lb, which is based on HAProxy...