|Initial release||January 2009|
|Written in||Ruby (client) and Ruby / Erlang (server)|
|Operating system||GNU/Linux, MS Windows, FreeBSD, macOS, IBM AIX, Solaris|
|Type||Configuration management, System administration, Network management, Cloud management, Continuous delivery, DevOps, Infrastructure as Code|
|License||Apache License 2.0|
Chef is a company and the name of a configuration management tool written in Ruby and Erlang. It uses a pure-Ruby, domain-specific language (DSL) for writing system configuration "recipes". Chef is used to streamline the task of configuring and maintaining a company's servers, and can integrate with cloud-based platforms such as Internap, Amazon EC2, Google Cloud Platform, Oracle Cloud, OpenStack, IBM Cloud, Microsoft Azure, and Rackspace to automatically provision and configure new machines. Chef contains solutions for both small and large scale systems, with features and pricing for the respective ranges.
The user writes "recipes" that describe how Chef manages server applications and utilities (such as Apache HTTP Server, MySQL, or Hadoop) and how they are to be configured. These recipes (which can be grouped together as a "cookbook" for easier management) describe a series of resources that should be in a particular state: packages that should be installed, services that should be running, or files that should be written. These various resources can be configured to specific versions of software to run and can ensure that software is installed in the correct order based on dependencies. Chef makes sure each resource is properly configured and corrects any resources that are not in the desired state.
Chef can run in client/server mode, or in a standalone configuration named "chef-solo". In client/server mode, the Chef client sends various attributes about the node to the Chef server. The server uses Elasticsearch to index these attributes and provides an API for clients to query this information. Chef recipes can query these attributes and use the resulting data to help configure the node.
It is one of the major configuration management systems on Linux, along with CFEngine, Ansible and Puppet. More than a configuration management tool, Chef, along with Puppet and Ansible, is one of the industry's most notable Infrastructure as Code (IAC) tools.
Chef was created by Adam Jacob as a tool for his consulting company, whose business model was to build end-to-end server/deployment tools. Jacob showed Chef to Jesse Robbins, who saw its potential after running operations at Amazon. They founded a new company with Barry Steinglass, Nathen Haneysmith, and Joshua Timberman to turn Chef into a product.
The project was originally named "marionette", but the word was too long and cumbersome to type; the "recipe" format that the modules were prepared in led to the project being renamed "Chef".
On April 2, 2019, the company announced that all their products are now open source under the Apache 2.0 license.
Chef is supported on multiple platforms according to a supported platforms matrix for client and server products. Major platform support for clients includes AIX, RHEL/CentOS, FreeBSD, macOS, Solaris, Microsoft Windows and Ubuntu. Additional client platforms include Arch Linux, Debian and Fedora. Chef Server is supported on RHEL/CentOS, Oracle Linux, Oracle Cloud and Ubuntu.
- Comparison of open-source configuration management software
- Infrastructure as code (IaC)
- Infrastructure as Code Tools
- Ansible (software)
- DevOps toolchain
- Otter (software)
- Salt (software)
- "Announcing Chef". chef.io. 15 January 2009. Retrieved 2020-11-25.
- Tim Smith (2020-10-15). "Chef Infra Client 16.6.14 Released!". chef.io. Retrieved 2020-11-25.
- "Chef Server 14.0.65 Released!". chef.io. 2020-10-26. Retrieved 2020-11-25.
- Chef - Code Can | Chef, retrieved 2015-07-04
- Cade Metz (2011-10-26), "The Chef, the Puppet, and the Sexy IT Admin", Wired, retrieved 2015-07-04
- Alan Sharp-Paul (2013-03-04), Puppet vs. Chef - The Battle Wages On, retrieved 2015-07-04.
- Lueninghoener, Cory (2011-03-28), "Getting Started with Configuration Management" (PDF), ;login:, Usenix, 36 (2), retrieved 2015-07-04
- Keiser, John (14 November 2016). "Chef Provisioning: Infrastructure As Code".
- on YouTube
- Bryan McLellan (2013-02-04). "Chef 11 Released!". Chef (company). Retrieved 2015-07-04.
- Introducing the New Chef: 100% Open, Always - Chef Blog
- Corporation, Progress Software (2020-09-08). "Progress Announces Acquisition of Chef". GlobeNewswire News Room. Retrieved 2020-09-08.
- "Platforms — Chef Docs". chef.io. Retrieved 9 January 2017.
- "Facebook uses a seasoned Chef to keep servers simmering". pcadvisor.co.uk. Retrieved 6 January 2014.
- "ChefConf Readout: Chef to Enable the Full Continuous Deployment Pipeline". HPCloud.com. Archived from the original on 4 March 2014. Retrieved 22 March 2017.CS1 maint: bot: original URL status unknown (link)
- on YouTube
- "A Personal Message From the CTO". Chef Blog. 2019-09-20. Retrieved 2019-09-21.