I would like to know what is the best practice for setting up Vault/Consul in HA to run in production mode - how many Vault servers and Consul(nodes/one leader) should I setup?
Thanks,
Same with James, here 3 servers of each..
tho somewhere I thought I read, it's a good idea to run 5, so you can tear down and upgrade without worrying about losing consensus.
I've never had that problem here, we just take down a follower, upgrade it, bring it up, bring down the next follower, upgrade it, bring it up and then take down the leader, upgrade it and bring it up. You do get a new leader that way, but zero downtime.
I'm talking about setting up new Vault in Production mode with HA.
Right now I've three EC2 instances which are running Vault and Consul on each EC2 instance.
Hopefully you are talking about how you upgrade Consul here, because that is not the recommended upgrade procedure for Vault -- for Vault you should upgrade all standby nodes first, then seal the active node to fail over to an upgrade standby node and not have the possibility of the formerly active node becoming active again.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/cb235341-b9bf-47d0-9024-bca5e769ca35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/3bbc70e8-7d9d-4682-8442-9e2dd723c413%40googlegroups.com.