Chef for beginners module 1
Transcript of Chef for beginners module 1
Chef for BeginnersIntroduction
Slide 1 of 22
Introduce YourselfNameCurrent job roleExperience with Chef and/or config managementFavorite Text Editor
Slide 3 of 22
Expectations
Slide 4 of 22
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
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
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
AgendaGetting a WorkstationUsing ResourcesBuilding CookbooksTesting with Test Kitchen
Slide 8 of 22
What can Chef do?
Slide 9 of 22
Chef can...
Slide 10 of 22
... automate how you build, deploy, and manage yourinfrastructure.
Chef can...
Slide 11 of 22
... 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
So what is Chef ?
Slide 13 of 22
Chef is...
Slide 14 of 22
... a large set of tools that are able to be used onmultiple platforms and in numerous configurations.
Chef is...
Slide 15 of 22
... 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
... 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
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
SSH Into the Remote Workstation
$ ssh <ipaddress> -l chef
Slide 19 of 22
SSH Into the Remote Workstation
$ ssh <ipaddress> -l chef
or
$ ssh chef@<ipaddress>
Slide 20 of 22
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
On to Module 2
Slide 22 of 22