Setup a High-Availability Docker Swarm Stack on AWS
These CloudFormation templates are ready-made to tackle tasks like VPC deployment, alert configuration, and HA Docker Swarm.
Join the DZone community and get the full member experience.Join For Free
In this article, you'll find several CloudFormation templates. They will help you set up and deploy a High-Availability Docker stack so you can easily install Docker Swarm on AWS. You can have a Docker-ready environment in minutes by launching each stack in the order below. Satisfying DevOps best practices means repeatable infrastructure and application deployments. The templates contained here are very similar to what you get when using Caylent – give it a try; it's free.
You can deploy each CloudFormation stack by clicking the 'Launch Stack' button underneath the description. They are intended to be used collectively. The Alert stack is optional but advisable.The Docker Stack is designed with Docker Swarm in mind, though it can be used with just about any scheduler or orchestration engine. If you’re looking for ways to use these stacks, we recommend checking out our other articles, like Creating a High-Availability WordPress cluster with Docker Swarm and EFS.
These templates are completely free, open source, and available on our GitHub. If this guide helped you please consider contributing a pull request or giving the repo a star. Here are some additional resources to help you begin:
Deploy a VPC
Configure an Alert (optional)
Launch a High-Availability Docker Stack
Published at DZone with permission of JP La Torre. See the original article here.
Opinions expressed by DZone contributors are their own.