Deploying and Running a Distributed Application on Docker Swarm
In the last chapter, we got a detailed introduction to Docker’s native orchestrator called SwarmKit. SwarmKit is part of Docker Engine, and no extra installation is needed once you have Docker installed on your system. We learned about the concepts and objects SwarmKit uses to deploy and run distributed, resilient, robust, and highly available applications in a cluster, which can either run on-premises or in the cloud. We also showed how Docker’s orchestrator secures applications using SDNs. We learned how to create a Docker Swarm locally, in a special environment called Play with Docker, and also in the cloud. Finally, we discovered how to deploy an application that consists of multiple related services to Docker Swarm.
In this chapter, we are going to introduce the routing mesh, which provides layer-4 routing and load balancing. Next, we are going to demonstrate how to deploy a first application consisting...