Create a Docker Swarm

Create a Docker Swarm

Docker Swarm, like Kubernetes, is a container orchestration tool built and maintained by Docker.

image

In this hands-on Cloud Lab, we’ll learn to create a Docker Swarm on Amazon EC2 instances. The purpose of this Cloud Lab is to highlight the differences in the processes of creating a Docker Swarm and a Kubernetes Cluster.

Lab tasks

  • Create a Security Group.
  • Create a Primary Node.
  • Initialize a Swarm.
  • Create a Secondary Node.
  • Join the Swarm.
  • Clean Up.

Architecture diagram

The following is the high-level architecture diagram of how to create a Docker Swarm:

image