CloudAcademy

Using Chef Solo on Linux for Azure

Lab Steps

keyboard_tab
lock
Logging into the Microsoft Azure portal
lock
Connecting to the Lab Provisioned Virtual Machine
lock
Setting Up Chef Solo on Linux
lock
Running Your First Recipes with Chef Solo
lock
Staying Organized with Cookbook Files
lock
Notifying Chef Resources of Changes
lock
Using Attributes and Templates in Your Cookbooks
lock
Defining Chef Node Functions with Roles

Ready for the real environment experience?

DifficultyBeginner
Duration1h 30m
Students34

Description

Lab Overview

The popular configuration management tool Chef is typically used in a client-server architecture where clients check a centralized server for configuration updates. Chef Solo brings most of the benefits of Chef to a single server. All of the concepts of Chef apply to Chef Solo: cookbooks, recipes, attributes, templates, roles, etc. In this Lab, you will gain experience with each of those concepts as you configure a Linux virtual machine in Azure using Chef Solo.

Lab Objectives

Upon completion of this lab you will be able to:

  • Configure a Chef node in Azure using Chef Solo
  • Write Chef cookbooks and recipes
  • Use Chef attributes and templates to generalize your cookbooks
  • Create Chef roles to define Chef node functions 

Lab Prerequisites

You should be familiar with the following:

  • Chef concepts
  • Working on the command line in Linux
  • Ruby programming basics are beneficial, but not required

Lab Environment

Before completing the lab instructions the environment will look as follows:

After completing the lab instructions the environment should look similar to:

About the Author

Students6960
Labs59
Courses3
Learning paths2

Logan has been involved in software development and research for over eleven years, including six years in the cloud. He is an AWS Certified DevOps Engineer - Professional, MCSE: Cloud Platform and Infrastructure, and Certified Kubernetes Administrator (CKA). He earned his Ph.D. studying design automation and enjoys all things tech.