CloudAcademy

Using Chef Solo on Windows for AWS

Lab Steps

keyboard_tab
lock
Logging in to the Amazon Web Services Console
lock
Connecting to the Windows Instance
lock
Setting Up Chef Solo on Windows
lock
Running Your First Chef Solo Recipes on Windows
lock
Preserving Chef Resource Idempotence with Guards
lock
Managing Chef Cookbook Dependencies with Berkshelf
lock
Configuring Microsoft's IIS Web Server with Chef Solo

Ready for the real environment experience?

DifficultyBeginner
Duration1h 20m
Students48

Description

Lab Overview

Chef is a popular configuration management tool. It has built-in support for Windows and a thriving community providing convenient cookbooks for managing Windows configurations. This Lab will get you up and running with Chef Solo and help you configure a local Windows host on AWS using Chef. You will then explore Chef cookbook dependencies and the Chocolatey Windows package manager. Finally, you will configure the host to serve an Internet Information Services (IIS) website.

Lab Objectives

Upon completion of this lab you will be able to:

  • Install and set up Chef Solo on an AWS Windows VM
  • Run Chef recipes with Windows-specific resources
  • Use guards to enforce Chef resource idempotence
  • Manage Chef cookbook dependencies with Berkshelf
  • Configure Microsoft's IIS web server with Chef Solo 

Lab Prerequisites

You should be familiar with the following:

  • Chef concepts
  • Working at the command line
  • Windows and PowerShell experience 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

Students10116
Labs67
Courses6
Learning paths3

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, Google Cloud Certified Associate Cloud Engineer, and Certified Kubernetes Administrator (CKA). He earned his Ph.D. studying design automation and enjoys all things tech.