Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learn Apache Mesos
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learn Apache Mesos

Learn Apache Mesos

By : Aggarwal
close
close
Learn Apache Mesos

Learn Apache Mesos

By: 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)
close
close
Free Chapter
1
Deploying Apache Mesos on AWS
In Progress | 0 / 4 sections completed | 0%
5
Deploying Services on Mesos Cluster
In Progress | 0 / 4 sections completed | 0%
6
Persistent Volumes
In Progress | 0 / 4 sections completed | 0%
9
Another Book You May Enjoy
In Progress | 0 / 2 sections completed | 0%

Deploying an Apache web server

Now that we have explored the blue deployment technique, let's learn something about the green deployment via an example.

Let's go to our Marathon console, and then type the following command to get the total number of files present:

ls -rlt  

Let's open the nginx.json file using the following commands:

$ sudo cp nginx.json apache.json
$ ls -rlt

Now, let's open the apache.json file using the following command line:

vi apache.json  

In this file, we need to change the image to httpd to create apache.json with HTTP, and save it with :wq!. Then we execute the cat Apache.json command to read the file.

Next we will go ahead and deploy the JSON file to see the results. As you can see in the following screenshot, once you deploy this JSON file, it will slowly and gradually deploy the httpd, and will remove the existing nginx deployment...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY