/docker-swarm-aws-terraform-packer-ansible

Docker Swarm Cluster on AWS cloud example

Primary LanguageHCLMIT LicenseMIT

Docker Swarm cluster on AWS

In this repo you could find small example of docker swarm cluster deployed to AWS cloud and some basic usage of core swarm concepts. The intention of this demo app is to play around with docker swarm core concepts and create a boilerplate for my future projects with this orchestration tool.

AWS Architecture

image

Demo app deployed to the Swarm-cluster

image image

How-to

In order to deploy the app execute the following commands:

$ docker stack deploy -c docker-compose.yml demo_app

More useful commands can be found here

Links

https://docs.docker.com/engine/swarm/key-concepts/

https://docs.aws.amazon.com/

https://blog.container-solutions.com/deployment-strategies

https://devopscon.io/blog/continuous-deployment-docker-swarm/

https://docs.docker.com/engine/context/working-with-contexts/

https://docs.aws.amazon.com/workspaces/latest/adminguide/azs-workspaces.html

https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/vpc-tkv.html

https://buildvirtual.net/docker-swarm-cheat-sheet/

https://docs.docker.com/compose/compose-file/