Creating a Docker for AWS cluster

In the book, The DevOps 2.1 Toolkit: Docker Swarm (, I argued that the best way to create a Swarm cluster in AWS is with a combination of Packer ( and Terraform ( One of the alternatives was to use Docker CE for AWS ( At that time Docker for AWS was too immature. Today, the situation is different. Docker for AWS provides a robust Docker Swarm cluster with most, if not all the services we would expect from it.

We'll create a Docker for AWS cluster and, while in progress, discuss some of its aspects.

Before we start creating a cluster, we should choose a region. The ...

Get The DevOps 2.2 Toolkit now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.