Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Configure Chef Infra

In this lab, you will be required to configure three servers for use with Chef Infra. You are supplied with three servers, a server with Chef Workstation pre-installed, a server with Chef InfraServer pre-installed, and a server without Chef installed. Your task is to configure Chef Workstation for use with Chef InfraServer. Then using Chef Workstation to bootstrap the un-configured server.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 2h 0m
Published
Clock icon Aug 13, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Log into the three provided servers.

    Log in to the servers as cloud_user with the provided password to ensure you can login. One server has Chef Workstation installed. One Server has Chef InfraServer installed and configured. The last server does not yet have chef installed.

    You can tell from the server names, which server is to be used for which task.

    NOTE: It may take several minutes after the Lab has started, before the servers have completed setup. Once the configuration has been completed on EACH server, a file is generated called SERVER-READY

    Also, the Chef Workstation has a script inside the .bashrc that needs to run once everything is ready. if the command which ruby fails, then log out and log back into that server.

  2. Challenge

    Use Chef or Linux Commands to Configure Chef Workstation

    Chef Workstation needs certain things from Chef InfraServer before it can be confirmed to communicate with it.

    These files are located on the Chef InfraServer under the cloud_user home folder.

    You will need to complete the required tasks before you can perform the last task in this lab.

    You will need to use Chef commands such as, 'knife' to test whether you have a working connection to the Chef InfraServer.

  3. Challenge

    Bootstrap the Server Named Infraclient

    Using Chef commands, bootstrap the unconfigured server named Infraclient, so it joins as a client to the Chef InfraServer.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans