Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Consul
Consul

587
474
+ 1
181
Salt
Salt

294
206
+ 1
136
Add tool

Consul vs Salt: What are the differences?

What is Consul? A tool for service discovery, monitoring and configuration. Consul is a tool for service discovery and configuration. Consul is distributed, highly available, and extremely scalable.

What is Salt? Fast, scalable and flexible software for data center automation. Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in seconds Salt delivers a dynamic communication bus for infrastructures that can be used for orchestration, remote execution, configuration management and much more..

Consul belongs to "Open Source Service Discovery" category of the tech stack, while Salt can be primarily classified under "Server Configuration and Automation".

Some of the features offered by Consul are:

  • Service Discovery - Consul makes it simple for services to register themselves and to discover other services via a DNS or HTTP interface. External services such as SaaS providers can be registered as well.
  • Health Checking - Health Checking enables Consul to quickly alert operators about any issues in a cluster. The integration with service discovery prevents routing traffic to unhealthy hosts and enables service level circuit breakers.
  • Key/Value Storage - A flexible key/value store enables storing dynamic configuration, feature flagging, coordination, leader election and more. The simple HTTP API makes it easy to use anywhere.

On the other hand, Salt provides the following key features:

  • Remote execution is the core function of Salt. Running pre-defined or arbitrary commands on remote hosts.
  • Salt modules are the core of remote execution. They provide functionality such as installing packages, restarting a service, running a remote command, transferring files, and infinitely more
  • Building on the remote execution core is a robust and flexible configuration management framework. Execution happens on the minions allowing effortless, simultaneous configuration of tens of thousands of hosts.

"Great service discovery infrastructure" is the top reason why over 49 developers like Consul, while over 41 developers mention "Flexible" as the leading cause for choosing Salt.

Consul and Salt are both open source tools. It seems that Consul with 16.2K GitHub stars and 2.82K forks on GitHub has more adoption than Salt with 10K GitHub stars and 4.58K GitHub forks.

According to the StackShare community, Consul has a broader approval, being mentioned in 131 company stacks & 52 developers stacks; compared to Salt, which is listed in 108 company stacks and 19 developer stacks.

What is Consul?

Consul is a tool for service discovery and configuration. Consul is distributed, highly available, and extremely scalable.

What is Salt?

Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in seconds. Salt delivers a dynamic communication bus for infrastructures that can be used for orchestration, remote execution, configuration management and much more.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Consul?
Why do developers choose Salt?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
      Be the first to leave a con
      What companies use Consul?
      What companies use Salt?

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Consul?
      What tools integrate with Salt?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to Consul and Salt?
      etcd
      etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines. It’s open-source and available on GitHub. etcd gracefully handles master elections during network partitions and will tolerate machine failure, including the master.
      Zookeeper
      A centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. All of these kinds of services are used in some form or another by distributed applications.
      SkyDNS
      SkyDNS is a distributed service for announcement and discovery of services. It leverages Raft for high-availability and consensus, and utilizes DNS queries to discover available services. This is done by leveraging SRV records in DNS, with special meaning given to subdomains, priorities and weights (more info here: http://blog.gopheracademy.com/skydns).
      Ambassador
      Map services to arbitrary URLs in a single, declarative YAML file. Configure routes with CORS support, circuit breakers, timeouts, and more. Replace your Kubernetes ingress controller. Route gRPC, WebSockets, or HTTP.
      Kubernetes
      Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.
      See all alternatives
      Decisions about Consul and Salt
      StackShare Editors
      StackShare Editors
      Ansible
      Ansible
      Puppet Labs
      Puppet Labs
      Salt
      Salt

      By 2014, the DevOps team at Lyft decided to port their infrastructure code from Puppet to Salt. At that point, the Puppet code based included around "10,000 lines of spaghetti-code,” which was unfamiliar and challenging to the relatively new members of the DevOps team.

      “The DevOps team felt that the Puppet infrastructure was too difficult to pick up quickly and would be impossible to introduce to [their] developers as the tool they’d use to manage their own services.”

      To determine a path forward, the team assessed both Ansible and Salt, exploring four key areas: simplicity/ease of use, maturity, performance, and community.

      They found that “Salt’s execution and state module support is more mature than Ansible’s, overall,” and that “Salt was faster than Ansible for state/playbook runs.” And while both have high levels of community support, Salt exceeded expectations in terms of friendless and responsiveness to opened issues.

      See more
      Interest over time
      Reviews of Consul and Salt
      Review ofSaltSalt

      For automating deployment or system admin tasks, Shell/Perl are more than enough. Specially Perl one liners, that I use heavily, even to make changes in xml files. But quite often the need is to just check the state of system and run scripts without fear. Thats where I actually needed some scripting language with "state mechanism" associated with it. Salt provided me above similar kind of experience. I tested salt first on a small scenario. Installation of 60 RPMS on a machine. I was pleased that I could achieve that in around 25 lines of code using salt. And eventually I was also able to keep data and code separate. This was another plus point. henceforth I was able to use salt to deploy a large potion Datacenter (apps deployment). I am still working towards orchestration and finding it quite promising. The use of pure python whenever needed to deal with more complex scenario is awesome.

      How developers use Consul and Salt
      Avatar of Refractal
      Refractal uses SaltSalt

      When it comes to provisioning tens to hundreds of servers, you need a tool that can handle the load, as well as being extremely customisable. Fortunately, Salt has held that gauntlet for us consistently through any kind of issue you can throw at it.

      Avatar of FAELIX
      FAELIX uses SaltSalt

      We've built something using SaltStack and Debian Linux to help us deploy and administer at scale the servers we provide for our part- and fully-managed hosting customers.

      Avatar of Chris Hartwig
      Chris Hartwig uses ConsulConsul

      All our services use Consul for discovery, configuration and cluster management (auto scaling, health monitoring, dynamic reconfiguration, leader elections)

      Avatar of Runbook
      Runbook uses SaltSalt

      Everything is deployed via Salt. From configurations to Docker container builds.

      Avatar of Aspire
      Aspire uses SaltSalt

      Simple configuration of vagrant for development environments.

      Avatar of Tom Staijen
      Tom Staijen uses ConsulConsul

      Discovery service. Some configuration is stored in consul.

      Avatar of SAP Hybris
      SAP Hybris uses SaltSalt

      configuration manager and orchestrator for deployment

      Avatar of Robert Hao
      Robert Hao uses ConsulConsul

      I used Consul as config center & service discoverer.

      Avatar of Ismael Arenzana
      Ismael Arenzana uses ConsulConsul

      How else do you discover microservices? ;)

      Avatar of exana
      exana uses ConsulConsul

      For service discovery.

      How much does Consul cost?
      How much does Salt cost?
      Pricing unavailable
      Pricing unavailable
      News about Salt
      More news