Awesome Open Source
Awesome Open Source

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

Docker Swarm

Script in action:

Docker swarm scale

  • 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

  • This web stack is based on :

    • haproxy loadbalancer
    • varnish cache
    • h2o web server
    • phpfpm application server
  • For AWS I use Docker samples voting stack 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.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
shell (10,530
aws (1,120
automation (735
devops (592
cloud (508
azure (382
cluster (194
infrastructure-as-code (89
virtualbox (88
amazon-web-services (68
docker-swarm (58
openstack (58
docker-machine (23