Closed naorlivne closed 5 years ago
Thinking maybe there could be a line of modules to deploy a cluster of 3 servers which are set with MongoDB, RabbitMQ, & the API on different cloud providers along with an LB in front of them - this will simplify deployments for production to users as well.
so far thinking of the following:
This will most likely need to be in it's own repo per each module in order to comply with https://www.terraform.io/docs/registry/modules/publish.html & be able to publish said modules in Terraform public module registry.
Added for Digital Ocean & packet that shows example usage with single manager & 1 worker in each of the standard regions for the time of writing, I won't be adding AWS\GCP\Azure as they are less friendly about adding multi region deployments & while possible the cost\benefit of it just isn't there for now.
More advanced HA designs will need to follow the installing steps as it's likely that the managers will be on some orchestrator (swarm\mesos\kubernetes) & the DB might or might be a managed service based on each company taste so it won't make sense having a production ready quickstart as every prod env is different.
Expected/Wanted Behavior
There should be a Terraform getting start tutorial that:
Actual Behavior
There is only a docker-compose & manual install tutorials.