{"id":18880421,"url":"https://github.com/moimhossain/docker-swarm-on-azure","last_synced_at":"2026-05-10T05:54:38.065Z","repository":{"id":75024781,"uuid":"98303224","full_name":"MoimHossain/docker-swarm-on-azure","owner":"MoimHossain","description":"An Azure Resource manager template that provisions a docker swarm mode cluster.","archived":false,"fork":false,"pushed_at":"2017-10-05T06:37:23.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-31T03:14:54.507Z","etag":null,"topics":["availability-cluster","azure","docker","docker-swarm","docker-swarm-mode","vmss"],"latest_commit_sha":null,"homepage":"http://moimhossain.com","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MoimHossain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-25T12:22:32.000Z","updated_at":"2018-10-28T00:23:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"e98a790c-31ac-46eb-b491-11f33a6abed0","html_url":"https://github.com/MoimHossain/docker-swarm-on-azure","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoimHossain%2Fdocker-swarm-on-azure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoimHossain%2Fdocker-swarm-on-azure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoimHossain%2Fdocker-swarm-on-azure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoimHossain%2Fdocker-swarm-on-azure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoimHossain","download_url":"https://codeload.github.com/MoimHossain/docker-swarm-on-azure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239846383,"owners_count":19706760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["availability-cluster","azure","docker","docker-swarm","docker-swarm-mode","vmss"],"created_at":"2024-11-08T06:43:49.132Z","updated_at":"2026-02-20T14:30:16.407Z","avatar_url":"https://github.com/MoimHossain.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker swarm mode cluster on Azure\n\n### What's in it?\n\nThis resource manager template will provision the following resources:\n\n- A virtual network\n- An availability set\n- 3 virtual machines with the AV set created above. (the numbers, names can be parameterized as per your needs)\n- 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).\n- Configures 3 VMs as docker swarm mode manager.\n- A Virtual machine scale set (VMSS) in the same VNET.\n- 3 Nodes that are joined as worker into the above swarm.\n- Load balancer for VMSS (that allows inbound NATs starts from range 50000 to ssh port 22 on VMSS)\n\nHope you find it ineteresting!\n\n\u003ca href=\"https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FMoimHossain%2Fdocker-swarm-on-azure%2Fmaster%2Fswarm-managers%2Fazuredeploy.json\" target=\"_blank\"\u003e\n    \u003cimg src=\"http://azuredeploy.net/deploybutton.png\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FMoimHossain%2Fdocker-swarm-on-azure%2Fmaster%2Fswarm-managers%2Fazuredeploy.json\" target=\"_blank\"\u003e\n    \u003cimg src=\"http://armviz.io/visualizebutton.png\"/\u003e\n\u003c/a\u003e\n\n\n### Powershell deployment\n\nI 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).\n\n### Explanations\nI 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).\n\n#### Thanks for reading. Cheers!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoimhossain%2Fdocker-swarm-on-azure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoimhossain%2Fdocker-swarm-on-azure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoimhossain%2Fdocker-swarm-on-azure/lists"}