- Lab
- A Cloud Guru
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.
Path Info
Table of Contents
-
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.
-
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.
-
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.
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.