|
|
|
|
|
by mmanulis
3525 days ago
|
|
At my work, we have figured out a way to do this completely automated. We use Packer + Ansible for creating the AMI, Terraform to setup AWS and launch 3 Consul instances based on the AMI. Last part is we have Go program (started with Bash) to do the joining. It finds all the Consul server nodes (using tags) and then runs `consul join` until it succeeds. There's a bunch of error checking and timeouts and such to make sure it works correctly. I'm hoping to post a blog post about this in the next month or so. |
|