→ This structured lab covers Chef basics, cookbooks, recipes, and Apache deployment while keeping the commands simple and executable
Launch an EC2 Instance on AWS with a Linux OS.
Access the Instance using PuTTY:
login as: ec2-user
sudo su
yum update -y
Download and Install Chef Workstation:
Go to www.chef.io → Downloads → Chef Workstation.
Enter name, email, and company → Download starts automatically.
Copy the URL of the downloaded file.
Install on Linux:
wget <url>
ls # Verify downloaded package
yum install <chef-workstation-package> -y
which chef # Check installation path
chef --version # Verify installation
A Cookbook is a collection of recipes and additional files used to automate infrastructure configuration.
.gitignore
, excludes files from uploads.