Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moimhossain/docker-swarm-on-azure
An Azure Resource manager template that provisions a docker swarm mode cluster.
https://github.com/moimhossain/docker-swarm-on-azure
availability-cluster azure docker docker-swarm docker-swarm-mode vmss
Last synced: 22 days ago
JSON representation
An Azure Resource manager template that provisions a docker swarm mode cluster.
- Host: GitHub
- URL: https://github.com/moimhossain/docker-swarm-on-azure
- Owner: MoimHossain
- License: mit
- Created: 2017-07-25T12:22:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-05T06:37:23.000Z (over 7 years ago)
- Last Synced: 2024-11-08T06:46:57.316Z (2 months ago)
- Topics: availability-cluster, azure, docker, docker-swarm, docker-swarm-mode, vmss
- Language: Shell
- Homepage: http://moimhossain.com
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker swarm mode cluster on Azure
### What's in it?
This resource manager template will provision the following resources:
- A virtual network
- An availability set
- 3 virtual machines with the AV set created above. (the numbers, names can be parameterized as per your needs)
- A load balancer (with public port that round-robins to the 3 VMs on port 80. And allows inbound NAT to the 3 machine via port 5000, 5001 and 5002 to ssh port 22).
- Configures 3 VMs as docker swarm mode manager.
- A Virtual machine scale set (VMSS) in the same VNET.
- 3 Nodes that are joined as worker into the above swarm.
- Load balancer for VMSS (that allows inbound NATs starts from range 50000 to ssh port 22 on VMSS)Hope you find it ineteresting!
### Powershell deployment
I have a handy powershell script into the repo (`Go.ps1`) too, which can be used to automate the entire cluster deployment - i.e. can be launched via a automated workflow process (CI/CD for example).
### Explanations
I wrote a blog post to describe little details of the template, you can [read it here](http://moimtechview.blogspot.nl/2017/07/docker-swarm-mode-cluster-via-arm.html).#### Thanks for reading. Cheers!