Chef and Ansible Technical Essentials

Inquire now

Duration: 4 days – 28 hrs

Overview

The course is designed by DevOps Subject Matter Experts to help you understand Chef concepts and perform hands on Chef/Ansible deployment and operations.

 

Objectives

  • Understand the core concepts of Ansible Components  
  • Install & Configure Ansible Server on Centos7
  • Register Windows 2016 server – Ansible node
  • Register Ubuntu 16.04 server –Ansible node
  • Register Redhat Linux server – Ansible node
  • Write Playbook for all 3 ansible nodes to deploy web infrastructure
  • Playbook: user, group, file management
  • Ansible host groups
  • Understand the core concepts of chef Components  
  • Install & Configure chef Server   
  • Register Windows 2016 server – Ansible node
  • Register Ubuntu 18.04 server –Ansible node
  • Register Redhat Linux server – Ansible node
  • Write Playbook for all 3 ansible nodes to deploy web infrastructure
  • Playbook: user, group, file management
  • Chef environments


Audience

  • Developers
  • System administrators

 

Pre- requisites 

  • Linux/Unix administration skills are required.
  • Basic knowledge Windows systems, command line usage and system administration.

 

Course Content

Module 1: Ansible Big Picture (Theory)

  • What and why of Ansible
  • Ansible use cases and terminologies
  • Controller server
  • Nodes
  • Playbook
  • Ansible tower

 

Module 2: Ansible management server deployment (Hands on Lab by students)

  • Ansible– Deploy a centos7 server
  • Ssh to centos7 server
  • Install and configure Ansible
  • Create password less authentication keys
  • Define nodes to be managed by ansible control server

 

Module 2: Ansible Node server deployment ( Hands on Lab by students)

  • Deploy a RHEL server + 1 ubuntu 16.04 server
  • Ssh to centos7 server
  • Create password less authentication keys

 

Module 3: Ansible HTTPD Playbook for RHEL  node( Hands on Lab by students)

  • Create a httpd playbook directory
  • Write .yml file
  • write httpd package install code for RHEL server
  • write httpd service restart code
  • write template resource type to push index.html and log.png to node
  • write user and group creation code
  • Apply the playbook on centos node and validate if website is up

 

Module 4: Ansible  Apache2 Playbook for ubuntu node( Hands on Lab by students)

  • Create a apache2 playbook directory
  • Write .yml file
  • write apache2 package install code for ubuntu server
  • write apache2 service restart code
  • write template resource type to push index.html and log.png to node
  • write user and group creation code
  • Apply the playbook on ubuntu node and validate if website is up

 

Module 5: Ansible Windows 2016 server node deployment (Hands on Lab by students)

  • Deploy a windows 2016 server
  • Configure it as windows node under ansible management

 

Module 6:   Playbook for windows 2016 node (Hands on Lab by students)

  • Create a iis playbook directory
  • Write resource code to automate iis role on windows server
  • Apply the playbook on Windows node and validate if website is up

 

Ansible Playbooks – (hands on labs)

  • Conditionals Module
  • Until Module
  • Notify Module
  • Vault Module
  • Prompt – Interactive Playbook
  • When Module
  • The ‘MySQL_DB’ Module
  • The ‘MySQL_User’ Module
  • The ‘Pause’ Module
  • The ‘WaitFor’ Module
  • The ‘Command’ Module
  • The ‘Cron’ Module
  • The ‘Debug’ Module
  • The ‘Fetch’ Module
  • Agenda – Day 3 & 4 Chef automation

 

Module 1: Chef – Overview

  • Infrastructure-As-A-Code
  • Chef Components – 10000 feet overview
  • Chef Server
  • Hosted Chef Server
  • Chef Development kit
  • Chef Nodes
  • Recipes
  • Cookbooks
  • Chef Analytics
  • Chef Push job server

 

Module 2: Creating your own Chef server- Install and configure (Hands on lab by students)

  • Deploy Ubuntu 14.04 Server
  • SSH to Ubuntu Server
  • Install chef-server on Ubuntu 14.04 linux server
  • Install chef-manage on chef-server
  • Install and configure Chef-Reporting

 

Module 3: Working hosted chef server (Hands on lab by students)

  • Create a user account on hosted chef server
  • Create organization on hosted chef server
  • Download chef-starter kit

Module 4: Install and configure Chef-Workstation on ubuntu (Hands on lab by students)

  • Deploy a Ubuntu 14.04 server
  • Ssh to Ubuntu server
  • Install and configure Chef development kit
  • Configure knife to interact with your own Chef-server
  • Configure knife to interact with your Hosted Chef-server
  • Configure SSL based connection to chef server

 

Module 5: Install and configure Chef-Workstation on Windows 7 (Hands on lab by students)

  • Install and configure Chef development kit
  • Setup environment variables
  • Configure knife to interact with your own Chef-server
  • Configure knife to interact with your Hosted Chef-server
  • Configure SSL based connection to chef server
  • Module 6: Register a chef-Node Ubuntu server (Hands on lab by students)
  • Deploy a Ubuntu 14.04 server
  • Register the Ubuntu server under chef server management

 

Module 7: Create a cookbook for Ubuntu server (Hands on lab by students)

  • Create a new cookbook for apache2 installation on Ubuntu server
  • Write recipe for package install, service restart
  • Create templates to be used in recipe
  • Create index.html and log file to be used by recipe
  • Module 8: Creating dependency cookbook for Ubuntu server (Hands on lab by students)
  • Create a new cookbook for OS update installation on Ubuntu server
  • Write recipe for update of Operating system
  • Edit metadata.rb file to include dependency for apache2 cookbook

 

Module 9: Creating web role and using for Ubuntu server (Hands on lab by students)

  • Understand and create web role
  • Assign web role for chef node
  • Validate chef-role is getting assigned to Ubuntu server

 

Module 10: Create a cookbook for RHEL-7 server (Hands on lab by students)

  • Create a new cookbook for httpd installation on RHEL-7 server
  • Write recipe for package install, service restart
  • Create templates to be used in recipe
  • Create index.html and log file to be used by recipe

 

Module 11: Create a cookbook for Windows 2016 server (Hands on lab by students)

  • Create a new cookbook for iis installation on wind 2016 server
  • Apply recipe to windows node
  • Validate iis role is installed on windows server

 

Module 12: Chef Environments (Hands on lab by students)

  • Create a test environment
  • Create a Production environment
  • Assign nodes different environment and apply playbooks

Inquire now

Best selling courses

CLOUD COMPUTING

Terraform

Terraform is a configuration orchestration tool for building and managing infrastructure on cloud & data centers. The course is instructor-led, live training (onsite or remote), and is designed for Engineers with little or no previous experience managing infrastructure. The course talks about in-depth Terraform syntax and techniques used to automate the setup and deployment of infrastructure.

Duration  3 days – 21 hrs    Overview    The ITIL Leadership – Digital and IT Strategy training course is designed for senior IT professionals, managers, and leaders who seek to navigate the complex landscape of digital transformation and IT strategy. This course focuses on providing strategic insights, leadership skills, and practical approaches for aligning...

PROGRAMMING / CODING

Spring Architecture and Design

Spring Cloud is a platform for building Java-based distributed systems and microservices. Building complex enterprise applications is challenging. Any change made to a part of the systems could trigger the need for changing the design of the entire system. By the end of this training, participants will have a solid understanding of Service-Oriented Architecture (SOA) and Microservice Architecture as well practical experience using Spring Cloud and related Spring technologies for rapidly developing their own cloud-scale, cloud-ready microservices.

BUSINESS INTELLIGENCE

Dax

Duration 5 days – 35 hrs   Overview The DAX (Data Analysis Expressions) Training Course is designed to provide participants with a comprehensive understanding of DAX, the powerful formula language used in Power BI, Excel, and SQL Server Analysis Services. This course covers the essential concepts, functions, and techniques required to create advanced calculations and...

OPERATING SYSTEMS

Linux Fundamentals

Linux Fundamental provides students a thorough introduction to Linux™ for those who are new to the Linux environment. Delegates will learn how to manage files and directories, utilize the vi editor, work with Linux security mechanisms to protect files and programs, work with the Linux shell to control the flow and processing of data through pipelines, design and write shell programs of moderate complexity, and manage multiple concurrent processes in order to achieve higher utilization of Linux. They will learn how to perform basic operations on the system and how quickly to solve problem.

PROGRAMMING / CODING

Google Apps Script

The Google Apps Script training course give you a detailed knowledge on coding like Automating data calculation, Fetching and sending data from third party software like Trello & Salesforce, connecting different sheets, Documents and other tools, Setting a trigger based on an event. This course is ideal for someone who use google sheets and have no coding background.

This workshop teaches the participants how to design and develop server side applications using the event-driven, non-blocking model framework Node.js. This program inducts the participant in some of the advanced concepts of the JavaScript language so that the participant is well equipped to build end-to-end application using JavaScript.

Duration: 3 days – 21 hrs   Overview This training course is designed to provide participants with a comprehensive understanding of Portfolio Management and Contract Management, focusing on best practices, tools, and techniques. The course covers the strategic alignment of projects within a portfolio, effective management of contracts, risk management, and optimization of resources to...

// BG EARTH WHEN NOT PLAYING

We use cookies on our website to personalize your experience by storing your preferences and recognizing repeat visits. By clicking “Accept”, you agree to the use of all cookies. You can also select “Cookie Settings” to adjust your preferences and provide more specific consent. Cookie Policy