→ This structured lab covers Chef basics, cookbooks, recipes, and Apache deployment while keeping the commands simple and executable


Hands-on Lab ⇒

1. Setup AWS Linux Machine

  1. Launch an EC2 Instance on AWS with a Linux OS.

  2. Access the Instance using PuTTY:

    login as: ec2-user
    sudo su
    yum update -y
    
  3. Download and Install Chef Workstation:

2. Understanding Cookbooks

A Cookbook is a collection of recipes and additional files used to automate infrastructure configuration.

Inside a Cookbook:

3. Creating and Using a Cookbook