azure-terraform-swarm-template
Docker Swarm terraform configuration on azure
Main Targets:
- highly available environment
- docker swarm based
Docker Swarm is an easy step from Compose and it's a good hosted cluster solution as Kubernetes becomes easier and easier to configure, use, more containerd tooling etc. and you're ready to transition to it.
Docker Swarm is a good middle ground, you know what's happening (as you can ssh into the vm and run docker ps
, docker logs
, docker inspect
, docker attach
, docker exec
etc).
This repo is a terraform definition which should be a good start as it's focused on high availability, ease of use and allows for vertical scaling with a configuration change and a terraform
plan
+ apply
command.
Feedback is welcome, feel free to open an issue.
Configure
Configure terraform to work with your azure account
Run
rake
This will regenerate the terraform configs, trigger terraform into planning and applying the changes to configure the infrastructure defined in the .tf
plan files.
https://github.com/makevoid/aws-terraform-swarm-template
Check out the AWS version:Open Source
Feel free to open an issue to see if this worked for you or not, if you think you can contribute, open a pull request with your desired improvement.