Continuous delivery is all the rage these days, but without self-healing, highly available, and fault-tolerant infrastructure to deploy your applications to, it’s really only one piece of a much larger picture. Apache Mesos was born at UC Berkeley and grew into a robust, highly scalable cluster orchestrator while running thousands of nodes at Twitter. Support for Docker containers was added in 2013, and since then, it’s been adopted by companies like Netflix and Apple to run their critical infrastructure. Mesosphere has built the open source Datacenter Operating System (DC/OS) around Apache Mesos to provide all the supplementary tooling necessary to take Mesos to a production environment. Jenkins with DC/OS allows you to spin up build agents dynamically, an approach which has allowed companies like PayPal to cut the footprint of their build farms by hundreds of nodes, saving money on infrastructure by increasing utilization and reducing obstacles to providing teams with the resources they need when they need them.
Sunil Shah and Roger Ignazio introduce DC/OS and demonstrate how to integrate it with the stalwart continuous integration server Jenkins, allowing you to set up a continuous delivery pipeline that takes an application composed of microservices from code repository to Docker Hub to a staging or production server with seamless automation. Sunil and Roger walk attendees through setting up their own pipeline using Jenkins on a DC/OS cluster, from installation and configuration of Jenkins to setting up a build to actually deploying it to a live environment where it can serve traffic, and also cover the internals of practical microservice architecture, including component-level deployment, application-level persistence, and intraprocess communication via service discovery.
Sunil Shah is an engineering and product manager at Mesosphere working on tools and services around the Apache Mesos project to make the lives of developers easier. Before joining Mesosphere, Sunil worked at music recommendations service Last.fm and completed a master’s program at UC Berkeley in EECS, working on real-time processing of images collected from drones. When he’s not flying drones around, Sunil likes to cycle, camp, hike, ski, and play a large drum.
Roger Ignazio is a tech lead at Mesosphere and the author of Mesos in Action.
©2016, O'Reilly Media, Inc. • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • firstname.lastname@example.org