Now that you have installed Docker Swarm using Docker for AWS and established management connectivity to the Swarm cluster, we are ready to start deploying applications. Deploying applications to Docker Swarm requires use of the docker service and docker stack commands, which we have not covered to date in this book, so we will get acquainted with these commands by deploying a few example applications before tackling the deployment of our todobackend application.
Deploying applications to Docker Swarm
Docker services
Although you can technically deploy a single container to a Swarm cluster, you should avoid doing this and always work with Docker services as the standard unit of deployment to your Swarm clusters. We have actually...