Skip to content

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

License

Notifications You must be signed in to change notification settings

itwars/docker-swarm

Repository files navigation

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.