
Meet Gourav Shah, a leading devops coach, corporate trainer, and author of Ansible Playbook Essentials, who has trained professionals at Cisco, Walmart Labs, Visa, and other top companies.
Explore scripts vs infrastructure as code by contrasting procedural scripts with declarative end-state blueprints; define the desired state using tools like Chef, Puppet, or Ansible, not procedures.
Discover that infrastructure as code goes beyond chef and puppet by embracing any declarative tool that defines infrastructure state and automates provisioning across cloud and local environments.
Explore the fundamental building blocks of Chef, resources and recipes, and learn their syntax, then compare multiple approaches to apply recipes on a single-node standalone machine with the Chef client.
Master the syntax check, dry run, and applying recipes with Chef, using Ruby-based syntax checks, Chef client in local mode, and an in-memory server to validate changes before deployment.
Use the execute resource to run any command or script, with conditionals and create options to ensure idempotence. Manage notifications and selective execution to avoid repeated downloads or actions.
Learn to create Chef recipes to install Tomcat and its dependencies, using file-based and generated approaches, with the EPEL repository setup. Verify through Kitchen converge, service control, and web access.
Learn to set up a chef server and workstation using the starter kit and knife for authentication, compare hosted versus on-premise servers, and test with kitchen and docker locally.
Explore node objects and data attributes powering Chef cookbooks and templates. See how Ohai provides system data, attribute precedence, and environments.
Learn to define and use user defined attributes in data driven cookbooks, set default values, and manage precedence to override properties from environment or role in recipes and templates.
Convert a recipe into a cookbook and apply platform specific configuration differences using attributes and conditionals, with knife, kitchen converge, and Ohai platform family to tailor service names.
Learn to template motd configurations with chef by creating a single template that prints per-node details (hostname, IP address, memory, organization) using ohai data and node attributes.
Infrastructure as a Code is one of the foundations of DevOps Automation toolchain. Chef is at the forefront of the IaaC revolutions and was the first tool amongst the four main configuration management tools including Puppet, Ansible and Saltstack .Chef is also the fastest configuration management system and provides a simple DSL (Domain Specific Language) to define the state of resources and does the heavy lifting of managing underlying platform specific operations by itself, providing users higher level of abstraction than scripts do.
The use of Chef is no more limited to servers, but has also expanded to managing all type of devices including routers, embedded systems, storage etc. With more and more organisations adopting to DevOps practices, knowledge on IaaC and tools such as Chef is essential for today's generation of DevOps professionals. This skill would also help one to advance their careers, specially for the operations, systems, networks and DevOps engineers.
This course is one of the most comprehensive programs to master Chef. It starts from most basic concepts related to Infrastructure as a Code, Convergent Infrastructures, Code and Data separation, Idempotence. It then helps you dive into the world of Chef by understanding the basics of the languages such as resources/providers, manifests, modules and then delves deeper into creating dynamic code with parameters, templates, defined types etc. Once equipped with the basics, it unlocks Chef's full potential with advanced topics such as environments, hiera, r10k, puppet enterprise, rolls and design patterns etc. This course takes from from zero to Chef master in two weeks.