Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/itwars/docker-swarm

🐳🐳🐳 This repository is part of a blog series on Docker Swarm example using VirtualBox, OVH Openstack, Azure and Amazon Web Services AWS
https://github.com/itwars/docker-swarm

amazon-web-services automation aws azure blog-series cloud cluster devops docker-machine docker-swarm infrastructure-as-code openstack ovh ovh-openstack virtualbox

Last synced: about 1 month ago
JSON representation

🐳🐳🐳 This repository is part of a blog series on Docker Swarm example using VirtualBox, OVH Openstack, Azure and Amazon Web Services AWS

Awesome Lists containing this project

README

        

This repository is part of a blog post on **Docker Swarm** examples using *VirtualBox*, **OVH Openstack**, **Microsoft Azure** and **Amazon Web Services AWS**:

- [IT wars Docker swarm VirtualBox example](http://www.it-wars.com/posts/virtualisation/docker-swarm-par-lexemple/)
- [IT wars Docker swarm OVH Openstack example](http://www.it-wars.com/posts/virtualisation/docker-swarm-112-ovh/)
- [IT wars Docker swarm Azure example](http://www.it-wars.com/posts/virtualisation/docker-swarm-112-azure/)
- [IT wars Docker swarm Amazon Web Services AWS](http://www.it-wars.com/posts/virtualisation/docker-swarm-cluster-aws-amazon-web-services/)

![Docker Swarm](img/docker-swarm.gif)

Script in action:

![Docker swarm scale](img/docker-swarm-scale.gif)

- The init-virtualbox.sh script will automaticaly create several *VirtualBox VM* using **docker-machine** and start **Docker Swarm Ochestrator**
- The init-ovh.sh script will automaticaly create several *OVH Openstack VM* using **docker-machine** and start **Docker Swarm Cluster**
- The init-azure.sh script will automaticaly create several *Microsoft Azure cloud VM* using **docker-machine** and init **Docker Swarm Scalable Services**
- The init-aws.sh script will automaticaly create several *Amazon Web Services EC2 instances* using **docker-machine** and init **Docker Swarm Services Stack**
- Then it create a virtual network (optional)
- Finaly start a web stack with *docker swarm services*

[![asciicast](https://asciinema.org/a/bup8txirvsiszylckkzrng5gr.png)](https://asciinema.org/a/bup8txirvsiszylckkzrng5gr)

- This **web stack** is based on :

- haproxy loadbalancer
- varnish cache
- [h2o web server](http://www.it-wars.com/posts/performance/web-performance-H2O-vs-nginx/)
- phpfpm application server

- For AWS I use [Docker samples voting stack](https://github.com/dockersamples/example-voting-app) and to remove **Amazon Web Services EC2 instance** use: remove-aws.sh

Fill free to fork my code and have a look to my blog series.

- [IT wars Docker swarm VirtualBox example](http://www.it-wars.com/posts/virtualisation/docker-swarm-par-lexemple/)
- [IT wars Docker swarm OVH Openstack example](http://www.it-wars.com/posts/virtualisation/docker-swarm-112-ovh/)
- [IT wars Docker swarm Azure example](http://www.it-wars.com/posts/virtualisation/docker-swarm-112-azure/)
- [IT wars Docker swarm Amazon Web Services AWS](http://www.it-wars.com/posts/virtualisation/docker-swarm-cluster-aws-amazon-web-services/)