Configuration Management

Use Chef to create a code-based model for your infrastructure. Consistently deploy servers and scale applications. Align resources with specific policies and business goals. Save time by automating manual tasks.

Get Chef Request a Demo

How Chef Performs Configuration Management

Chef client runs on all of the nodes (servers) of your network that are managed by your Chef server. As it runs, Chef client queries Chef server for the latest set of recipes (configuration instructions) that apply to the current node. The Chef server determines the applicable recipes based on the node's role, (e.g. “web server” or “load balancer”). Chef client executes the applicable recipes in the same order every time, which simplifies how recipes are written and provides consistent, repeatable results.

Chef client periodically runs a node's recipes so that the node incorporates the latest configuration information from Chef server. Recipes only make configuration changes when the node is out of spec, so it's safe to run them repeatedly. For example, a recipe that installs a particular service on a node will only do this if the service doesn't already exist or if it's out of date. Recipes either do nothing or bring the network closer to the desired configuration state. In other words, Chef uses a “convergent” model of configuration. As changes propagate through the nodes, the network as a whole converges to the desired configuration state. By default, the Chef client pulls configuration updates from the Chef server every 30 minutes.

To support system integration, Chef makes network-wide configuration searchable and makes search results available to the recipes. Combining search with periodic configuration updates is very powerful. For example, since configuration recipes run periodically, load balancers will automatically notice new web servers and begin to route requests to them. Here's an example.

A new JBoss app server has just come online. The next time the Chef client runs on the other nodes, the recipes notice that a new app server node has been added and update their lists of IP addresses. The new server becomes integrated into the environment.

Adoption Path

If you've decided to use Chef, you might be wondering how most companies go about getting started. Here's one way.

Chef provides tremendous visibility about what's running on your network. It includes a powerful utility known as Ohai that harvests a node's configuration data and reports it back to the Chef server. The Chef server aggregates and indexes the information. Just knowing what's on your network is a huge leap forward. You can search against all of that information. You can identify any anomalies and unexpected configurations. You can also add your own searchable attributes to Chef. There are countless ways to benefit from Chef's integrated, holistic view of your infrastructure.

All it takes to get to this point is to create a Chef server. We make it easy for you be offering a free trial of Enterprise Chef, which includes the option of having Chef host and maintain your Chef server for you.

After you begin to get insight into your network, it's time to harvest the low-hanging fruit. Many system administrators have routine tasks that only take a few minutes but which must be done frequently. Simple tasks are the easiest to automate. If you spend an hour automating a 5-minute task that you do 100 times per week, you've paid for your time investment in the first day.

Once you've become accustomed to using Chef's insight into your network and have automated some of the easier, routine tasks, it's time to scale up to more ambitious automation. Here's where the DevOps philosophy starts coming into play. You can eventually transform your way of working to include continuous delivery, where configuration code and application code are treated similarly in an Agile development process.

There's a large and active community of Chef users who can help. In addition, Chef is there every step of the way with professional services as well as standard and premium support for Chef. Your success is our success.

Chef Can Help

Whether you're automating an on-premises, cloud or hybrid solution, or if you're starting from scratch, Chef can help you create and execute an effective plan.

Manage Complex Infrastructure at Any Scale

Consistently build and rebuild infrastructure on demand as needed. Scale up or down by rapidly provisioning and de-provisioning servers. Take advantage of high-availability clustering.

"Chef provided an automation solution flexible enough to bend to our scale dynamics without requiring us to change our workflow."
Phil Dibowitz
Production Engineer, Facebook

Build a Repeatable Model

Create a code-based blueprint to consistently manage your infrastructure and its related interdependencies. Build and rebuild in minutes or hours, rather than weeks or months. Streamline workflows.

"Chef has made it easy to configure once, then replicate many times over, saving us significant amounts of time."
Kemal Badur
Research Computing and Engineering Coordinator, College of Liberal Arts, University if Minnesota

Gain Visibility Across Your Systems

See comprehensive resource information and search across your entire infrastructure. Provide alerts when systems are out of policy and identify threats before they impact operations.

"With a record of everything done in our infrastructure, Chef makes identifying issues or averting trouble much easier and less time-consuming, so we can focus on our products.”
Gabor Veszi
Infrastructure Lead, Prezi

Save Time

Eliminate the time spent on manual and mundane tasks. Take advantage of over 800 pre-build cookbooks and integration with all major public cloud providers.

"Chef's biggest advantage is the amount of time we save in setting up virtual servers and other tasks."
Leandro Reox
Senior Infrastructure Engineer and Cloud Architect