Chef Fundamentals Training Series Module 2: Workstation Setup
Chef for beginners module 1
Transcript of Chef for beginners module 1
![Page 1: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/1.jpg)
Chef for BeginnersIntroduction
Slide 1 of 22
![Page 3: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/3.jpg)
Introduce YourselfNameCurrent job roleExperience with Chef and/or config managementFavorite Text Editor
Slide 3 of 22
![Page 4: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/4.jpg)
Expectations
Slide 4 of 22
![Page 5: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/5.jpg)
You will leave this workshop with a basicunderstanding of Chef's core components,architecture, commonly used tools, and basictroubleshooting methods.
Expectations
Slide 5 of 22
![Page 6: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/6.jpg)
You will leave this workshop with a basic
understanding of Chef's core components,
architecture, commonly used tools, and basic
troubleshooting methods.
You bring with you your own domain expertise and
problems. Chef is a framework for solving those
problems. Our job is to teach you how to express
solutions to your problems with Chef.
Expectations
Slide 6 of 22
![Page 7: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/7.jpg)
After completing this workshop, you should be able to:
Use Chef Resources to define the state of your systemWrite and use Chef recipes and cookbooksAutomate testing of cookbooks
Workshop Objectives
Slide 7 of 22
![Page 8: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/8.jpg)
AgendaGetting a WorkstationUsing ResourcesBuilding CookbooksTesting with Test Kitchen
Slide 8 of 22
![Page 9: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/9.jpg)
What can Chef do?
Slide 9 of 22
![Page 10: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/10.jpg)
Chef can...
Slide 10 of 22
![Page 11: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/11.jpg)
... automate how you build, deploy, and manage yourinfrastructure.
Chef can...
Slide 11 of 22
![Page 12: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/12.jpg)
... automate how you build, deploy, and manage yourinfrastructure.
... integrate with cloud-based platforms such as Azureand Amazon Elastic Compute Cloud to automaticallyprovision and configure new machines.
Chef can...
Slide 12 of 22
![Page 13: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/13.jpg)
So what is Chef ?
Slide 13 of 22
![Page 14: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/14.jpg)
Chef is...
Slide 14 of 22
![Page 15: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/15.jpg)
... a large set of tools that are able to be used onmultiple platforms and in numerous configurations.
Chef is...
Slide 15 of 22
![Page 16: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/16.jpg)
... a large set of tools that are able to be used onmultiple platforms and in numerous configurations.
... like learning a language. You will reach fluencyvery fast but it will take practice until you becomecomfortable.
Chef is...
Slide 16 of 22
![Page 17: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/17.jpg)
... a large set of tools that are able to be used onmultiple platforms and in numerous configurations.
... like learning a language. You will reach fluencyvery fast but it will take practice until you becomecomfortable.
A great way to learn Chef is to use Chef
Chef is...
Slide 17 of 22
![Page 18: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/18.jpg)
In this workshop you will use a pre-built virtualworkstation with all the necessary tools alreadyinstalled so you can start using Chef right away.
Chef - Lab System Architecture
Slide 18 of 22
![Page 19: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/19.jpg)
SSH Into the Remote Workstation
$ ssh <ipaddress> -l chef
Slide 19 of 22
![Page 20: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/20.jpg)
SSH Into the Remote Workstation
$ ssh <ipaddress> -l chef
or
$ ssh chef@<ipaddress>
Slide 20 of 22
![Page 21: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/21.jpg)
Getting a WorkstationThe chef user has been granted password-less sudoers access.
The following software is installed on the remote workstation:
Chef DKDockerkitchen-docker gem
Slide 21 of 22
![Page 22: Chef for beginners module 1](https://reader031.fdocuments.us/reader031/viewer/2022030316/5871c22a1a28ab55058b6d07/html5/thumbnails/22.jpg)
On to Module 2
Slide 22 of 22