You’ve installed Docker, you know how to run containers, you’ve written Dockerfiles to build container images for your applications (or parts of your applications), and you’re using Compose to describe your application stack. Your app is running beautifully on your local Docker Engine, but how do you take it to production? How do you go from a single-node setup to a scalable, highly available deployment? How do you address production-related requirements like logging, backups, remote access, and security upgrades?
Jérôme Petazzoni and AJ Bowen answer those questions using tools from the Docker ecosystem as they demonstrate building an app from development to production with Docker. Jérôme and AJ run a sample app on a single node with Compose and add scaling and load balancing. They then provision a Swarm cluster with Docker Machine and implement multihost communication with overlay networking. The result will be a highly available, scalable deployment for the application. The whole workshop will use real-world demo applications with web frontends, web services, background workers, and stateful data stores in order to cover a wide range of use cases.
Note: if you participated in last year’s tutorial on Docker and orchestration, this is a vastly updated version, including a strong emphasis on Swarm (which is now stable) and Docker’s advanced storage and network features.
Jérôme Petazzoni works at Docker, where he helps others to containerize all the things. Jérôme was part of the team that built, scaled, and operated the dotCloud PaaS before it became Docker. When annoyed he threatens to replace things with a very small shell script.
AJ Bowen is on a mission to containerize all the things and help others to do the same. In the past, AJ has done technical support, evangelism, and customer and developer advocacy at Gandi. Her other experience includes heavy involvement in the Occupy movement in Kansas City, where she discovered the delightful and complicated world of horizontal organization in groups of passionate people with wildly diverse political perspectives, and humanitarian work in Haiti. AJ doesn’t like being told what to do—or telling others what to do—and is on a constant mission to eliminate unnecessary hierarchy.
Comments on this page are now closed.
©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. • email@example.com