What is our primary use case?
My main use case for HashiCorp Consul is Service Discovery with the Consul Template. I also use HashiCorp Consul as the storage backend for Vault, and in the future, I am considering a microservice that is related to the Service Mesh.
For the service discovery using HashiCorp Consul, I have three Nginx servers that are integrated with VIP management that I set up with Corosync and Pacemaker. At the same time, I also set up the HashiCorp Consul server for three servers in the same Nginx server, and then all of the upstream servers also install the HashiCorp Consul agent and join into the server. After that, I use the Consul Template to do some health checks. If one of our services is going down, it should be removed from the upstream and reload the Nginx service.
For my current main use case with HashiCorp Consul, one more important aspect is how I use Vault with the HashiCorp Consul storage backend. Since I don't care about what happens if something goes wrong in my Vault server because the storage backend is already stored in HashiCorp Consul, and since I have good experience with HashiCorp Consul, I can manage the HashiCorp Consul storage backend as well, and it is well-managed.
On a day-to-day basis, I am always relying on the HashiCorp Consul Service Discovery as a production server. Also, Vault with the storage backend is in production, and I am still considering Service Mesh because I may need to take some time to restructure our microservices, so I will consider Service Mesh in the future.
What is most valuable?
The best features HashiCorp Consul offers are Service Mesh, the storage backend, and Service Discovery.
Using HashiCorp Consul saves time because it helps me a lot with the automation of my infrastructure. My platform and DevOps teams have four members, but since we have an automation mindset, we can do a lot with a few people by using HashiCorp Terraform and HashiCorp Consul, because automation tools help us tremendously.
The outcomes I have seen with HashiCorp Consul are faster recovery, and it is also easy for the management team because we can automate it with the automated upstream. I experience almost no downtime.
What needs improvement?
I hope HashiCorp Consul can have the Autopilot in the community version, if possible. I was considering whether HashiCorp Consul servers should have a non-voter feature where they should only have some standby nodes that should not be able to be a voter. I understand that this might be an Enterprise version feature, but if it was in the community version, it would be very beneficial for me.
For how long have I used the solution?
I have been using HashiCorp Consul for about six years. At my first company, I used HashiCorp Consul integrated with Nginx to automate the Consul Template with a dynamic upstream.
What do I think about the stability of the solution?
HashiCorp Consul is stable. I always use the binary package and customize my systemd. One important note is that I always use the binary instead of the yum update or apt update because I am concerned about different versions when I try something from the Red Hat or Ubuntu repositories. I customize my systemd and use the binary package, and HashiCorp Consul should be stable because I want all the clusters to have the same version of HashiCorp Consul.
What do I think about the scalability of the solution?
HashiCorp Consul's scalability requires understanding the quorum base, and I understand the quorum base. For example, if you want to start a HashiCorp Consul server, you should start from three, five, or seven servers, and if you want to scale, you should understand this.
Which solution did I use previously and why did I switch?
Before choosing HashiCorp Consul, I did not evaluate other options, as I preferred HashiCorp Consul as the first option.
How was the initial setup?
HashiCorp Consul is deployed in my organization on-premises, and I use Ansible to deploy HashiCorp Consul.
What about the implementation team?
I have no experience with the pricing and licensing of HashiCorp Consul since I mostly use the community version.
What other advice do I have?
My advice to others looking at using HashiCorp Consul is that if you want your system to be stable with a dynamic upstream, you should go with HashiCorp Consul. I would rate this product an 8 out of 10.
Which deployment model are you using for this solution?
On-premises