Skip to main content

Configuring Chef Nodes Using Roles

Hands-On Lab

 

Photo of

Training Architect

Length

01:30:00

Difficulty

Beginner

As more configuration is written that needs to be shared with multiple nodes, one of the ways to prevent duplication is by using Chef roles. In this activity, the student will create an NGINX cookbook and a role that can be used on new nodes that are designated as web servers. This role will install NGINX and run the service for now but could be expanded as more requirements are placed on web servers within the organization. To complete this live environment the student will need to demonstrate the ability to author a cookbook, define a role, and manage a node's run-list.

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.