Using the Chef Server API

Hands-On Lab

 

Photo of Keith Thompson

Keith Thompson

DevOps Training Architect II in Content

Length

01:30:00

Difficulty

Intermediate

The Chef Server stores all of the important information regarding our infrastructure, and occasionally we need to use that information from a computer other than our workstations or individual nodes. In these situations, we're able to leverage the Chef Server REST API for making authenticated requests to read and modify the data within the Chef Server. This can be useful for when other web applications are analyzing our cookbooks, or for something like a Lambda function that we have interacting with our data periodically. In this learning activity, we'll utilize the Chef gem to interact with the Chef Server REST API, from within a small Ruby web application. By the time we're finished this activity, you should feel more comfortable leveraging the Chef Server REST API to build other tools that interact with Chef Server data.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.