What if you could throw containers at a cluster of nodes as easily as a single node? This course will teach how you can control a cluster with all the simplicity of managing a single docker engine thanks to Docker Swarm Mode.
The docker engine on a single node revolutionized how we run applications. But in production environments, you need more capacity and reliability than a single node can offer. In this course, Getting Started with Docker Swarm Mode, you'll learn how to control a cluster of nodes as easily as a managing a single node. First, you'll discover how to set up a swarm, add nodes, and launch services that describe containers. Next, you'll explore how to route traffic to the cluster and within the cluster, ensure containers recover from failures. Then, you'll learn how to roll out updates and deploy multi application stacks. Finally, you'll cover how to leverage integrated health checking and protect sensitive information with secrets. By the time you're done with this course, you'll have the knowledge to deploy your own swarm.
Wes Higbee is passionate about helping companies achieve remarkable results with technology and software. He’s had extensive experience developing software and working with teams to improve how software is developed to meet business objectives. Wes launched Full City Tech to leverage his expertise to help companies delight customers.
Course Overview Hi. My name is Wes Higbee. Welcome to my course, Getting Started with Docker Swarm Mode. Just this morning, I was doing a TeamCity demo that requires a server to be up and running, that has a website, also multiple agents to perform work, and an external database as well. Now for demo purposes, I was able to spin this up quickly on a single machine with a Docker engine. But in production environments, infrastructures like this can oftentimes need to span multiple nodes so that we have the capacity for the agents to quickly get your work done. It'd be nice to keep the benefits of a single node when we move to multiple nodes, and that's what we're going to talk about in this course with Docker Swarm Mode. We'll start out by looking at how we can set up a swarm, how we can add multiple nodes to that swarm, and how we can schedule a service that spans across those nodes, a service being something like a website. We'll take a look at how we can scale that website up. We'll take a look at how we can access that website externally, so how we can route into that website to be able to find it on whatever node it's running on, and we'll also talk about how that website might use some internal database or maybe an internal API if it needs further information, and how that website can find that internal database or API if they're running on the swarm as well. We'll take a look at look at the power of reconciling a desire state to make sure your application is always running. We'll look at rolling updates, container to container networking. We'll take a look at using stacks to simplify how we deploy multiple applications with a single Docker compose file. We'll also see health checking. And then we'll wrap up with protecting sensitive information using secrets. By the time we're done with this course, you'll know how to set up your own swarm that can handle any work that you throw at it. Let's get started.