Skip to main content

Scalable Infrastructure with Apache Mesos, Marathon, and Docker

Tobi Knaup (Mesosphere)
Operations
Regent
Tutorial Please note: to attend, your registration must include Tutorials on Monday.
Average rating: ****.
(4.12, 16 ratings)

THIS TUTORIAL HAS REQUIREMENTS AND INSTRUCTIONS LISTED BELOW

Marathon is a framework built on Apache Mesos that provides a fault-tolerant and elastic scale-out architecture for any long-lived application like Ruby on Rails/node.js-based web applications or traditional J2EE servers like Tomcat. Marathon can run applications without modification, and supports running Docker containers as well. It provides a simple REST API for controlling the app lifecycle and allows scripting of custom deploy and release policies. Marathon automatically responds to failures and makes sure your apps keep running forever. It’s the init.d for your data center.

In this session, attendees will learn how Marathon solves these common devops concerns:

  • Deploying many apps on large clusters
  • Service discovery
  • Scaling apps with demand
  • Providing developers with a self-serve interface for launching apps
  • Automatically handling software, machine, and rack failures
  • Reducing infrastructure complexity

We’ll set up Mesos and Marathon, launch applications contained in Dockers, and simulate different failure scenarios to demonstrate how Marathon automatically responds to them.

TUTORIAL REQUIREMENTS AND INSTRUCTIONS FOR ATTENDEES

To save time, attendees should have a Mesos cluster running.
* On a laptop, the easiest way is to use https://github.com/mesosphere/playa-mesos
You can also launch cluster at https://elastic.mesosphere.io. AWS charges will apply.

If you have a Mac, please bring a dongle for the internet hardwire.

Photo of Tobi Knaup

Tobi Knaup

Mesosphere

Tobi is the CTO and Co-Founder of Mesosphere, a startup that is building a data center operating system based on Apache Mesos, to support the next generation of large scale distributed applications.
He was one of the first engineers and engineering leaders at Airbnb. At Airbnb, he wrote large parts of the infrastructure including the search and fraud prediction services. He helped scale the site to millions of users and build a world class engineering team. Tobi is the main author of Marathon, an Apache Mesos framework for managing long-running services.

Comments on this page are now closed.

Comments

Picture of Tobi Knaup
Tobi Knaup
09/15/2014 4:48am EDT

Hi Michael/Jay, that’s probably default text for all tutorials. To clarify: please bring an ethernet dongle if your laptop doesn’t have ethernet. If you don’t have one that’s fine, you’ll only need to do a large download if you want to use http://mesosphere.io/docs/mesosphere/getting-started/playa-install/ to launch Mesos on your own laptop. That’s the easiest way to get started on your laptop (and the only way on Windows) but it’s a big download.

I suggest to launch a cluster via https://google.mesosphere.io/ on Google Cloud though, because many of the scenarios we’re going to go through need a multi-node cluster. I will have a shared cluster ready as well.

Jay Perry
09/14/2014 11:44am EDT

Hi, is the quick start enough to get a pre-installed mesos and marathon running or should we get a cluster running via: https://github.com/everpeace/vagrant-mesos? Thanks!

Michael Durrant
09/14/2014 8:26am EDT

Not sure exactly what “If you have a Mac, please bring a dongle for the internet hardwire.” means. Do you mean a usb thumb drive ?