How to do it...

Docker for AWS uses CloudFormation for building and configuring your Swarm cluster. There are two ways to deploy a CloudFormation stack: you can do it via the AWS web console, or the AWS Command Line Interface (CLI). Using the web console is going to be easier to get up and running, because all you need to do is fill out a web form. I recommended that approach if you are not familiar with CloudFormation. This is what I'll be showing you here.

We are going to deploy the latest available stable version, and let Docker for AWS build a new Virtual Private Cloud (VPC) for us. There is another option where we can install it on an existing VPC, but that is out of the scope of this recipe.

  1. Log in to the AWS console and go to the ...

Get Docker Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.